On 06.04.18 15:47, Emanuel wrote:
randomly I see these errors

Apr  6 15:13:29 server spamd[25456]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25144]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25286]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25408]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25459]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Apr  6 15:13:29 server spamd[25416]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists

-rw------- 1 nobody nobody   6446360 abr  6 15:14 /.spamassassin/bayes_journal
-rw------- 1 nobody nobody 732913664 abr  6 15:06 /.spamassassin/bayes_seen
-rw------- 1 nobody nobody  78856192 abr  6 15:09 /.spamassassin/bayes_toks

the permissions of the files are correct

I had thought to import the database of bayes to mysql, is it recommended? approximately 30,000 emails are analyzed per hour.

under such load, yes.
if you use per-site bayes database, you can try redis - even faster than
mysql.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]

Reply via email to