I would guess that spamc is trying to do something it can't and only
continuing when it hits a timeout state. Your best bet is to
turn on debugging on spamc, then check in daemon.log for the problem.

The timestamps will be key.

On Sat, 19 Jun 2004, Josh Trutwin wrote:

> Hi,
>
> Since there have been some Debian related posts, I thought I'd share an issue that's been nagging me this week.
>
> I'm running Debian stable with Qmail + Qmail-Scanner + ClamAV + SA.  I've actually posted this issue on the SA (SpamAssassin) and QS (Qmail-Scanner) lists but haven't received any helpful replies.  I'm hoping maybe some Debian gurus can shed some light on this...
>
> Recently I did an apt-get upgrade/update which pulled a new version of perl and perl modules down, as it always seemes to.  I am not sure if this is where my issue began, but it seems like since that happened it's taking anywhere from 1-10 (10!) minutes to scan email messages using qmail-scanner.  Yeah I know QS and SA are resource hogs, but this is a dual PIV Xeon box with 1GB of memory and it's not exactly high traffic.  My PIII SuSE box is blowing this thing away in this regard.  15 seconds seems normal there.
>
> Research into this issue shows that the SA spamd daemon scans a message in about 1-3 seconds, but then spamc sits and sits for minutes.  If I run spamc with the -c flag (which doesn't generate the verbose report) then it's just as quick as spamd.  But I like having the report so I can see why false positives/negatives occured and act accordingly.
>
> Any thoughts?  Should I be posting to a Debian list?
>
> Josh
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> Help beta test TCLUG's potential new home: http://plone.mn-linux.org
> Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
> tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list
>

-- 
Daniel Taylor
random at argle.org
Forget diamonds, Copyright is forever.


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list