From: Victor Duchovni (no email)
Date: Thu Nov 01 2007 - 10:40:38 EDT
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:?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.
|
|
|