On Tue, 14 Sep 2004, Michael Holzt wrote:

> >   This has come up quite a few times, but with no resolution. Is anyone
> > else getting files filling up ~smtpd/tmp? Over the last few days we've had
> > literally gigabytes on a single relay.
>
> Hmm, qpsmtpd left 34 files since July 29th, but as i have a throughput of
> arround 2000 mails per day this is only a very very small percentage. I do
> not run spamassassin or clamav plugin.

This relay is handling 60-80K connections per day. The files seem to be a
repetition of the same email repeatedly failing e.g.

-rw-------  1 smtpd  nofiles     27812 11 Sep 15:29 1094912941:9059:4
-rw-------  1 smtpd  nofiles     29664 11 Sep 15:29 1094912954:9102:3
-rw-------  1 smtpd  nofiles  32672344 11 Sep 15:44 1094913843:11517:2
-rw-------  1 smtpd  nofiles  26232336 11 Sep 15:47 1094914022:11887:0
-rw-------  1 smtpd  nofiles  32672344 11 Sep 15:49 1094914160:12466:4
-rw-------  1 smtpd  nofiles       505 11 Sep 15:54 1094914445:13726:4
-rw-------  1 smtpd  nofiles      1117 11 Sep 15:54 1094914461:13387:12
-rw-------  1 smtpd  nofiles      5910 11 Sep 15:54 1094914463:13815:1
-rw-------  1 smtpd  nofiles  32672344 11 Sep 16:02 1094914928:15470:1
-rw-------  1 smtpd  nofiles         0 11 Sep 16:03 1094914987:15737:5
-rw-------  1 smtpd  nofiles  26232336 11 Sep 16:06 1094915162:15900:19
-rw-------  1 smtpd  nofiles         0 11 Sep 16:11 1094915477:17023:16
-rw-------  1 smtpd  nofiles         0 11 Sep 16:14 1094915685:17337:9
-rw-------  1 smtpd  nofiles  32672344 11 Sep 16:15 1094915735:17613:6
-rw-------  1 smtpd  nofiles  32672344 11 Sep 16:28 1094916498:20246:6
-rw-------  1 smtpd  nofiles  32672344 11 Sep 16:32 1094916717:20744:23

I see now that qpsmtpd is dying whilst waiting for qmail-scanner to
finish:

Sat, 11 Sep 2004 00:10:49 BST:69589: ini_sc: scanning message took 578.872712 seconds
Sat, 11 Sep 2004 00:10:49 BST:69589: q_s_c: Whoa! parent process is dead! (ppid=1) 
Better die too...

Hmmmm, maybe this is to do with my 120s timeout or PPerl? More
investigation required.
  Cheers.

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key

Reply via email to