Re: many scanner processes never exit

Jason Haar <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Organization Trimble Navigation Ltd.
Message-ID <[email protected]>
Jesse Sanford wrote:
>
> Hi there,
>
> I'm using netqmail-1.05 with qmail-scanner-queue 2.00, plus vpopmail
> but not in pop-before-smtp mode (I only provide IMAP and I use
> smtp-auth + ssl).  Since I upgraded over the weekend, it seems a lot
> of qmail-scanner processes never exit.  Messages get delivered, but
> some erratically get delivered very slowly.  qmail-smtpd processes
> launch qmail-scanner processes until my concurrencyincoming (30) is
> reached, and even at very idle times the past few days qmail-smtpd has
> been running 22-24/30.  Seems qmail-scanner-queue.pl processes just
> hang around in memory for a long time, sometimes preventing inbound
> messages from being received...
>

What does "ps auxww|grep qscan" show? Are there just
qmail-scanner-queue.pl processes lying around - or are there also calls
to SpamAssassin or AV too?


> I did run qmail-scanner-queue.pl -x to clear out the spool.  

You mean "-z" don't you? There has never been a "-x" option :-)

> Many of the long-running idle processes have 0-length files in
> /var/spool/qscand/working/tmp/ which are not deleted because they are
> not yet 30 hours old.  I am finding that about 4/5 of the files
> written to /var/spool/qscand/working/tmp are 0-length files -- which
> could be a side effect of users' smtp-auth clients terminating
> improperly or timing out, I guess.  Should I just modify the script to
> delete 0-length files older than an hour or something?
>
Nope - leave it be. You need to find out what's causing it first.

> What could cause this?  Running with $DEBUG=1, I find no unusual
> messages in qmail-queue.log -- entries for the various relevant
> processes complete eventually in some cases or just stop arbitrarily
> in the middle...

What does "in the middle" mean? Where are these things hanging?


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.