Gnuru.org
Productive Linux


Subscribe

 Subscribe in a reader

Enter your email address:

Delivered by FeedBurner


Site Crashes: The Problems of Getting Popular
30 October 2008 @ 16:44 GMT
by Paul

You might have noticed that this site has crashed a couple of times. I did wonder whether I was getting the dubious honour of a DoS attack, but I don't think so. The problem is that the default Apache set up is designed for 'performance' and assumes that you have a server with serious oomph.

This server isn't one of those.

To fix this problem I've made a couple of changes. The first has been to limit the number of Apache 'children' and the amount of time that each connection stays open. I've, more or less, followed this advice.

To reduce database hits and the amount of time Apache has to spend waiting for content, I've started using Apache's new cache module.



Leave a comment:

Are you human?