[Mimedefang] awk.lock errors
Richard Whelan
richard.whelan at pipex.net
Tue Sep 14 11:51:14 EDT 2004
Hi Paul,
>Enable debugging of SpamAssassin to see the full details of lock creation and
>management - in SpamAssassin.pm (in /usr/share/perl5/Mail on my system), at line
>231 (version 2.63) change the line to
> $DEBUG->{enabled} = 1;
>
>
Done.
>And then sit back and watch your log files grow very quickly.
>
>
>
I see what you mean.
Here's what I have so far:
Sep 14 16:38:19 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: debug: lock: 12613 trying to get lock on
/var/spool/MIMEDefang-bayes/awl with 1 retries
Sep 14 16:38:19 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: Use of uninitialized value in numeric gt (>)
at /usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/UnixLocker.pm
line 69.
Sep 14 16:38:19 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: Use of uninitialized value in concatenation
(.) or string at
/usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/UnixLocker.pm
line 80.
Sep 14 16:38:19 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: debug: lock: 12613 breaking stale
/var/spool/MIMEDefang-bayes/awl.lock: age=undef now=
Sep 14 16:38:19 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: lock: 12613 unlink of lock file
/var/spool/MIMEDefang-bayes/awl.lock failed: No such file or directory
Sep 14 16:38:48 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: debug: lock: 12613 trying to get lock on
/var/spool/MIMEDefang-bayes/awl with 29 retries
Sep 14 16:38:48 gxmx2.gxn.net Use of uninitialized value in numeric gt
(>) at
/usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/UnixLocker.pm
line 69.
Sep 14 16:38:48 gxmx2.gxn.net Use of uninitialized value in
concatenation (.) or string at
/usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/UnixLocker.pm
line 80.
Sep 14 16:38:48 gxmx2.gxn.net debug: lock: 12613 breaking stale
/var/spool/MIMEDefang-bayes/awl.lock: age=undef now=
Sep 14 16:38:48 gxmx2.gxn.net lock: 12613 unlink of lock file
/var/spool/MIMEDefang-bayes/awl.lock f
Sep 14 16:38:48 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: ailed: No such file or directory
Sep 14 16:38:48 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr: lock: 12613 unlink of temp lock
/var/spool/MIMEDefang-bayes/awl.lock.gxmx2.gxn.net.12613 failed: No such
file or directory
Also saw this at the same time: Is this related ?
Sep 14 16:38:48 gxmx2.gxn.net debug: open of AWL file failed: No write
permission to ndbm file at /usr/local/lib/perl
Sep 14 16:38:48 gxmx2.gxn.net mimedefang-multiplexor[12613]: [ID 980602
mail.info] Slave 2 stderr:
5/site_perl/5.8.3/Mail/SpamAssassin/DBBasedAddrList.pm line
130.
<snip>
>The amount of time between the stat() and the unlink() is very small but on a
>heavily loaded system with many slaves, I wouldn't be surprised to see it cause
>issues.
>
>
>
Before I changed the MX record I maybe say maximum of 6 or so Slaves. So
far today I have seen it hit three times that. How can I get a better
performance. I already have the /var/spool/MIMEDefang partition on a
ram/swap partition.
Cheers,
Richard
--
Richard Whelan
Senior Systems Administrator
PIPEX
Direct: +44 (0) 1865 381568
Mobile: +44 (0) 7786 276020
website: http://www.pipex.net/
This e-mail is subject to: http://www.pipex.net/disclaimer.html
More information about the MIMEDefang
mailing list