Like Ra's Naughty Forum

Full Version: Site performance, Server errors, outages and tunings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(27 Jan 2011, 19:06 )krinlyc Wrote: [ -> ]
(27 Jan 2011, 00:11 )Like Ra Wrote: [ -> ]OK, fixed. RewriteRules Rule! ;D

You can do nasty things with RewriteRule s - hehe 😁

Yeah, they are almost like sendmail.cf 😋
cPanel daemons magically reappear out of nowhere and take all available memory. Need to put another script into cron to kill it periodically.
cPanel and lfd start - the web-server dies. I still can't find the script from and the time at which these progs start.
Discovered too many mysqld processes. Let's reboot the whole box ...
Rebooting definitely fixed something:

Swap: 2048276k total, 0k used, 2048276k free

Nothing swapped, never seen that before on this system.

Had to kill tomcat. No idea what spawns it. Java eats way too much memory and I do not use it.
Every day the system goes mad at ~12:05GMT. Nothing in cron. Probably something's happening with the hosting system - it's a VPS after all...
Tweaked caching dramatically reduced the load!
Checking the code again. Going to implement some load balancing tricks and combine the CSS and JS together. Then tweak the forum software.
I tested some more tweaks and tricks during the very high load today. What really helps is Free CDN (Coral) - the load reduced DRAMATICALLY! Why didn't I do (know) that before?
Whoooh .... more fine tuning, load balancing and cache tweaking. Let's see what Google say. The pages should load much quicker, especially when more images get saved on the CDN servers. The problem with the free CDN is the speed. But CDN should help with offloading a bit.