Mailscanner not restarting
Marcel Burggraeve
marcel at PLUSINE.COM
Fri Apr 16 07:34:36 IST 2004
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Julian Field
> Sent: donderdag 15 april 2004 17:11
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Mailscanner not restarting
>
>
> At 16:02 15/04/2004, you wrote:
> >Hi,
> >
> >We're running mailscanner on a HP-UX 11i system and once in a while
> >/var/spool/mqueue.in fills up with lots of messages and mail won't be
> >delivered anymore.
> >Killing all mailscanner processes and starting it again with
> >check_mailscanner solves this problem.
> >However, it seems like mailscanner doesn't restart every 4 hours
> like it is
> >supposed to do.
> >
> >
> >Which file/command is responsible for the actual restarting ?
>
> It's in MailScanner itself. The child processes die of old age and are
> re-spawned by the parent. The parent is very simple once it gets to the
> stage of starting children and doesn't the opportunity to leak any memory
> or anything like that.
>
Just went throug my logfiles and I have to change my earlier statement, they
do restart but sometimes they just stop restarting.
Yesterday night they stopped restarting at about 1:00 o'clock.
Once in a while this just seems to happen causing /var/spool/mqueue.in to
fill up and mail not getting delivered anymore.
However, it happens at random ( as far as we know ) and we don't have any
idea why or how we can reproduce it.
At this time I have the following in my mail.log :
# cat mail.log|grep child
Apr 15 20:19:06 ns2.plusine.com MailScanner[10943]: MailScanner child dying
of old age
Apr 15 20:30:43 ns2.plusine.com MailScanner[10948]: MailScanner child dying
of old age
Apr 15 20:56:28 ns2.plusine.com MailScanner[10940]: MailScanner child dying
of old age
Apr 15 20:58:52 ns2.plusine.com MailScanner[10970]: MailScanner child dying
of old age
Apr 15 21:05:12 ns2.plusine.com MailScanner[10982]: MailScanner child dying
of old age
Apr 16 00:43:03 ns2.plusine.com MailScanner[13471]: MailScanner child dying
of old age
Apr 16 01:37:48 ns2.plusine.com MailScanner[13732]: MailScanner child dying
of old age
Apr 16 02:02:34 ns2.plusine.com MailScanner[13639]: MailScanner child dying
of old age
Apr 16 02:03:58 ns2.plusine.com MailScanner[13519]: MailScanner child dying
of old age
Apr 16 02:35:42 ns2.plusine.com MailScanner[13691]: MailScanner child dying
of old age
Apr 16 06:22:18 ns2.plusine.com MailScanner[15022]: MailScanner child dying
of old age
Apr 16 06:59:39 ns2.plusine.com MailScanner[14711]: MailScanner child dying
of old age
Apr 16 07:01:19 ns2.plusine.com MailScanner[15165]: MailScanner child dying
of old age
Apr 16 07:56:27 ns2.plusine.com MailScanner[14915]: MailScanner child dying
of old age
Running mailscanner processes :
ps -ef|grep Mail
root 16071 10939 0 07:56:28 ? 0:09
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
root 10939 1 0 16:15:07 ? 0:00
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
root 15035 10939 0 02:03:58 ? 0:15
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
root 15808 10939 0 06:59:39 ? 0:12
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
root 15836 10939 0 07:01:19 ? 0:15
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
root 15719 10939 0 06:22:19 ? 0:18
/opt/perl/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/
Best regards,
Marcel Burggraeve
More information about the MailScanner
mailing list