tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <>
Subject Re: [VOTE] Release Tomcat Connectors 1.2.30
Date Mon, 01 Mar 2010 08:23:00 GMT
On 02/28/2010 11:57 PM, Rainer Jung wrote:
> One addition: the combination of the a+c mode and fflush() shows the
> problem. As soon as I remove one of the two, perforemance is fine.

What 'c' flag does is to actually call _commit (FlushFileBuffers)
on fflush(). Without that the fflush is called when the stream
buffer is full. That makes problems if used from multiple
processes since it can create complete garbage in the log.

> It's unfortunate, that the OS doesn ot allow to specify a fflush
> interval, e.g. the file should be flushed every 500 ms. There's a
> flushall() call, that could be used for something like that...

AFAICT a+c does what a+ does on posix on fflush()


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message