On Sun, 22 Aug 2004, Elliot F. wrote:

> On Sun, 2004-08-22 at 08:50 -0400, John Peacock wrote:
> How does speedycgi compare to pperl?  Is pperl being used more as a
> generic term for persistent perl processes?  Speedycgi has worked
> wonderfully for me (Debian Sarge 2.22-1) without any apparent problems.
> However, most of the discussions I've seen tend to mention pperl rather
> than speedycgi.

Just moved from PPerl to SpeedyCGI and AFAICT it seems ok. One thing I
have noticed is that SpeedyCGI keeps using the same PID numbers over and
over again. If I'm not mistaken (Matt?) PPerl didn't do this. It makes it
very difficult to examine just one smtp session. Previously is was easy
to:

$ grep ' <pid> ' /var/log/maillog | less

Now I can't do that. I previously used collapse log
(http://www.hjp.at/projekte/qpsmtpd/log-tools/) to collapse logs into
single lines for each qpsmtpd session, but this script now does not work
as it (of course) uses the pid.
  What makes it even harder to follow is that the pid shown by tcpserver
is not the same as the one that qpsmtpd runs under, which was previously
the case e.g. before I had:

Aug 21 00:00:15 rhea qpsmtpd: 1093042815.809789 tcpserver: pid 781 from 129.33.230.139
Aug 21 00:00:21 rhea qpsmtpd: 1093042821.866842 tcpserver: ok 781 0:146.87.255.99:25 
cmn1lsm5.beliefnet.com:129.33.230.139::3304
Aug 21 00:00:21 rhea qpsmtpd: 1093042821.883390 781 Connection from 
cmn1lsm5.beliefnet.com [129.33.230.139]

Now it's hard to follow:

Aug 23 00:00:01 rhea qpsmtpd: 1093215601.748068 tcpserver: pid 61409 from 
211.183.254.77
Aug 23 00:00:01 rhea qpsmtpd: 1093215601.900685 tcpserver: ok 61409 0:146.87.255.99:25 
:211.183.254.77::2449
Aug 23 00:00:01 rhea qpsmtpd: 1093215601.906301 59955 Connection from [211.183.254.77] 
[211.183.254.77]

This is causing severe problems for diagnosis :( I guess there's no way
around this?
  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