On 24 February 2010 18:06, Adrian Chadd <adrian_at_squid-cache.org> wrote:
> Uhm, is O_APPEND defined as an atomic write? I didn't think so. It may
> be under Linux and it may be under certain FreeBSD versions, but it's
> likely a side-effect of VFS locking than the actual specification.
.. and it certainly won't be supported for logging-to-NFS.
I'd honestly just investigate a logging layer that implements some
kind of IPC mechanism (sockets, sysvshm, etc) that can handle logs
from multiple processes.
Or you go down the apache path - lock, append, unlock. Eww.
adrian
Received on Wed Feb 24 2010 - 14:46:05 MST
This archive was generated by hypermail 2.2.0 : Fri Feb 26 2010 - 12:00:15 MST