[Spread-users] Buffers

Theo Schlossnagle jesus at omniti.com
Tue May 29 10:06:41 EDT 2001


On Tuesday, May 29, 2001, at 06:47  AM, Xabier Vázquez Gallardo wrote:
>     I'm ussing spread to concentrate my apache logs, but my apaches 
> write
> the log file in buffered mode (64K). I have ~1000 apache instances and
> sometimes I have a bunch of data to send to spread ~128K and even more. 
> My

Are you using mod_log_spread or are you logging the messages yourself 
via custom code?  mod_log_spread does not respect "buffered mode" even 
if you ask it to.  However, if you are using buffered mode to a pipe or 
a program, and the program logs messages to Spread, things could be 
buffered.  Is this the case?

> clients must handle all these lines in realtime. I notice that my 
> clients
> sometimes get disconnected from spread. How can I increse the spread 
> buffer?
> Changing
>
> #define         MAX_SESSION_MESSAGES    1000
> in spread_params.h?

This one will help a bit.

> What about:
> #define         WATER_MARK              500

Not this one.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7





More information about the Spread-users mailing list