[nycbug-talk] Apache and FreeBSD

Bjorn Nelson o_sleep at belovedarctos.com
Mon Jul 13 18:41:06 EDT 2009


Matt Juszczak wrote:
>> What file is the 0xd (14, right?) from lsof in the FD column.  Maybe 
>> you have multiple DAVLockDBs set in the config or across multiple 
>> virtualhosts pointing at the same file.
>
> This is sort of interesting, and perhaps related?:
>
> httpd      4043       www   22u    VREG               0,94 0        20 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   23u    VREG               0,94 0        25 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   24u    VREG               0,94 0        22 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   25u    VREG               0,94 0        28 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   26u    VREG               0,94 0        27 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   27u    VREG               0,94 0        26 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   28u    VREG               0,94 0        29 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   29u    VREG               0,94 0        32 
> /tmp (/dev/amrd0s1e)
> httpd      4043       www   30u    VREG               0,94 0        34 
> /tmp/aprKEahdw
> httpd      4043       www   31w    VREG               0,93 0     23591 
> /var/log/accept.lock.52448
> httpd      4043       www   32w    VREG               0,93 0     23591 
> /var/log/accept.lock.52448
> httpd      4043       www   33w    VREG               0,94 0        34 
> /tmp/aprKEahdw
>
Can you do a kinit and lsof at the same time with timestamps to 
correlate a fcntl with the filename?  22u is FD 22 r/w (0x16 according 
to powertoy calc), do you have a related fcntl call for this?

-Bjorn



More information about the talk mailing list