More tasks started then wanted..

Alex Pimperton alex at ERUS.CO.UK
Thu Oct 7 15:16:00 IST 2004


Hi

I'm having the same problems, with mailscanner just starting processes until
the RAM and Swap gets used up and the box falls over.

What OS are you running mailscanner on?

I'm fairly sure mailscanner is using the conf file in my case because mails
getting through have the correct headers that are configured in
MailScanner.conf.

Regards

Alex

Hi there,

ok..i guess i found out some Problem.

In my MailScanner.conf i told MailScanner just to start 2 Children

Max Children = 2


but..after i started MailScanner, i see the following in the Mail-Log:

Oct  7 13:45:19 marcel MailScanner[955]: MailScanner E-Mail Virus Scanner
version 4.34.8 starting...
Oct  7 13:45:23 marcel MailScanner[957]: Using locktype = posix
Oct  7 13:45:23 marcel MailScanner[957]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Oct  7 13:45:29 marcel MailScanner[959]: MailScanner E-Mail Virus Scanner
version 4.34.8 starting...
Oct  7 13:45:34 marcel MailScanner[961]: Using locktype = posix
Oct  7 13:45:34 marcel MailScanner[961]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Oct  7 13:45:40 marcel MailScanner[960]: Using locktype = posix
Oct  7 13:45:40 marcel MailScanner[960]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Oct  7 13:45:43 marcel MailScanner[955]: Using locktype = posix
Oct  7 13:45:43 marcel MailScanner[955]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Oct  7 13:45:50 marcel MailScanner[963]: Using locktype = posix
Oct  7 13:45:50 marcel MailScanner[963]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
Oct  7 13:45:54 marcel MailScanner[959]: Using locktype = posix
Oct  7 13:45:54 marcel MailScanner[959]: Creating hardcoded struct_flock
subroutine for linux (Linux-type

As you noticed i tried to change the lock-type into posix and no longer
flock, as i used it before..

then i tried the following:

marcel:/etc/init.d # ps -aef | grep MailS
root       954     1  0 13:45 ?        00:00:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       955   954  1 13:45 ?        00:00:01 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       957   955  0 13:45 ?        00:00:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       959   954  1 13:45 ?        00:00:01 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       960   955  0 13:45 ?        00:00:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       961   959  0 13:45 ?        00:00:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf
root       963   959  0 13:45 ?        00:00:00 /usr/bin/perl
-I/usr/lib/MailScanner /usr/sbin/MailScanner
/etc/MailScanner/MailScanner.conf


as you can see, there are more tasks then those 2 i wanted and i stated in
the config-file..

any ideas for that problem?

Greetings

Marcel

------------------------ 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).



More information about the MailScanner mailing list