Date: Wed, 24 Aug 2005 00:30:40 -0700 From: Lei Sun <lei.sun@gmail.com> To: questions@freebsd.org Subject: oversized httpd process? Message-ID: <d396fddf05082400304744960f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d396fddf05082400304744960f>