Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 15:01:27 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Tim Traver <tt@simplenet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: shared memory release...
Message-ID:  <4069D217.60408@mac.com>
In-Reply-To: <6.0.1.1.0.20040330112609.01fa3ec0@mail1.simplenet.com>
References:  <6.0.1.1.0.20040330112609.01fa3ec0@mail1.simplenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Traver wrote:
> Ok, I am running a 4.7 FreeBSD box that is a web server running apache.
> 
> It looks like some module that I have is leaking memory, and eventually, 
> apache crashes on restarts becuase of this error :
> 
> shmget() failed:  No space left on device
> 
> which means it can't get any more memory, which I understand.

SysV shared memory is a limited resource which has tunables you need to set or 
adjust in your kernel config file.  It's not the same as physical RAM.

> When I look at the top list, it shows me something like this :
> 
> Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free

top is measuring something else, here.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4069D217.60408>