Site performance, Server errors, outages and tunings

1559 Replies, 449908 Views

I hope I've found the source of the "Server error"s. It was a hard procs per user limit in httpd.conf. Let's see if removing this limit helps.
The errors disappeared from error_log and the load jumped a bit up. Looks like apart from the overloaded disks (RAID 6 failure) the WHM limits was the problem #2.
There are two choices: either "Server error" or "Site down" (when overloaded). The latter occurs rarely, the former more often. Let's try the "if overloaded, it's overloaded, just restart apache" approach.
I'm pretty much happy with how it works. I noticed several mysql/php errors, but they happened because of a huge overload.

Also I adjusted my monitoring script.
You may have seen mysql errors. Found some issues with the data base. Trying to fix them.
Forgot to add - yesterday I discovered that VPS was completely down for unknown reason. I booted it up, but the admins were doing something in the system afterwards. No idea what and why.
Observed interesting mysql behaviour - when restarted it takes 500MB resident memory (and almost 3GB virtual), after running for 16 hours the RES is back to 17-20MB.
After the disaster yesterday (http://www.likera.com/blog/wp/archives/11068 ) everything looks fine and fast again.
Aaaaaannd two more outages!!! I reckon the hoster hates me, because I raise tickets and ping admins for every hiccup.

Limited the maximum number of processes again.
Removed a couple of modules from Apache and added buffered logging.

OTOH, I love performance tuning 😉

Possibly Related Threads…
Thread Author Replies Views Last Post
  An interesting read for site admins Max515 4 461 10 Jun 2025, 17:04
Last Post: Zooy
  Site reviews Like Ra 6 533 12 Feb 2025, 00:49
Last Post: Like Ra
  Site access blocked from some public places Like Ra 11 5,691 07 Apr 2024, 01:18
Last Post: Like Ra
  Site rendering on Apple devices Like Ra 85 15,374 13 Aug 2023, 17:25
Last Post: Like Ra
  How to improve the site navigation Like Ra 10 7,659 03 Aug 2023, 23:27
Last Post: Like Ra