Gnuru.org
Productive Linux


Subscribe

 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Login
Login:
Password:



Don't have an account?
Sign up to Gnuru.org
Forgot your password?

Whoops! I Crashed the Server!
5 July 2010 @ 21:10 BST
by Paul

You might have noticed that this site has been a bit slow in the last few days.

That's because of a recent rise in traffic thanks to a couple of articles that have proved popular.

The sluggishness is despite the fact that the server is working a lot better than it was a couple of weeks ago; I improved part of the internal caching system, which you can read all about here.

Even so, the server hardware can't cope.

The key problem with this server is memory; lots more is needed. It is, of course, possible to upgrade, but this site makes no money. Zero, zip, zilch, nada. That's right, no money. The advertisements you see here don't come anywhere near paying for running costs. In fact, they don't cover the hosting, or anything. So I don't have much incentive to upgrade the server. If it's a bit slow for a few days, so be it.

Recently, I've also improved the way Apache works, and most notably the way it caches HTML pages (completely different from the caching referred to above). You can read about that here.

Caching properly is an art form. Here, I'll be going for speed and low-server load over what "makes sense", therefore you might see a few anomalies - for example, when you submit a comment, it might 'disappear' for a few minutes until the cache is refreshed.

Happy hacking!




Leave a comment:

Are you human?