<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Unusual # of MailScanner processes running</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>It appears that I am suffering from bayes_lock file problems. I can't confirm that this is the reason why I am seeing so many MS processes running and dying (see previous msgs in thread) but it seems to make sense. </FONT></P>
<P><FONT SIZE=2>I am running MS 4.29.7, SA 2.55 </FONT>
</P>
<P><FONT SIZE=2>I am seeing several lock files in my /root/.spamassassin/ directory and when I run spamassassin --lint for example, I get the following error after about 10 seconds:</FONT></P>
<P> <FONT SIZE=2>[root@msbox .spamassassin]# spamassassin --lint</FONT>
<BR> <FONT SIZE=2>Cannot open bayes_path /root/.spamassassin/bayes R/W: File exists</FONT>
<BR> <FONT SIZE=2>Cannot open bayes_path /root/.spamassassin/bayes R/W: File exists</FONT>
</P>
<P><FONT SIZE=2>My bayes directory looks like this:</FONT>
</P>
<P> <FONT SIZE=2>[root@msbox .spamassassin]# ls -al</FONT>
<BR> <FONT SIZE=2>total 28152</FONT>
<BR> <FONT SIZE=2>drwx------ 3 root root 4096 Apr 19 08:58 .</FONT>
<BR> <FONT SIZE=2>drwxr-x--- 24 root root 4096 Apr 18 05:10 ..</FONT>
<BR> <FONT SIZE=2>drwxr-xr-x 2 root root 4096 Apr 18 00:25 1</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 106964 Apr 19 08:58 bayes_journal</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 26 Apr 19 08:52 bayes.lock</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 208 Apr 19 08:58 bayes.lock.msbox.4446</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 208 Apr 19 08:58 bayes.lock.msbox.4487</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 130 Apr 19 08:58 bayes.lock.msbox.4500</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 156 Apr 19 08:58 bayes.lock.msbox.4510</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 104 Apr 19 08:58 bayes.lock.msbox.4511</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 104 Apr 19 08:58 bayes.lock.msbox.4512</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 78 Apr 19 08:58 bayes.lock.msbox.4542</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 26 Apr 19 08:58 bayes.lock.msbox.4545</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 3701 Apr 19 08:58 bayes_msgcount</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 14139427 Apr 19 08:51 bayes_seen</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 10317824 Apr 19 08:52 bayes_toks</FONT>
<BR> <FONT SIZE=2>-rw------- 1 root root 6643712 Apr 19 08:52 bayes_toks.new</FONT>
<BR> <FONT SIZE=2>-rw-r--r-- 1 root root 1218 Dec 8 10:40 user_prefs</FONT>
<BR> <FONT SIZE=2>[root@msbox .spamassassin]#</FONT>
</P>
<P><FONT SIZE=2>If I delete the lock files SA --lint doesn't error out but the lock files come back soon after. (I assume this is the problem with my high and variable number of MS processes running because it is the only difference I can find between this box and an identical box that is not exhibiting the #ofprocesses issue).</FONT></P>
<P><FONT SIZE=2>I found this in the FAQomatic:</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://www.sng.ecs.soton.ac.uk/cgi-bin/faq?_recurse=1&file=16#file_303" TARGET="_blank">http://www.sng.ecs.soton.ac.uk/cgi-bin/faq?_recurse=1&file=16#file_303</A></FONT>
</P>
<P><FONT SIZE=2>But I'm a little confused about what I should be doing because of this update to the FAQomatic:</FONT>
</P>
<P><FONT SIZE=2>Update 2004-04-03. Julian included a patch in MS 4.29.7 which fixes the problem</FONT>
<BR><FONT SIZE=2>until SA is fixed. Users of MS 4.29.7 and later are recommended to expire</FONT>
<BR><FONT SIZE=2>tokens from there instead.</FONT>
</P>
<P><FONT SIZE=2>How do I expire tokens from MS 4.29.7? </FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
</P>
<P><FONT SIZE=2>Jason</FONT>
</P>
</BODY>
</HTML>