From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 16:25:46 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C041916A4CE for ; Thu, 14 Apr 2005 16:25:46 +0000 (GMT) Received: from alogis.com (firewall2.alogis.com [62.8.223.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D4C843D55 for ; Thu, 14 Apr 2005 16:25:45 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.1/8.13.1) with ESMTP id j3EGPhoB073502; Thu, 14 Apr 2005 18:25:43 +0200 (CEST) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.1/8.13.1/Submit) id j3EGPhmY073501; Thu, 14 Apr 2005 18:25:43 +0200 (CEST) (envelope-from hk) Date: Thu, 14 Apr 2005 18:25:43 +0200 From: Holger Kipp To: stable@freebsd.org Message-ID: <20050414162543.GA73129@intserv.int1.b.intern> References: <20050414100301.GA64468@intserv.int1.b.intern> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050414100301.GA64468@intserv.int1.b.intern> User-Agent: Mutt/1.4.2.1i Subject: Strange Shared Memory values: Apache::SizeLimit on 5.3-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 16:25:46 -0000 Hello, I am using Apache::SizeLimit and have the folowing problem: Process exits with the correct SIZE-Limit, but the SHARE-Size I get look a bit strange. As a result of this, checking for MAX_UNSHARED seem not to work. here a few results: exiting at SIZE=60004 KB SHARE=11733744 KB REQUESTS=2058 LIFETIME=55408 exiting at SIZE=60036 KB SHARE=11688304 KB REQUESTS=2043 LIFETIME=55154 exiting at SIZE=76088 KB SHARE=1009904 KB REQUESTS=166 LIFETIME=1988 exiting at SIZE=60084 KB SHARE=9565628 KB REQUESTS=1686 LIFETIME=54152 Anyone has an idea why SHARE goes up to 11GB or more? Is this a badly written application, or could this also be BSD::Resource returning wrong values here? Unfortunately I cannot check the application itself... top gives eg the following values for memory useage: 61828 57556 (Size, Res) This is on a 2GB HP ProLiant Dual Xeon System with FreeBSD 5.3-STABLE. Any help and/or explanation welcome! Especially: how can a single process have that much shared memory with a total of 350-400MB physical memory in use. Regards, Holger Kipp