On Thu, 16 Aug 2001 14:24:50 -0400
Dave Baker <[EMAIL PROTECTED]> wrote:

> Compare the memory requirement two sets of perl scripts against the
> memory requirement of doubling the total number of apache processes.
> 
> My personal opinion is that the latter will be a lot more expensive in
> resources.  You might do better do work to optimize/minimize the total
> number of mod_perl instances (separate, lightweight server for images
> and
> static content; turn off keep_alive unless it's definately giving
> positive
> results; etc).

Yes, do turn OFF keep_alive. 

This has the benefit of freeing up heavyweight mod_perl processes sooner.
I do this, and serve graphics from a separate, lightweight server
(thttpd), so I get the best of both worlds.  I'm able to keep the number
of mod_perl processes under 15, while still serving 40 hit per second,
because the bulk of the hits are on graphics, where a full mod_perl server
process is just a waste.

--
Jay Thorne Manager, Systems & Technology, UserFriendly Media, Inc.
http://www.userfriendly.org/

Reply via email to