From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 13:11:16 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 9575516A4CE for ; Tue, 30 Mar 2004 13:11:16 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25C3C43D48 for ; Tue, 30 Mar 2004 13:11:16 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2ULBFHK056396; Tue, 30 Mar 2004 15:11:15 -0600 (CST) (envelope-from dan) Date: Tue, 30 Mar 2004 15:11:15 -0600 From: Dan Nelson To: Tim Traver Message-ID: <20040330211114.GG19463@dan.emsphone.com> References: <6.0.1.1.0.20040330113650.01f55ec0@mail1.simplenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.1.1.0.20040330113650.01f55ec0@mail1.simplenet.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: shmem 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 21:11:16 -0000 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