Daryl C. W. O'Shea wrote:
On 6/7/2006 9:58 PM, Matt Kettler wrote:

Guy Waugh wrote:


* I only turned on SA debugging for bayes and learn to get the above
log entries. Are bayes, learn and dns the only debugging flags
available? Maybe next time I should turn on dns debugging as well?


I know of at least one other... "all"

message, config, check, plugin and rules also appear to be other working
options, but I've not tested them. There's probably more.. grep the code
for "dbg".. the text preceding the colon is the debug category needed to
log it (unless all is enabled)



http://wiki.apache.org/spamassassin/DebugChannels

Thanks guys... should have seen that.

OK, I've turned on multitudinous debugging, and it seems to be struggling with file locking on the 'auto-whitelist' file. When the "451 4.3.2" error happens, there are lots of these messages around it in the logfile:

Jun 8 13:21:05 server spamd[22947]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 6 retries Jun 8 13:21:05 server spamd[22941]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 15 retries Jun 8 13:21:06 server spamd[22943]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 13 retries Jun 8 13:21:06 server spamd[22942]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 13 retries Jun 8 13:21:06 server spamd[22945]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 10 retries Jun 8 13:21:06 server spamd[22947]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 7 retries Jun 8 13:21:06 server spamd[22944]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 10 retries Jun 8 13:21:06 server spamd[22946]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 6 retries Jun 8 13:21:06 server spamd[22941]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 16 retries Jun 8 13:21:06 server spamd[22943]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 14 retries Jun 8 13:21:07 server spamd[22940]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 17 retries Jun 8 13:21:07 server spamd[22947]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 8 retries Jun 8 13:21:07 server spamd[22941]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 17 retries Jun 8 13:21:07 server spamd[22940]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 18 retries Jun 8 13:21:07 server spamd[22945]: locker: safe_lock: trying to get lock on /var/vscan/spamassassin/auto-whitelist with 11 retries

OK, so... the auto-whitelist file is currently a Berkeley DB file. Does anyone know:

* Will there be locking issues if I put all the Berkeley DB stuff into, say, MySQL?

* Is there something else I can do to try to fix this, without going SQL?

Thanks again,
Guy.


Reply via email to