[syslog-ng]maximum config file size

Balazs Scheidler syslog-ng@lists.balabit.hu
Mon, 05 Apr 2004 13:41:11 +0200


2004-04-01, cs keltezéssel 16:59-kor Scooter T ezt írta:
> There are 272 log statements in the "large" config file, 243 in the
> pared down version.  What's the magic number?  256?

there's no magic number, it simply the fact that the algorithm
dispatching the log messages is not the best. However the small
difference between the numbers suggest that you might have a CPU
intensive regular expression enabled in one of your config and disabled
in the other.

try to be as specific in your regular expressions as possible, doing
lots of '.*' is very bad from the performance perspective.


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1