Re: [syslog-ng]maximum config file size
There are 272 log statements in the "large" config file, 243 in the pared down version. What's the magic number? 256? 2004-03-31, sze keltezéssel 21:13-kor Scooter T ezt írta:
Has anyone encountered any problems with a fairly large syslog-ng.conf
file? I am seeing substantial UDP packet loss with a file that is
roughly 1300 lines (about 70k). If I pare it down to around 1200
lines (about 60k), all is well. Is this a known limitation?
the log routing might be the culprit here, do you have many log statements in your file? can you reduce those? -- Bazsi --------------------------------- Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today
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
participants (2)
-
Balazs Scheidler
-
Scooter T