Jason Haar said:
> On Wed, Dec 11, 2002 at 09:39:49PM -0500, Philip S. Hempel wrote:
>>      `-supervise---tcpserver-+-2*[qmail-smtpd---perl5.6.1]
>>      |                                             `-12*[qmail-smtpd]
>
> Hmm, is this an ASCII-art-gone-bad issue? Are those 12 qmail-smtpd processes
> hanging off perl, or off the tcpserver process? Qmail-Scanner never calls perl...
>
>> One question, should the working/tmp dir be cleared on process?
>> I thought that this acted the same as qmail did and cleared the tmp but since
>> the hanging has started I have looked more for the problems that could be
>> associated with this and found over 100 tmp files around  every 5
>> hours setting with zero bytes in this directory. There are also the
>> directories
>> that are empty around 100 around every 5 hours.
>
> Well, if Q-S is never exiting, it ain't going to be cleaning up any files
> either... :-)
>
>> Also the logs are very mixed, if you would like I could gzip and send it if you
>> would like, unless the list has no problem with a few hundred lines of logs
>> (this would be only a partial log).
>
> Just eyeball them and you'll see the ones that are hanging. All
> qmail-queue.log entries begin with "29/11/2002 09:01:05:30047:" formatting, so if
> you track one process through, you'll see other processes beginning before it
> finishes, and you can keep scanning through the logfile to see if the first entry
> ever finishes. If it doesn't then you have one of your suspects.
>
>> I had previously looked at the logs, but since I have never seen what normal
>> output for this should be, It becomes difficult to find.
>
> Well they normally end with the likes of:
>
> 13/12/2002 08:40:06:26989: cleanup: /bin/rm -rf
> /var/spool/qmailscan/crom.trimble.co.nz103972200642626989/
>  /var/spool/qmailscan/working/new/crom.trimble.co.nz103972200642626989
> 13/12/2002 08:40:08:26989: all finished. Total of 2.225559 secs
>
> --
> Cheers
>
> Jason Haar

     |-sshd-+-2*[sshd---sshd---bash---bash---mc---bash]
     |      |-sshd---sshd---bash---bash
     |      `-sshd---sshd---bash---bash---pstree
     |-svscanboot-+-readproctitle
     |            `-svscan-+-supervise---messagewall---3*[messagewall]
     |                     |-3*[supervise---multilog]
     |                     |-supervise---qmail-send-+-qmail-clean
     |                     |                        |-qmail-lspawn
     |                     |                        `-qmail-rspawn
     |                     `-supervise---tcpserver-+-33*[qmail-smtpd---perl5.6.1]
     |                                             `-7*[qmail-smtpd]
     |-sympa.pl
     |-syslogd
     |-unixserver
     `-watchdog
this shows 7 qmail-smtpd off of tcpserver with 33 qmail-smtpd with perl

This is what I should see?

12/12/2002 16:09:17:15190: ini_sc: scanning message took 0.336819 seconds
12/12/2002 16:09:17:15190: q_r: fork off child into /usr/sbin/qmail-queue...
12/12/2002 16:09:17:15190: cleanup: /bin/rm -rf
/var/spool/qmailscan/mail.linuxhardcore.com1039
72735742415190/
/var/spool/qmailscan/working/new/mail.linuxhardcore.com103972735742415190
12/12/2002 16:09:17:15190: all finished. Total of 0.45247 secs
12/12/2002 16:12:53:15267: +++ starting debugging for process 15267 by uid=64011 at
12/12/200216:12:53

And this is what I should not see?

This happens to conicide with one of the tmp file names that have not been removed.

12/12/2002 16:20:05:15447: +++ starting debugging for process 15447 by uid=64011 at
12/12/2002 16:20:05
12/12/2002 16:20:05:15447: setting UID to EUID so subprocesses can access files
generated by this script
12/12/2002 16:20:05:15447: program name is qmail-scanner-queue.pl, version 1.15
12/12/2002 16:20:05:15447: incoming SMTP connection from via smtp from 127.0.0.1
12/12/2002 16:20:05:15447: w_c: mkdir
/var/spool/qmailscan/mail.linuxhardcore.com103972800542415447    <<<<<<<<<RIGHT
HERE
12/12/2002 16:20:05:15447: w_c: start dumping incoming msg into
/var/spool/qmailscan/working/tmp/mail.linuxhardcore.com103972800542415447
[1039728005.76531]
12/12/2002 16:20:32:15467: +++ starting debugging for process 15467 by uid=64011 at
12/12/2002 16:20:32
12/12/2002 16:20:32:15467: setting UID to EUID so subprocesses can access files
generated by this script
12/12/2002 16:20:32:15467: program name is qmail-scanner-queue.pl, version 1.15
12/12/2002 16:20:32:15467: incoming SMTP connection from via smtp from 127.0.0.1
12/12/2002 16:20:32:15467: w_c: mkdir
/var/spool/qmailscan/mail.linuxhardcore.com103972803242415467
12/12/2002 16:20:32:15467: w_c: start dumping incoming msg into
/var/spool/qmailscan/working/tmp/mail.linuxhardcore.com103972803242415467
[1039728032.57436]


Thanks.
I am really not sure what would be blocking but it seems to definitly be on mail
that has attachments.

-- 





-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to