Not killing off previous parent process
Craig White
craigwhite at azapple.com
Sat Jul 30 02:29:29 IST 2011
Ubuntu 10.04 LTS
MailScanner-4.84.1-1 (from tarball) happened with 'stable' versions
where I had to use -U option too.
starts fine...
# ps aux|grep MailScanner
postfix 25689 0.0 0.6 26652 20412 ? SNs 17:54 0:00
MailScanner: master waiting for children, sleeping
postfix 25690 0.2 1.6 66984 52136 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 25695 0.2 1.6 66964 52092 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 25697 0.2 1.6 66548 51692 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 25700 0.2 1.6 66548 51840 ? SN 17:54 0:02
MailScanner: waiting for messages
root 26072 0.0 0.0 3324 800 pts/0 S+ 18:14 0:00 grep
--color=auto MailScanner
# cat /var/run/MailScanner/MailScanner.pid
25689
then later...
# ps aux|grep MailScanner
postfix 25689 0.0 0.6 26652 20412 ? SNs 17:54 0:00
MailScanner: master waiting for children, sleeping
postfix 25690 0.1 1.6 66984 52140 ? SN 17:54 0:03
MailScanner: waiting for messages
postfix 25695 0.1 1.6 66964 52096 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 25697 0.1 1.6 66548 51692 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 25700 0.1 1.6 66548 51840 ? SN 17:54 0:02
MailScanner: waiting for messages
postfix 26161 0.0 0.6 25160 20376 ? SNs 18:17 0:00
MailScanner: master waiting for children, sleeping
postfix 26162 0.5 1.6 64988 51632 ? SN 18:17 0:02
MailScanner: waiting for messages
postfix 26166 0.5 1.6 65044 51628 ? SN 18:17 0:02
MailScanner: waiting for messages
postfix 26171 0.6 1.6 64988 51632 ? SN 18:17 0:02
MailScanner: waiting for messages
root 26299 0.0 0.0 3328 884 pts/0 S+ 18:25 0:00 grep
--color=auto MailScanner
# cat /var/run/MailScanner/MailScanner.pid
26161
So the first parent process (in this case 25689) wasn't killed and the
new parent process 26161 launched with 3 more children (I changed the
configuration is why it went from 4 to 3 children above).
How can I stop this because it only takes a day to exhaust my RAM.
Craig
More information about the MailScanner
mailing list