Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 15:11:15 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Tim Traver <tt-list@simplenet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: shmem release
Message-ID:  <20040330211114.GG19463@dan.emsphone.com>
In-Reply-To: <6.0.1.1.0.20040330113650.01f55ec0@mail1.simplenet.com>
References:  <6.0.1.1.0.20040330113650.01f55ec0@mail1.simplenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 30), Tim Traver said:
> Hi all,
> 
> 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.

ipcs -m will list your current shm segments, and ipcrm will let you
delete the ones not in use anymore.  SYSV shared memory usage is
limited by the kern.ipc.shmmax sysctl, I believe.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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