On Wed, 26 Nov 2003, German Staltari wrote: > On Wed, 26 Nov 2003 14:30:02 -0500, JC <[EMAIL PROTECTED]> wrote: > > > I'm going to guess that you are running spamassassin as an unprivliged > > user... Based on that, I would like to suggest that you run spamd and > > spamc > > on a port higher than 1024. That's what worked for me. Give it a try and > > let > > me know how it works out for ya. > > Can anybody give me real help please???? > I really appreciate your help JC, but I think you don't understand my > problem very well. > It's a simple question: > It's possible that SA runs opportunistic expiry and sync at the same > time(so lock failed error occurs)? > TIA > German
You are running on a SMP box, so it may be that it is truely trying to expiry and sync at the SAME time (litteraly same time). The locking code may not be robust enough to cope with that. (SMP introduces all kinds of interesting problems.) Try turning off the bayes_auto_expire and run an expire by hand or cron at slack times (say 5:00 AM?) Also check your version of Berkeley_DB, there may be an issue with that on SMP machines. > > I'm running SA 2.60, RedHat 8.0/9.0 (up2date), fresh installs, on SMP > > servers with 1GB of RAM. The bayes_journal_max_size and > > bayes_expiry_max_db_size are in default state (102400/150000). > > bayes_learn_to_journal and bayes_auto_expire is set to 1. With this > > settings, SA is doing an opportunistic journal sync aprox every 10 mins, > > and an opportunistic expiry every 12h. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk