On 2/22/06, <b class="gmail_sendername">Hans de Groot</b> <<a href="mailto:hansg@dandy.nl">hansg@dandy.nl</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br><br>I would like mailscanner to only use one child process.<br><br>It should check the queue every 60 seconds and process any mail that is<br>there. But only using one process since I am low on system resources
<br><br>I set the option max children=1<br><br>But it seems to ignore this setting. I often see 2 or 3 children running.<br><br>Am I doing something wrong?<br><br>I am using Version 4.48.4-2.<br></blockquote></div><br>Are you sure that's children and not "helpers" like the wrapper scripts for Clam and so on?
<br><br>I use 5 children and therefor normally have six processes related to MS running:<br><br> root 7294 3787 1 07:08:21 ? 1:30 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 6621 3787 1 07:03:10 ? 1:33 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br> root 6725 3787 1 07:03:53 ? 1:33 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 3787 1 0 Feb 10 ? 0:01 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br> root 7656 3787 1 07:11:01 ? 1:36 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 7720 3787 1 07:11:12 ? 1:30 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br><br>But whenever something is happening more processes start as needed:<br><br> root 7294 3787 1 07:08:21 ? 1:30 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 6621 3787 1 07:03:10 ? 1:33 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br> root 6725 3787 1 07:03:53 ? 1:33 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 3787 1 0 Feb 10 ? 0:01 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br> root 21922 6725 0 10:54:31 ? 0:00 /bin/sh /opt/MailScanner/lib/clamav-wrapper /usr/local -r --disable-summary --s
<br> root 21921 7656 3 10:54:30 ? 0:01 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br> root 7656 3787 1 07:11:01 ? 1:35 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail
<br> root 7720 3787 1 07:11:12 ? 1:30 /usr/bin/perl -I/opt/MailScanner/lib /opt/MailScanner/bin/MailScanner /opt/Mail<br><br clear="all">-- <br>/peter