[nycbug-talk] Apache and FreeBSD
Matt Juszczak
matt at atopia.net
Sat Jul 4 02:17:33 EDT 2009
> Do you see the same behavior if you run with just one httpd thread/child?
> httpd -X
The single httpd process that's created seems to always be in "select" - I
never see it go into lockf (and I watched it for a while):
83383 www 1 44 0 182M 46912K select 1 0:02 0.00% httpd
Here's the lsof for the single process:
s# lsof | grep httpd | egrep -v "(\/usr\/local\/lib|\/usr\/lib)|(\/lib)"
httpd 83404 www cwd VDIR 0,95
2560 4192973 /usr/local/www/webroot/html
httpd 83404 www rtd VDIR 0,90
512 2 /
httpd 83404 www txt VREG 0,95
508120 3395419 /usr/local/sbin/httpd
httpd 83404 www 0u VCHR 0,110
0t271003 110 /dev/ttyp0
httpd 83404 www 1u VCHR 0,110
0t271003 110 /dev/ttyp0
httpd 83404 www 2w VREG 0,93
3206 353317 /var/log/apache/httpd-error.log
httpd 83404 www 3u IPv6 0xffffff01e7cb0888
0t0 TCP *:http (LISTEN)
httpd 83404 www 4u IPv4 0xffffff007e4a05b0
0t0 TCP *:* (CLOSED)
httpd 83404 www 5u IPv6 0xffffff017216e888
0t0 TCP *:https (LISTEN)
httpd 83404 www 6u IPv4 0xffffff0027f48888
0t0 TCP *:* (CLOSED)
httpd 83404 www 7u IPv6 0xffffff016037c888
0t0 TCP *:snpp (LISTEN)
httpd 83404 www 8u IPv4 0xffffff016293d5b0
0t0 TCP *:* (CLOSED)
httpd 83404 www 9u PIPE 0xffffff0162b2c000
16384 ->0xffffff0162b2c158
httpd 83404 www 10u PIPE 0xffffff0162b2c158
0 ->0xffffff0162b2c000
httpd 83404 www 11w VREG 0,93
5463426 353319 /var/log/apache/httpd-access.log
httpd 83404 www 12w VREG 0,93
0 353323 /var (/dev/amrd0s1d)
httpd 83404 www 13u VREG 0,94
0 16 /tmp (/dev/amrd0s1e)
httpd 83404 www 14u VREG 0,94
0 17 /tmp (/dev/amrd0s1e)
httpd 83404 www 15u VREG 0,94
0 18 /tmp (/dev/amrd0s1e)
httpd 83404 www 16u VREG 0,94
0 19 /tmp (/dev/amrd0s1e)
httpd 83404 www 17u VREG 0,94
0 20 /tmp (/dev/amrd0s1e)
httpd 83404 www 18u VREG 0,94
0 21 /tmp (/dev/amrd0s1e)
httpd 83404 www 19u VREG 0,94
0 22 /tmp (/dev/amrd0s1e)
httpd 83404 www 20w VREG 0,93
0 353326 /var/log/accept.lock.83404
httpd 83404 www 21w VREG 0,93
0 353326 /var/log/accept.lock.83404
httpd 83404 www 22w VREG 0,94
0 22 /tmp (/dev/amrd0s1e)
httpd 83404 www 23u IPv4 0xffffff01daec55b0
0t0 TCP 10.11.12.12:58440->10.11.12.13:ldap (ESTABLISHED)
httpd 83404 www 24w VREG 0,94
0 16 /tmp (/dev/amrd0s1e)
httpd 83404 www 25u KQUEUE 0xffffff023cf56d00
count=2, state=0
httpd 83404 www 26u IPv6 0xffffff01613f02d8
0t0 TCP
[::10.11.12.13]:http->some.ip.address:3301
(CLOSE_WAIT)
httpd 83404 www 27r VREG 0,95
38745 4592821
/usr/local/www/webroot/html/effects.js
httpd 83404 www 29u IPv4 0xffffff008ffe9888
0t0 TCP 10.11.12.13:54606->10.11.12.14:11211 (ESTABLISHED)
httpd 83404 www 30u IPv4 0xffffff010a9a1000
0t0 TCP 10.11.12.13:53331->10.11.12.14:11211 (ESTABLISHED)
More information about the talk
mailing list