[nycbug-talk] Apache and FreeBSD

Matt Juszczak matt at atopia.net
Mon Jul 13 19:04:27 EDT 2009


> 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?


I can look into this.

For now, why is /tmp opened so many itmes, and why is accept.lock there 
twice?:



ktrace:

  10317 httpd    CALL  fcntl(0xe,F_SETLKW,0xffffffffffffe4d0)
  10317 httpd    RET   fcntl 0



lsof:

httpd     10317       www   11w    VREG               0,93 
0     23600 /var (/dev/amrd0s1d)
httpd     10317       www   12u    VREG               0,94 
0         7 /tmp/aprzFWU5v
httpd     10317       www   13u    VREG               0,94 
0         9 /tmp (/dev/amrd0s1e)
httpd     10317       www   14u    VREG               0,94 
0        11 /tmp (/dev/amrd0s1e)
httpd     10317       www   15u    VREG               0,94 
0        13 /tmp (/dev/amrd0s1e)
httpd     10317       www   16u    VREG               0,94 
0        21 /tmp (/dev/amrd0s1e)
httpd     10317       www   17u    VREG               0,94 
0        31 /tmp (/dev/amrd0s1e)
httpd     10317       www   18u    VREG               0,94 
0        34 /tmp/aprY9iT3d
httpd     10317       www   19w    VREG               0,93 
0     23672 /var/log/accept.lock.8343
httpd     10317       www   20w    VREG               0,93 
0     23672 /var/log/accept.lock.8343





More information about the talk mailing list