From owner-freebsd-questions@FreeBSD.ORG Wed Aug 24 07:30:42 2005 Return-Path: X-Original-To: questions@freebsd.org 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 0B21016A41F for ; Wed, 24 Aug 2005 07:30:42 +0000 (GMT) (envelope-from lei.sun@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99DFA43D53 for ; Wed, 24 Aug 2005 07:30:41 +0000 (GMT) (envelope-from lei.sun@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so26170wxd for ; Wed, 24 Aug 2005 00:30:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HmW3IncVvoH3qqyyle2jhv3nMo4GlApGAxzSvZRoU/wpcBgE47qo8oIcal2spLVgZXK9ZmjxtwDeOgCFzR7z/d587USlsgc1s135CcNzyns5XX30VXmw0+1LQrL79rTK6i5lM+LXDkiEtA7bxZmnWcjmCK687C4DpihtowKqfM8= Received: by 10.70.13.12 with SMTP id 12mr4333wxm; Wed, 24 Aug 2005 00:30:40 -0700 (PDT) Received: by 10.70.43.4 with HTTP; Wed, 24 Aug 2005 00:30:40 -0700 (PDT) Message-ID: Date: Wed, 24 Aug 2005 00:30:40 -0700 From: Lei Sun To: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: oversized httpd process? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 07:30:42 -0000 Hi, I saw many posts from google regarding to this question, but there were no definite answers.. some say, it's mod_ssl, some say it's mod_perl, some say it is mm. But my case, it just doesn't make much sence to me at all. Here are the 2 test machines that I have, both have the exact same configur= ation A is a lot more powerful than B machine A, p4 3.0 2GB Mem machine B, p2 450Mhz 128MB Mem Both have mod_php, mod_ssl, and no traffic has been sent. Looking at the httpd sizes, I start to wonder ... How come Machine B only uses around 15Mb per httpd, while machine A takes 155Mb, and while they have exactly the same software, same configuration. Can somebody please tell me why this is happening? What did I do wrong? machine A: last pid: 9085; load averages: 0.00, 0.00, 0.00 =20 up 0+05:52:01 00:13:28 33 processes: 1 running, 32 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% id= le Mem: 48M Active, 84M Inact, 92M Wired, 8K Cache, 112M Buf, 1779M Free Swap: 4071M Total, 4071M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 440 root 96 0 155M 17412K select 0 0:02 0.00% 0.00% httpd 9078 www 96 0 155M 17412K select 0 0:00 0.00% 0.00% httpd 9079 www 20 0 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9080 www 20 0 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9081 www 20 0 155M 17412K lockf 0 0:00 0.00% 0.00% httpd 9082 www 20 0 155M 17412K lockf 1 0:00 0.00% 0.00% httpd machine B: last pid: 19765; load averages: 0.00, 0.00, 0.00 up 80+00:30:59 00:1= 5:25 32 processes: 1 running, 31 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% id= le Mem: 19M Active, 46M Inact, 30M Wired, 5100K Cache, 22M Buf, 17M Free Swap: 231M Total, 21M Used, 210M Free, 9% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 50855 www 20 0 16348K 12K lockf 0:00 0.00% 0.00% httpd 50856 www 20 0 16280K 12K lockf 0:00 0.00% 0.00% httpd 50854 www 20 0 15272K 12K lockf 0:01 0.00% 0.00% httpd 50853 www 20 0 14972K 12K lockf 0:01 0.00% 0.00% httpd 50852 www 20 0 12480K 12K lockf 0:00 0.00% 0.00% httpd 50858 www 20 0 12352K 12K lockf 0:00 0.00% 0.00% httpd 50857 www 96 0 12352K 12K select 0:00 0.00% 0.00% httpd 50851 root 96 0 12336K 1560K select 0:59 0.00% 0.00% httpd