Find attached the rotatelogs.pl script. My experience is that killing off
children after so much usage is a GoodThing (tm). So long as the parent
remains at a stable size, things should go ok.

Regards,
Christian

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of Buddy Lee Haystack
> Sent: Tuesday, November 07, 2000 3:27 PM
> To: Christian Gilmore
> Cc: 'G.W. Haywood'; 'mod_perl list'
> Subject: Re: Memory Usage
>
>
> Thanks Christian!
>
> Scripts would be nice.;-)
>
> I take it you've used DSO much more than I have, so I'm
> interested in any information in addition to that provided by
> the kind "G.W. Haywood" to the following:
>
> "What concerns me even more is the fact that I have Apache
> restart child processes after they each serve 100 requests
> [MaxRequestsPerChild 100] it's a RedHat default that is
> supposed to reduce memory leaks, but with mod_perl & DSO it
> may actually have the opposite effect. I can easily increase
> the value, or remove it altogether. Any recommendations?"
>
>
> Christian Gilmore wrote:
> >
> > > I'm leaning along the lines of just killing the
> > > process, rotating the logs, and restarting it. It should take
> > > no more than 5 seconds once a week a 4:00am.
> >
> > This is exactly what I do, except I have it scripted. The
> downside is that
> > your service is unavailable for a few seconds (maybe more
> depending upon
> > the length of time it takes for the parent to wipe out all the old
> > children). I'd be happy to share the script, provided my
> boss doesn't
> > mind. :)
> >
> > Regards,
> > Christian
>
> --
> BLH
> www.RentZone.org
>

rotatelogs.pl

Reply via email to