You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "J." <sw...@yahoo.com> on 2007/04/29 01:10:09 UTC

sa-learn -D hangs

My sa-learn runs have been taking a long time to get started. Someone
suggested here to add the -D flag to see what's going on. When I did
that, the terminal hung. I used ctrl-c to get my prompt back and then
that "locker" line showed up. What gives?

Command:
sa-learn --showdots --mbox --ham -D /home/domainmail/mail/Ham

Output:
[14499] dbg: FuzzyOcr: focr_unique_matches => 0
[14499] dbg: FuzzyOcr: focr_verbose => 3
[14499] dbg: FuzzyOcr: focr_wrongctype_score => 1.5
[14499] dbg: FuzzyOcr: focr_wrongext_score => 1.5
[14499] info: FuzzyOcr: Loaded preprocessor normalize: /usr/bin/pnmnorm
[14499] info: FuzzyOcr: Loaded preprocessor invert: /usr/bin/pnminvert
[14499] info: FuzzyOcr: Loaded preprocessor ppmtopgm: /usr/bin/ppmtopgm
[14499] info: FuzzyOcr: Loaded preprocessor pamtopnm: /usr/bin/pamtopnm
[14499] info: FuzzyOcr: Loaded preprocessor pamthreshold:
/usr/bin/pamthreshold -simple -threshold 0.5
[14499] info: FuzzyOcr: Loaded preprocessor maketiff: pnmtotiff -color
-truecolor
[14499] info: FuzzyOcr: Using scan gocr: /usr/bin/gocr -i $input
[14499] info: FuzzyOcr: Using scan gocr-180: /usr/bin/gocr -l 180 -d 2
-i $input
[14499] info: FuzzyOcr: Added <45> words from
"/etc/mail/spamassassin/FuzzyOcr.words"
locker: safe_unlock: lock on /var/spool/qscan/.spamassassin/bayes.lock
was lost due to expiry at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 199.
interrupted at /usr/bin/sa-learn line 459.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: sa-learn -D hangs

Posted by Theo Van Dinter <fe...@apache.org>.
On Sat, Apr 28, 2007 at 04:10:09PM -0700, J. wrote:
> My sa-learn runs have been taking a long time to get started. Someone
> suggested here to add the -D flag to see what's going on. When I did
> that, the terminal hung. I used ctrl-c to get my prompt back and then
> that "locker" line showed up. What gives?

-D takes an argument, so:

> sa-learn --showdots --mbox --ham -D /home/domainmail/mail/Ham

gives "/home/domainmail/mail/Ham" as the argument, and then sa-learn sits
waiting for input from STDIN.  Try putting -D earlier in your commandline.

-- 
Randomly Selected Tagline:
"... and on that side you have a 50kg kid, and that's a pretty good sized
  kid..."                  - Prof. Farr