I only want one child process but it seems to ignore the max
children setting.
shuttlebox
shuttlebox at gmail.com
Wed Feb 22 09:58:01 GMT 2006
On 2/22/06, Hans de Groot <hansg at dandy.nl> wrote:
>
> Hello all,
>
> I would like mailscanner to only use one child process.
>
> It should check the queue every 60 seconds and process any mail that is
> there. But only using one process since I am low on system resources
>
> I set the option max children=1
>
> But it seems to ignore this setting. I often see 2 or 3 children running.
>
> Am I doing something wrong?
>
> I am using Version 4.48.4-2.
>
Are you sure that's children and not "helpers" like the wrapper scripts for
Clam and so on?
I use 5 children and therefor normally have six processes related to MS
running:
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 7656 3787 1 07:11:01 ? 1:36 /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
But whenever something is happening more processes start as needed:
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
--
/peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060222/bd7b89ea/attachment.html
More information about the MailScanner
mailing list