Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My wordpressblog produces http 500s on a small percentage of the requests. It doesn't seem to be tight to special urls, but it seems to happen clustered in time. i.e there are times when it happens more often for an hour or so, and then it stops happening for a couple of days.

I no probably nobody can tell me what is wrong with this description, but can anybody give me some tips how to debug this problem?

For example is there any way to extract some logging from wordpress? So far I only have the access log which comes from the apache running wordpress. And it only shows the http 500 no hint towards the reason for them.

share|improve this question

Do you have WP-Cache installed or some other caching plugin? I've seen WP-Cache throw 500 errors from time to time in the past, though since switching to WP-Super-Cache, they've gone away.

share|improve this answer
I do have a caching plugin installed: WP-Super-Cache. I disabled it for now, and will check if the http 500s go away. How did you identify the cache plugin being the bad guy? – Jens Schauder Nov 22 '09 at 6:24
Just trial and error - started disabling each plugin one by one to see who the culprit was. – EEAA Nov 22 '09 at 14:54
Still have the problem after disabling WP-Super-Cache – Jens Schauder Nov 30 '09 at 23:07

It may also be a problem with the web-server. On my setup of lighttpd with only two fastcgi instances serving the requests, I do sometimes get 500 errors that go away when I increase it to three fastcgi instances.

share|improve this answer
I hope it isn't the webserver, because I don't have much control over that :-( – Jens Schauder Nov 22 '09 at 6:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.