Mailscanner children exceed Max Children setting?

Peter Bonivart peter at UCGBOOK.COM
Wed Jan 5 18:16:43 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Brian Lewis wrote:
> Max Children = 10
>
> Yes I count 15 copies of Mailscanner running!!
> ps -aux

Do you always have 15 with the same PID numbers? I don't see anything
unnormal to have a few more MailScanner processes and they aren't really
children either. Look here:

# ps -ef | grep Mail
      UID   PID  PPID  C    STIME TTY      TIME CMD
     root 13956     1  0   Nov 17 ?        0:03 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root  5620 13956  0 17:15:09 ?        0:20 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root  3826 13956  0 17:06:09 ?        0:30 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root 10387 13956  0 17:47:06 ?        0:16 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root  4403 13956  0 17:09:30 ?        0:25 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root  5130 13956  1 17:13:11 ?        0:28 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
     root 19577  5130  0 19:09:52 ?        0:00 /usr/bin/perl
-I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail

I have 5 children set in MailScanner.conf. Process 13956 (spawned by
init) is the parent, then there's 5 children spawned by 13956 (5620,
3826, 10387, 4403 and 5130). Last is 19577 which is spawned by 5130 to
do some job, it will go away as soon as it finishes.

You could very well have 10 real children, 1 parent and 4 temporary
processes which amount to the 15 you see.

--
/Peter Bonivart

--Unix lovers do it in the Sun

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list