oversized httpd process?
Lei Sun
lei.sun at gmail.com
Wed Aug 24 07:30:42 GMT 2005
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 configuration
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
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% idle
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:15:25
32 processes: 1 running, 31 sleeping
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
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
More information about the freebsd-questions
mailing list