> What happens if you then do a graceful restart?

The memory consumption increases by about 1 megabyte for each child process every time 
I issued the USR1 signal. Which is kind of what I expected given Jens-Uwe Mager's 
explanation of DSO's failings with mod_perl.

I can always rotate my logs manually, or use the Apache rotatelogs program that 
Ri?ardas ?epas recommended, although if the "rotatelogs" program restarts the server 
I'll be back to square one - the program's man page just states that it doesn't kill 
the server, but does that mean that it doesn't restart it? 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.

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?

I take it that by far the most prudent course of action would be to role my own, and 
compile mod_perl statically. I may have to do just that, but I won't have the time to 
do so until December; consequently, I need a temporary fix to last about a month.

I'd like to thank everyone for helping me.

Have a great day, and any additional input will be greatly appreciated!



"G.W. Haywood" wrote:
> 
> Hi there,
> 
> What happens if you then do a graceful restart?

-- 
BLH
www.RentZone.org

Reply via email to