OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: New document: STRESS_README

From: Andreas Grimm (grimm.andreasyahoo.com)
Date: Thu Nov 01 2007 - 11:02:34 CDT


Hello Victor, i was using unix-dgram. The problem was the default value of max-connections per dgram. The default is 10. I increased it: unix-dgram("/dev/log" max_connections(1000)); unix-dgram("/var/lib/named/dev/log" max_connections(1000)); A notice about the syslog-ng should be added to the STRESS_README. I can't tell about the behaviour of the standard syslogd, but that is the solution for syslog-ng. Finally. Thanks again! ----- Original Message ---- From: Victor Duchovni <Victor.DuchovniMorganStanley.com> To: Andreas Grimm <grimm.andreasyahoo.com> Cc: Postfix users <postfix-userspostfix.org> Sent: Thursday, November 1, 2007 3:40:38 PM Subject: Re: New document: STRESS_README On Thu, Nov 01, 2007 at 07:34:35AM -0700, Andreas Grimm wrote: > Hello Wietse, > > that was the perfect hint. Load is now about 200 under stress (before > 2 to 3 because of the stalled smptds), server answers immediately, even > under that conditions. The only thing i've done, was to shut down the > syslog. Synchronous log was turned off, of course. It's syslog-ng, so the > paremeter is sync(0), but that doesn't helped here. I should try now to > tune my syslog-ng (maybe the break is log_fifo_size) or install the normal > syslog-package. Maybe that's an interesting addon for the stress readme. Are you using "unix-stream" or "unix-dgram"? The former does not scale. You MUST use "unix-dgram" for syslog on busy (really all) Postfix servers: source local { pipe("/proc/kmsg"); unix-dgram("/dev/log"); internal(); }; With a stream socket each process has a separate connection to the syslog-ng daemon, and it simply can't handle thousands of connections. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored.. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomopostfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com