On Mon, Apr 27, 2009 at 09:16:31AM +0200, Andre H?bner wrote:

>>> When a lot of mails are incoming

    Symptom A

>>> i got a high number of zombies.

    Symptom B

>>> as a consequence of this

By "this" do you mean "symptom A" or "symptom B"?

>>> my system load gets really high.

Zombies are dead processes that demand zero CPU (just take up some space
in the process table). So it seems unlikely that the zombies are causing
high system load.

>>> Are there some general methods to avoid this?

A parent process that forks children in a loop must either call "wait"
to reap them promptly or IGNORE SIGCHLD. This is about zombies not load.

A policy service process is expected to stay connected to an smtpd(8)
client for the lifetime of that client, and handle multiple requests.
Your load will be lower if your policy shell script processes requests
in a loop and does not unilaterally disconnect from its smtpd(8) client.
This is about load, not zombies.

-- 
        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:majord...@postfix.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.

Reply via email to