Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 09:24:03 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Frank Mayhar <frank@exit.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Memory leak in memfs?
Message-ID:  <34C6F413.5B5B@barcode.co.il>
References:  <199801200509.VAA09628@exit.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Mayhar wrote:
> 
> I note my mount_mfs has several times seemed to grow without bound, viz:
> 
>  1521 root     10   0 98780K  2016K mfsidl   0:17  0.00%  0.00% mount_mfs
> 
> But the /tmp that it mounts is using less than a meg:
> 
> [202]~ >df /tmp
> Filesystem  1024-blocks     Used    Avail Capacity  Mounted on
> mfs:1521          95359      890    86841     1%    /tmp
> 
> This is after an uptime of around 5 1/2 days.  Is there a leak in
> mount_mfs?  Or am I doing something wrong?
> --
> Frank Mayhar frank@exit.com

Seems alright to me. You have the process mapping an address space of
98780K, but using 2016K of it (actually, have 2016K of it in your RAM at
the time). This seems OK to me. Note that it only takes space for memory
it actually touches, but allocates enough for the whole size of the
filesystem which is: 95359K in your case.

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34C6F413.5B5B>