/etc/init.d/MailScanner stop: caught SIGTERM, aborting
Jarry
mr.jarry at gmail.com
Sun May 24 15:31:01 IST 2009
Hi,
For whatever reason I can not stop/start MailScanner cleanly:
# /etc/init.d/MailScanner stop
* Stopping MailScanner...
* MailScanner: caught SIGTERM, aborting
# /etc/init.d/MailScanner start
* WARNING: MailScanner has already been started
Actually, MailScanner stops, but sendmail which has been
started by MailScanner init script is still there running:
# ps -e | grep sendmail
18676 ? 00:00:00 sendmail
18679 ? 00:00:00 sendmail
Even when I killall sendmail, I still get the above mentioned
warning, and can not start MailScanner. And that is a problem,
because MailScanner is restarted (in my case, just want to be
restarted, but is not) every hour to prevent eating all resources
(which it keeps eating anyway, read next). I checked /var/run and
/var/lock, there is no trace of MailScanner or sendmail running,
yet I can not re-start Mailscanner. How can I fix this problem?
And the 2nd problem, MailScanner is eating too much memory:
# ps aux | grep MailScanner
root 8047 0.0 0.7 93148 31084 ? Ss 13:53 0:00 MailScanner:
master waiting for children, sleeping
root 8048 0.0 1.5 140136 64692 ? S 13:53 0:00 MailScanner:
waiting for messages
root 8140 0.0 1.5 140136 64696 ? S 13:54 0:00 MailScanner:
waiting for messages
root 8173 0.0 1.5 140136 64696 ? S 13:54 0:00 MailScanner:
waiting for messages
root 8176 0.0 1.5 140140 64696 ? S 13:54 0:00 MailScanner:
waiting for messages
root 8177 0.0 1.5 140140 64696 ? S 13:54 0:00 MailScanner:
waiting for messages
~330 MB RESS, ~1GB VIRTS, is *this* normal? Unbelievable. I see it for
the first time, that my server does not have enough physical memory
and is forced to use swap. I'm affraid, I can not spend so much memory
just for MailScanner...
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
More information about the MailScanner
mailing list