Re: Memory footprint

2003-09-15 Thread Ask Bjørn Hansen
On Sunday, Sep 14, 2003, at 16:25 America/Los_Angeles, James H. Thompson wrote: I've been looking at the memory usage of qpsmtpd. When you are running a 100 copies, it starts to add up. If you used PPerl, wouldn't most of it get shared? I wrote a small test program to track the memory requiremen

qpsmtpd sessions won't disconnect/die

2003-09-15 Thread Bryan Scott
Hey all. I upgraded from 0.20 to 0.26 the other day. I'd made some custom changes/additions to some of the plugins (more logging and some regex matching), so I copies those over where necessary. I'm now seeing all kinds of sessions staying open, eating up resources. Any idea which plugin mig

Re: qpsmtpd sessions won't disconnect/die

2003-09-15 Thread Ask Bjørn Hansen
On Monday, Sep 15, 2003, at 07:51 America/Los_Angeles, Bryan Scott wrote: I upgraded from 0.20 to 0.26 the other day. I'd made some custom changes/additions to some of the plugins (more logging and some regex matching), so I copies those over where necessary. I'm now seeing all kinds of sessi

Re: qpsmtpd sessions won't disconnect/die

2003-09-15 Thread Bryan Scott
(Forgot to CC the list in my response to Ask.) >> I upgraded from 0.20 to 0.26 the other day. I'd made some custom changes/additions to some of the plugins (more logging and some regex matching), so I copies those over where necessary. >> >> I'm now seeing all kinds of sessions staying open, ea

Re: Memory footprint

2003-09-15 Thread Robert Spier
At Mon, 15 Sep 2003 04:01:22 -0700, Ask Bjørn Hansen wrote: > > > On Sunday, Sep 14, 2003, at 16:25 America/Los_Angeles, James H. > Thompson wrote: > > > I've been looking at the memory usage of qpsmtpd. > > When you are running a 100 copies, it starts to add up. > > If you used PPerl, wouldn'

Re: Memory footprint

2003-09-15 Thread Matt Sergeant
On 15 Sep 2003, at 12:01, Ask Bjørn Hansen wrote: use POSIX qw(strftime) consumed: 340 KB bytes Hmn, it's only used to format the date for the received header. I wonder if Time::Piece 1.x is lighter... use Net::DNS consumed: 1764 KB bytes Ouch. I think it's only used by some of the plugins, but

Re: Memory footprint

2003-09-15 Thread James H. Thompson
Robert Spier wrote: >At Mon, 15 Sep 2003 04:01:22 -0700, >Ask Bjørn Hansen wrote: >> >> >> On Sunday, Sep 14, 2003, at 16:25 America/Los_Angeles, James H. >> Thompson wrote: >> >> > I've been looking at the memory usage of qpsmtpd. >> > When you are running a 100 copies, it starts to add up. >> >

Re: Memory footprint

2003-09-15 Thread Robert Spier
> >> If you used PPerl, wouldn't most of it get shared? > >Yes. > > I'm wondering if this is the case, as it looks like pperl does a > fork for each child which would copy all of the perl code and data > to a new process -- i.e. no sharing of the perl code or data. Modern operating systems use co