Klaus,

I don't have any idea what your exact issue is, but I PROMISE switching to
pperl is only going to cause you more headaches.  You should only go to
pperl when you are sure your qpstmpd is working perfectly.  When qpstmpd is
running through regular perl the perl interpreter is being started for each
message that comes in - and that's a good thing, because it means that
everything gets cleared out and if you mess anything up you only mess it up
for one message.  Plus, when you are troubleshooting you don't have to keep
killing your processes to get qpsmtpd to reload.

Although once you have everything ironed out PPerl is a godsend.

GL,

Aran


> -----Original Message-----
> From: Klaus Zahradnik [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 03, 2004 5:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: qmail hangs wiht 99% CPU utilization
> 
> On Mon, Feb 02, 2004 at 10:09:30AM +0100, Klaus Zahradnik wrote:
> > On Mon, Feb 02, 2004 at 09:37:54 +0100, Peter J. Holzer wrote:
> > > On 2004-02-02 08:06:31 +0100, Klaus Zahradnik wrote:
> > > > Since a few days I have a weird problem.
> > > > My qmail installation did run really well for months now. Strangely
> > > > enough, after some problems with our Kaspersky installation, qmail
> > > > somethimes hangs.
> > > >
> > > > It will work fine for a while, maybe hours, and then this happenes:
> > > > (First line of top)
> > > > 25768 smtpd     25   0  7244 7240  1944 R    93,9  1,4   2:56   0
> > > > ./qpsmtpd [172.181.166.217 : acb5a6d9.ipt.aol.com]
> > > >  (Notice the 99.3% CPU utilization?)
> > > >
> > > > and the logfile entry doesn't show anything unusual.
> > >
> > > Well, it shows that the last thing this process and all others after
> it
> > > did was "running plugin  denysoft_greylist". So I'd suspect that it
> > > hangs somewhere in denysoft_greylist and sprinkle that liberally with
> > > debug output.
> > >
> > > What does
> > >
> > >     lsof -p 25768
> > >     strace -p 25768
> > >     ltrace -p 25768
> > >
> > > say?
> > Dunno. I had to kill the process to get the resources free. But as soon
> > as another one hangs, I'll post the output of above commands!
> >
> >
> > btw.. I don't know if that would help at all, but after the last hang, I
> > switched to pperl. Better? Worse? Insane?
> >
> Now my greylisting don't work no more. And my logfiles are "wierd"
> (http://kwz.at/test.log). The rest of the plugins seem to work alright.
> 
> Btw... the logfile was generated with loglevel 1!
> 
> best regards
> Klaus
> 
> 
> --
> Klaus Zahradnik       |   _     ___ _   _ _   ___  __
> Sysadmin iNet Gruppe  |  | |   |_ _| \ | | | | \ \/ /
> T: +43 2622 244 8032  |  | |    | ||  \| | | | |\  /
> H: +43 6991 444 8006  |  | |___ | || |\  | |_| |/  \
> I: www.inetgruppe.at  |  |_____|___|_| \_|\___//_/\_\


Reply via email to