So this means we cannot run multiple sessions?

I'm running SA 2.6 spamd/spamc, and getting this same error log.

I'm receiving about 2 mail connections to the mta per second, so I have
sometimes about 20 spamd processes running, that's my top because I have
only 512 mb of ram.

So, I need to run many procs in parallel.

Is there any other way to solve this problem?



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Kettler
Sent: Martes, 07 de Octubre de 2003 07:27 p.m.
To: Jeffrey Wheat; [EMAIL PROTECTED]
Subject: Re: [SAtalk] 2.60 lock errors


At 05:06 PM 10/7/2003, Jeffrey Wheat wrote:
>I haven't found a real answer in the archives...
>
>What is the cause of this error:
>
>Cannot open bayes databases /etc/mail/spamassassin/bayes_* R/W: lock
>failed: File exists
>
>And is there a solution?

The normal cause of that error is two SA processes trying to get at the 
bayes database at the same time.

If you're using procmail, use a lock in your procmail rules to prevent
SA 
from being launched in parallel. Most of the rules in the archives
should 
have this feature.





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Spamassassin-talk mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to