On 24 February 2010 18:06, Adrian Chadd <[email protected]> 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

Reply via email to