500 internal server error
I'm a contributor to a popular blog, and the site administrator has been getting frequent 500 internal server errors when updating / publishing posts. He'e running 2.9.2 (I know, he's going to upgrade soon) and the Atahualpa theme. He probably uses about 30 categories and 200-300 tags total. I'm not sure who his host is, but when he contacted him, they responded with the following:
The reason you receive the 500 error messages is because your site has been hitting the cap of 15 running processes. Whenever this happens any additional requests will be denied until a spot opens up. I noticed you had some long running accesses at your index.php. There were 6 index.php processes running on the server under your account with the shortest being 11 minutes and the longest being 113 minutes. Normally, when you access a site it generates a single running process for a moment and then once the site has loaded the process ends. This does not appear to be the case as your site is keeping these processes open.
I have added the following entry to your .htaccess file:
RLimitNProc 25
This will raise your cap on running processes to the the server hard limit of 25. This gives you an additional 10 processes and should solve or alleviate your issue. If the issue continues, I would advise you to look at your website first as that is the source of the issue.
Searching online about this problem brings results all over the board, and it seems there is a big debate about whether 500 errors are host or WP problems. I imagine it's probably neither, but rather a plugin or theme issue.
Does anyone have a recommendation for common steps to take to find and then solve the problem? Thanks!
"Learn something new every day to make up for all the things you forget."