On Fri, 14 Jan 2005 [EMAIL PROTECTED] wrote:

> We have recently added a site to our server which hosts 30 other sites.
> The new site uses modperl & MySQL. After adding the new site, the server
> we were on (shared server at a national server farm) had major resource
> problems (too many connections & load avg up to 30 not infrequently) &
> eventually crashed. We moved to a new dedicated server which gave us more
> resources, but we're still experiencing intermittent sluggishness - load
> avg approaching 10 - and this is before this new site really becomes
> active. Maybe 20 logins per day currently - in 10 days we'll have ~ 4000.

Probably the biggest bang for the buck with the least effort or code
changes is to set up a lightweight (i.e. non-mod_perl) reverse proxy httpd
in front of the httpd that is running mod_perl:

http://perl.apache.org/docs/1.0/guide/strategy.html#Adding_a_Proxy_Server_in_http_Accelerator_Mode


Lots of other good tuning info at:

http://perl.apache.org/docs/1.0/guide/performance.html


HTH,
Larry Leszczynski


Reply via email to