[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZMailer scheduler stuffing up severely...





Matti Aarnio wrote:

>
>   Similar size machine is used by my employer at primary customer
>   email hub relay.  24h average is about 8-10 mails per second.
>   (It is 2xUltraSPARC with Solaris, but otherwise similar size.)

WEll I've seen our system push waaay more than that (20-30 a second) but only in a
burst.  After reading your code snippet below and looking at some error messages
there's a BSD kernel option that probably needs to be tweaked on systems running
insane message levels and queues like ours (200k messages on the deck is not
uncommon) that deals with the number of shared memory segments and how they are
distributed to processes.  Also system buffers need to be tweaked at this level of
message I/O.

##
## Increase number of PV Entries per process, see LINT for additional warnings.
options         PMAP_SHPGPERPROC=401
## Increase number of system buffers.
options         NMBCLUSTERS=16384
## May or may not be necessary.
options         SHMMAXPGS=4096

Also on most BSD systems the GENERIC kernel has a maxuser limit that is disgustingly
low and you'll run into problems running more than just a 100 or so processes
concurrently (not enough file handles, buffers running out, other oddness).



-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi