From owner-freebsd-questions Wed Feb 26 17:11:29 2003 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 6D56737B401 for ; Wed, 26 Feb 2003 17:11:28 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56DDD43FBF for ; Wed, 26 Feb 2003 17:11:27 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from ra.dweebsoft.com (localhost [127.0.0.1]) by ra.dweebsoft.com (8.12.6/8.12.6) with ESMTP id h1R1BRCF020062; Wed, 26 Feb 2003 17:11:27 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: (from http@localhost) by ra.dweebsoft.com (8.12.6/8.12.3/Submit) id h1R1BRai020061; Wed, 26 Feb 2003 17:11:27 -0800 (PST) X-Authentication-Warning: ra.dweebsoft.com: http set sender to daxbert_news@dweebsoft.com using -f Received: from 64.81.58.36 ( [64.81.58.36]) as user daxbert@localhost by ra.dweebsoft.com with HTTP; Wed, 26 Feb 2003 17:11:26 -0800 Message-ID: <1046308286.3e5d65bee9298@ra.dweebsoft.com> Date: Wed, 26 Feb 2003 17:11:26 -0800 From: Daxbert To: Murat Cc: "" Subject: Re: I need big Help! (Not yet another newbie question!) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 64.81.58.36 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Murat : > I'm using freebsd 4.7 release with IBM dedicated server (P3-1133, 512 ram, > 36 gigs hdd etc) > > Everything was normal at this moment. > When I try to upgrade my apache, with compiling PHP, Php-Accelerator, I > noticed my Apache is using 150Mb ram from now on! > Like this (a line from "top" command) > 38016 nobody 2 0 145M 8308K sbwait 0:04 0.00% 0.00% > httpd > > it should use 10-12 Mb usually, and increase when child proccess number > increase. > But Apache start with 145-150Mb ram usage, this stays exactly like that in > top command > But when proccess increase, my swap ram getting filled, and server > slowdowns > a lot Can you show us the output of following commands both before and after starting apache: vmstat swapinfo top I ask because, I too am running apache and see the same large memory consumption reported by SIZE (in top). However, it's *not* caused me any problems, and even with 60 processes all reporting 145MB (145MB x 60 = 8.7GB) I use no swap. --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message