Browser info: Experience this forum at its smoothest with either Firefox or Chrome.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Site speed
10-28-2010, 08:26 PM
Post: #1
Site speed
Have spent the last few days trying to work out why this site slows to a crawl now and then Unsure

About 30hrs of reading later and endless Apache, MySQL and Linux help pages Ohmy it should be firing on all cylinders. Thumbsup

______________________________________________________________

For those who care; Apache (web server) spawns loads of processes to handle all the connections and in some cases they can consume vast amounts of RAM and don't reset themselves. With the dynamic content this site has (Wiki, Forum, Blog databases...) they just get larger and larger and larger until, BANG! the server implodes with lack of resources and cannibalises processes to keep itself going. Sometimes it can kill vital processes that are there to keep the web-server going.

The answer? Set the MaxServer limit in the Apache config file to a number that the server's RAM can handle. Simple, but yet somehow nothing in the world of Linux is explained very well. I suppose if it was easy it would be called Windows Dry

Bottom line: Apache should be configured to work in harmony with the site and server's capabilities. Not just blindly left to the default settings.

This site was only supposed to be a small hobby, not a full-on adventure in web-server IT! Loco

elootos - mediacenterhouse.com
This forum has no strict rules, just those I make up as I go along!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Site rules elootos 0 304 06-17-2011 10:19 AM
Last Post: elootos
  Site update elootos 0 440 03-17-2010 04:36 PM
Last Post: elootos

Forum Jump:

Images are copyright to mediacenterhouse.com except the Media Center logo which is © Microsoft. This site utilises the excellent Highslide
The mediacenterhouse board is powered by MyBB, © 2002-2012 MyBB Group.
site designed, engineered and powered by aideMTech.com
This site does not condone piracy; any content or procedures described are for the purpose of digitising media already bought and owned by the user(s).