Re: high CPU on "lost" processes with forkserver

2008-04-24 Thread Charlie Brady
On Wed, 23 Apr 2008, Hanno Hecker wrote: On Wed, 23 Apr 2008 20:32:39 +0200 Jose Luis Martinez <[EMAIL PROTECTED]> wrote: I've been bugging aroung the Qp code to find what's going on with these processes... What was my surprise when I saw: $SIG{ALRM} = sub { print $client "421 Co

Re: high CPU on "lost" processes with forkserver

2008-04-24 Thread Ask Bjørn Hansen
On Apr 24, 2008, at 11:02 AM, Charlie Brady wrote: Yes, it will be called if the timeout occurs while waiting to read input. But there is no timeout whenever any plugin is dispatched (and qpsmtpd spends most of its time in plugins). Ask said "Yeah, this is a pretty bad bug" in March 2007,

Re: high CPU on "lost" processes with forkserver

2008-04-24 Thread Brian Szymanski
Ask Bjørn Hansen wrote: > > On Apr 24, 2008, at 11:02 AM, Charlie Brady wrote: > >> Ask said "Yeah, this is a pretty bad bug" in March 2007, but I >> haven't seen anyone looking to fix it. > > We must be in pretty good shape when billions (or whatever) of email > transactions are processed every da

Re: high CPU on "lost" processes with forkserver

2008-04-24 Thread Matt Sergeant
On 24-Apr-08, at 5:52 PM, Brian Szymanski wrote: Ask Bjørn Hansen wrote: On Apr 24, 2008, at 11:02 AM, Charlie Brady wrote: Ask said "Yeah, this is a pretty bad bug" in March 2007, but I haven't seen anyone looking to fix it. We must be in pretty good shape when billions (or whatever) of em

Re: high CPU on "lost" processes with forkserver

2008-04-24 Thread Peter J. Holzer
On 2008-04-24 18:49:39 -0400, Matt Sergeant wrote: > I think the core used to do something like this: > > Index: lib/Qpsmtpd.pm > === > --- lib/Qpsmtpd.pm(revision 876) > +++ lib/Qpsmtpd.pm(working copy) > @@ -390,7 +390,10 @@