> Ok. I finally got mod_perl doing what I want it to do.
> Except for one problem. after anywhere from 10 minutes, to half an hour,
on a
> server with 768megs of ram, it starts eating swap.
>
> How can I keep the processes small and not growing to ungodly sizes (13
megs
> per process, unsure of how much of that is shared)?
> I've looked at different documentation, but the methods they give only
slow
> the use of swap, and the processes keep growing, yet slower..
Your processes will grow over time. You can prevent this from being a
problem by fixing the things in your code that cause them to grow quickly,
and by using something like Apache::SizeLimit to kill processes that get too
big, replacing them with fresh, smaller processes. Both of these are
documented in the mod_perl guide.
Using up 768 MB in 10 minutes is pretty extreme, and probably means you
either have something you can fix in your code or are allowing Apache to
start too many processes.
- Perrin