Hello,
Andre Hübner:
Hello,
for testing purposes i wrote a policy-service for postfix as a
shellscript.
My Script is working very well, iam happy with its functionality ;)
But unfortunately there is one problem when a lot of mails are incoming.
the
shellscript just does some grepping in small files etc. and is giving
back
a allowd result..
My Shellscript is spawned from master.cf like this:
policy-mycheck unix - n n - - spawn
user=nobody argv=nice -n 15 /usr/lib/postfix/mycheckscript.sh
When a lot of mails are incoming i got a high number of zombies. as a
consequence of this my system load gets really high.
Are there some general methods to avoid this?
Find out what is the parent process of the zombies. This parent
process is not cleaning up as it should.
Wietse
hmm, i know, it is not a postfix issue but i am afraid i need further help
:(
at the moment i do not have an idea how to debug this. after sending answer
to postfix script is done and exits with 0, this works.
script just does only formating input-data from postfix and grepping in
files with basic shell commands and writing a linein maillog. i have no
idea where the zombies came from...
Is there a general way for debugging this?
Thanks,
Andre