[Spread-users] Buffers

Theo Schlossnagle jesus@omniti.com
Tue, 29 May 2001 10:06:41 -0400


On Tuesday, May 29, 2001, at 06:47  AM, Xabier V=E1zquez Gallardo wrote:
>     I'm ussing spread to concentrate my apache logs, but my apaches=20
> 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.=20
> My

Are you using mod_log_spread or are you logging the messages yourself=20
via custom code?  mod_log_spread does not respect "buffered mode" even=20=

if you ask it to.  However, if you are using buffered mode to a pipe or=20=

a program, and the program logs messages to Spread, things could be=20
buffered.  Is this the case?

> clients must handle all these lines in realtime. I notice that my=20
> clients
> sometimes get disconnected from spread. How can I increse the spread=20=

> 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