It was a little sluggish yesterday and I had to do a hard reboot ‘cause a soft reboot just hung there. I am running on very limited resources. I have only 256 MB of RAM and every little bit counts. I am on Slicehost by the way.

Previously there wasn’t any problems. It was until recently my friend Daryl have his new blog in my VPS and my new little personal project that’s a little database intensive.

I logged into the web console only to find error messages with MySQL processes. They’re out of memory. I hard rebooted it and tweaked MySQL settings to reduce table caching. Honestly I have no idea what I was doing. People said it worked and I just followed.

That sort of fixed the MySQL problems, but this evening my site become inaccessible again. This time, it was Apache. After reducing the number of Apache servers running, things seem to be doing better.

Here’s my Apache settings, it’s reduced to work on 256 MB RAM:

StartServers 2<br /> MinSpareServers 2<br /> MaxSpareServers 3<br /> MaxClients 70

Then the super cache plugin in WordPress started to misbehave. It just refuse to load anything in the cache after I upgrade super cache. I spent an hour on this one. And I learnt something – when in doubt, just reboot.

comments powered by Disqus