Philip Mak <[EMAIL PROTECTED]> writes:
> My Apache with modperl is acting weird with respect to memory usage.
>
> When it first starts up, each process uses 10 MB of memory.
>
> As time goes on, these processes' memory usage grows and grows. Right now
> they're 20 MB (uptime 2 days). When I rebooted the machine two days ago,
> they were using 80 MB each (shared memory, though). MaxRequestsPerChild is
> set to 200.
What operating system?
I'd be inclined to stuff a lot more of the generic modules you use
(CGI, Template Toolkit, URI, Date modules) into startup.pl. The more
the merrier.
If a process starts at 10M and grows to 80M that's 70M per process,
_unshared_ for sure. Not good.
--
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star http://www.deep-purple.com
Interim CTO, web server farms, technical strategy
----------------------------------------