Andre H?bner: [ Charset ISO-8859-1 unsupported, converting... ] > 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 > > Unfortunately i cant bring it forward. i have no explanation for this. > Is it allowed to post some codelines? I will do it as short as possible,
Do not contradict the expert. You must find out the parent process of the zombies. In the output from "ps axl" commands, this is shown in the PPID column (use "ps -el" on Solaris and other SYS5-ish platforms). The parent process is not cleaning up as it should. Wietse