[syslog-ng]Over zealous syslog-ng problem
Andreas Schulze
Andreas.Schulze@mediaWays.NET
Mon, 06 Jan 2003 13:13:48 +0100
Borzenkov Andrey wrote:
>
>>On the other hand, in theory, more than one process can write
>>nonblocking to the same pipe. So its better to use atomic writes with
>>buffers <= PIPE_BUF, to avoid, that the processes interleaves.
>
> It does not actually help in current implementation because pipe writes in
> syslog-ng do not preserve message boundaries. [...]
Yepp. That's the problem.
--
Best regards --Andreas Schulze
[phone: +49.5246.80.1275, fax: +49.5246.80.2275]
| I believe, it was Dennis Ritchie who said something like:
| "C is rarely the best language for a given task,
| but it's often the second-best".
| The implication being that: "[...]"
| http://www.ioccc.org/1990/dds.c