Child Process Hangs
Craig Retief (CSFS)
craig at CSFS.CO.ZA
Tue Jan 10 16:47:27 GMT 2006
Hi Julian:
I checked and debug = no.
You are right on the DB logging, it is not taking place.
Hi Steve:
I changed the Always Looked Up Last to no and it seems to have done the
trick – thanks ;-).
I ran the perl -w MailWatch.pm command and got this -> “Useless use
of private variable in void context at MailWatch.pm line 247.”
This is the section of MailWatch.pm that it is complaining about:
while(($file, $text) = each %{$message->{allreports}}) {
$file = "the entire message" if $file eq "";
# Use the sanitised filename to avoid problems caused by people
forcing
# logging of attachment filenames which contain nasty SQL
instructions.
$file = $message->{file2safefile}{$file} or $file;
$text =~ s/\n/ /; # Make sure text report only contains 1 line
$text =~ s/\t/ /; # and no tab characters
push (@report_array, $text);
}
Is this as Julian made me realize maybe a DB logging error?
________________________________________________________________________________
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Julian Field
Sent: 10 January 2006 06:33 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Child Process Hangs
On 10 Jan 2006, at 16:13, Craig wrote:
Hi All,
I freshly installed MailScanner 4.50.5, spamassassin, clamav 0.88, razor,
pyzor, dcc and MailWatch 1.0.3. I also updated all perl modules to the
latest.
When I send a message, the MailScanner proccess stays is the
"MailScanner: finishing batch" state.
This sounds like it is failing to do the MailWatch database logging.
I noticed that MailScanner dies after all the child processes have
processed a batch. If I kill one of the child processes, the MailScanner
master starts a new process thus indicating that something in the
processing of the message batch prevents the child process of dying.
Are you sure you do not have "Debug = yes" in MailScanner.conf?
Is there a way that I can check what might be causing this as I have
checked the logs and done spamassassin lint test which produces no errors
that indicate anything???
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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 Wiki (http://wiki.mailscanner.info/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
------------------------ 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 Wiki (http://wiki.mailscanner.info/)
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