many scanner processes never exit

Jesse Sanford <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
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...

I did run qmail-scanner-queue.pl -x to clear out the spool.  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?

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...

If anyone is willing to help teach me I'm willing to document what I  
learn for others.

Thanks,



--
Jesse Sanford <[email protected]>
Seedbox Connect



-------------------------------------------------------
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.