spamassassin --lint just hangs

2006-09-13 Thread Ramprasad
I find that 
spamassassin -D --lint sometimes just hangs.

the output goes 
.
..
[28316] dbg: bayes: tie-ing to DB file
R/W /var/spool/MailScanner/spamassassin/bayes_toks
[28316] dbg: bayes: tie-ing to DB file
R/W /var/spool/MailScanner/spamassassin/bayes_seen
[28316] dbg: bayes: found bayes db version 3
[28316] dbg: locker: refresh_lock:
refresh /var/spool/MailScanner/spamassassin/bayes.mutex

(Thats it .. here it waits for ever ) 

I  have got a busy system and a bayes_toks file of 32MB 
I tried to strace the pid of the process .. could see a lots of
pread/pwrite

any idea whats going on ? 

Thanks
Ram




RE: spamassassin --lint just hangs

2006-09-13 Thread Sietse van Zanen



Might be a corrupted database. Try moving it and start with a clean one. If the lint succeeds it is your bayes db.

-Sietse


From: RamprasadSent: Wed 13-Sep-06 13:25To: spamassassin-usersSubject: spamassassin --lint just hangs
I find that 
spamassassin -D --lint sometimes just hangs.

the output goes 
.
..
[28316] dbg: bayes: tie-ing to DB file
R/W /var/spool/MailScanner/spamassassin/bayes_toks
[28316] dbg: bayes: tie-ing to DB file
R/W /var/spool/MailScanner/spamassassin/bayes_seen
[28316] dbg: bayes: found bayes db version 3
[28316] dbg: locker: refresh_lock:
refresh /var/spool/MailScanner/spamassassin/bayes.mutex

(Thats it .. here it waits for ever ) 

I  have got a busy system and a bayes_toks file of 32MB 
I tried to strace the pid of the process .. could see a lots of
pread/pwrite

any idea whats going on ? 

Thanks
Ram