[nycbug-talk] Apache and FreeBSD

Bjorn Nelson o_sleep at belovedarctos.com
Mon Jul 13 18:31:01 EDT 2009


Matt Juszczak wrote:
> Actually, tracing these boxes, before it tries to open almost any file, it 
> does:
>
> 43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b80)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b80)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b70)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b70)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b50)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9b50)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ba0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ba0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ba0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ba0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ce0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9ce0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9dd0)
>   43765 httpd    RET   fcntl 0
>   43765 httpd    CALL  fcntl(0xd,F_SETLKW,0xffffffffffff9dd0)
>
>
> Some go on for 1000's of lines.
>
> But this is the local file system...
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.

-Bjorn



More information about the talk mailing list