[nycbug-talk] Apache and FreeBSD

Bjorn Nelson o_sleep at belovedarctos.com
Mon Jul 13 19:18:12 EDT 2009


Matt Juszczak wrote:
>> 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?
>
> Isn't kinit kerberos related?
>
> Do you mean a ktrace and an lsof at the same time?  Is there any 
> special way of doing that, or just doing something like:
>
> ktrace &; lsof &;
>
>
Yeah sorry, I use kinit so much it came out when I meant ktrace/kdump.  
You can kdump with -T to get timestamps and then try to match that with 
the lsof although it sounds like it may not be changing too frequently.

Btw, my httpd.conf looks like:
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
#LockFile /var/log/accept.lock
</IfModule>
</IfModule>

Is yours any different and just to double check, your /var/log is 
definitely local, right?  I couldn't tell from your lsof, didn't see the 
underlying device.

-Bjorn




More information about the talk mailing list