[syslog-ng] performance

Balazs Scheidler bazsi@balabit.hu
Mon, 8 May 2000 19:08:34 +0200


> > 	How syslog-ng deals with high-volume logging? The old syslogd is very bad
> > in this respect; if you feed it with lots of logs, the system slows down
> > horribly.
> > 	So, how does syslog-ng behaves in such cases?
> 
> I find that syslog-ng drops approximately 95% of all log entries when the
> system generates them quickly.  This is using the tcp protocol and writing
> to a file on the remote machine.
> 
> This has kept me from trying to implement syslog-ng in production.

You can finetune garbage collection parameters using the gc_idle_threshold
and gc_busy_threshold options.

idle threshold should be set to a low value, busy_threshold should be set to
a high value (about the number of messages in a burst)

options { gc_idle_threshold(100); gc_busy_threshold(5000); };

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt