Tagged - Apache

Tweaking and tweaking, Apache & MySQL – Not going well.

Monday, January 19th, 2009

These past few days I have been trying to tweak as much as possible with Apache and MySQL to get them to run right on my low memory 128MB VPS. This idea just didn’t work. The amount of traffic hitting my site it just couldn’t put up with. It crashed, crashed, and crashed some more. I didn’t feel like switching EVERYTHING around since ISPConfig doesn’t work with Lighttpd. So, I went the lazy route. I just upgraded the ram from 128MB to 256MB. It *should* be fine now, I will still be tweaking Apache & MySQL a bit more to see which config works the best with my new amount of memory. The VPS is still pretty cheap, I pay about $8/mo. No big deal there.

Remember, it’s not just Apache & MySQL that’s running on this box. I have my ircd, mail, php, ispconfig, the OS etc also running. It all consumes memory :D It’s not that I get a ton of traffic, but when 5-10 people hit my site at once, it goes down.

If anyone can give me suggestions on various MySQL & Apache configs, that would be appreciated, I have scoured the net to look for different configs, and when I find one that works well, I will post it here.

So far, it seems like my problems are pretty much solved, but I’d still like to tweak a bit to get the most out of it.

Thank you. :)