I only want one child process but it seems to ignore the max children setting.

shuttlebox shuttlebox at gmail.com
Wed Feb 22 12:35:45 GMT 2006


On 2/22/06, Hans de Groot <hansg at dandy.nl> wrote:
>
> This one apears some times and everry time it's a new PID. Might this be
> the child?
> root      1435 55.5  5.1 46052 39912 ?       D    11:31   0:02
> /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner


No, it's probably spawned by your child process to do virus scanning. If you
look at my example below:

On Wed, 22 Feb 2006 10:58:01 +0100
> shuttlebox <shuttlebox at gmail.com> wrote:
> >     root  7294  3787  1 07:08:21 ?        1:30 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root  6621  3787  1 07:03:10 ?        1:33 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root  6725  3787  1 07:03:53 ?        1:33 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root  3787     1  0   Feb 10 ?        0:01 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root 21922  6725  0 10:54:31 ?        0:00 /bin/sh
> /opt/MailScanner/lib/clamav-wrapper /usr/local -r --disable-summary --s
> >     root 21921  7656  3 10:54:30 ?        0:01 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root  7656  3787  1 07:11:01 ?        1:35 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
> >     root  7720  3787  1 07:11:12 ?        1:30 /usr/bin/perl
> -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
>

You see that 3787 is the parent, it stays until you stop MS. Process 7294,
6621, 6725, 7656 and 7720 are the children, they stay for four hours.
Process 21921 is spawned by child 7656 to some work and so is 21922 (spawned
by 6725), in this case virus scanning. The last two are temporary. A busy
server might seem to have more children than configured but that's just
because the children spawn new processes to do work. I hope that makes it
more clear. :-)

--
/peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060222/8bd5dc15/attachment.html


More information about the MailScanner mailing list