git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Logging in apache


On Wed, Apr 18, 2018 at 9:29 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> On Wed, Apr 18, 2018 at 3:18 PM, Hemant Chaudhary
> <hemantdude.chaudhary@xxxxxxxxx> wrote:
>> Thanks Eric
>>
>> It means thread are using lock so that one thread/process can write a time.
> I believe it's unlocked, I think posix promises they will not be
> interleaved if written through a shared file descriptor.

If I recall correctly, that's only true as long as the log lines are shorter
than PIPE_BUF (apparently 4096 on Linux). Very long log lines are
actually sometimes written interleaved by httpd.

rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-users/msg02479.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0007362984{main}( ).../msg02479.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-users/msg02479.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0007362984{main}( ).../msg02479.html:0