From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 12:01:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BD4716A4CF for ; Tue, 30 Mar 2004 12:01:29 -0800 (PST) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C7F243D2D for ; Tue, 30 Mar 2004 12:01:28 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.120.219]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040330200127.RZMH18295.out012.verizon.net@mac.com>; Tue, 30 Mar 2004 14:01:27 -0600 Message-ID: <4069D217.60408@mac.com> Date: Tue, 30 Mar 2004 15:01:27 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Traver References: <6.0.1.1.0.20040330112609.01fa3ec0@mail1.simplenet.com> In-Reply-To: <6.0.1.1.0.20040330112609.01fa3ec0@mail1.simplenet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [68.161.120.219] at Tue, 30 Mar 2004 14:01:27 -0600 cc: freebsd-questions@freebsd.org Subject: Re: shared memory release... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 20:01:29 -0000 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