lots of apache "httpsd" processes in "sbwait"

Anthony Atkielski atkielski.anthony at wanadoo.fr
Thu Jan 27 21:11:14 PST 2005


Tom Vilot writes:

TV> Speaking of httpd. .... don't these seem awfully large?
TV>
TV>  PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
TV>  7410 www         2   0   117M 28488K sbwait  33:11  0.00%  0.00% httpd
TV>  7411 www        18   0   119M 28172K lockf   33:05  0.00%  0.00% httpd
TV>  7409 www         2   0   117M 28888K sbwait  33:01  0.00%  0.00% httpd
TV>  7413 www         2   0   116M 27452K select  32:46  0.00%  0.00% httpd
TV>  7408 www         2   0   117M 25940K sbwait  32:38  0.00%  0.00% httpd
TV>  7602 www        18   0   118M 26972K lockf   32:12  0.00%  0.00% httpd
TV>  7407 www         2   0   117M 27160K sbwait  32:09  0.00%  0.00% httpd
TV>  7760 www         2   0   119M 30168K sbwait  32:04  0.00%  0.00% httpd
TV>  7412 www         2   0   120M 28712K sbwait  31:59  0.00%  0.00% httpd
TV>  7414 www        18   0   119M 27464K lockf   31:33  0.00%  0.00% httpd

Compared to

59154 web         4    0  6164K  3848K accept 0   0:00  0.00%  0.00% httpd
60662 web         4    0  6152K  3800K accept 1   0:00  0.00%  0.00% httpd
60360 web         4    0  6176K  3828K accept 1   0:00  0.00%  0.00% httpd
61032 web         4    0  6172K  3840K accept 1   0:00  0.00%  0.00% httpd
61377 web         4    0  6152K  3800K accept 1   0:00  0.00%  0.00% httpd
61370 web         4    0  6168K  3776K accept 1   0:00  0.00%  0.00% httpd
61376 web         4    0  6072K  3556K accept 1   0:00  0.00%  0.00% httpd
61436 web         4    0  6160K  3804K accept 1   0:00  0.00%  0.00% httpd
61378 web         4    0  5992K  3484K accept 0   0:00  0.00%  0.00% httpd
61435 web         4    0  6072K  3548K accept 1   0:00  0.00%  0.00% httpd

They seem huge.  Are you just serving ordinary pages, or is there
something more?  I never seem my processes in lockf--doesn't that mean
they are doing file I/O or something?  (I still don't know what the
different state abbreviations exactly mean.)

-- 
Anthony




More information about the freebsd-questions mailing list