Intermittent 500 errors
  1. Forums
  2. General
  3. General Discussion
  1. instance
  2. Wednesday, 09 December 2015
  3.  Subscribe via email
I have a strange problem and I have no idea if CL is involved or not. I have a customer site that serves up a relatively simple page, a visitor response form in Wordpress. Works fine about 87% of the time. It takes about 2.5 seconds to deliver the page. The remaining 13% of he time, the server sends a 500 error, but there is no information as to what\'s going on. Nothing in the error logs, either OS or Apache. No faults in CL.

Two questions:
1. Anyone have a clue as to what\'s going on?
2. Is there someplace else I can look for a hint as to what\'s going on.
Rate this post:
  1. 09.12.2015 13:12:22
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
Definitely there should be some errors in logs, in some cases error_log could be stored in same directory where wordpress is installed (or directory where PHP script is located). Check them please.

Also, check if customer is not hitting any lve limits, for example with:

 lveinfo --period=1h --id=UID
  1. 10.12.2015 08:12:44
  2. # 2
instance Accepted Answer
Posts: 3
Joined: 09.12.2015
Thanks for the suggestion, Bogdan.

The root error_log had nothing, so I did a find on error_log, just in case the application was calling itself somewhere. Found a few errors, all of them months old.

lveinfo is clean:

 lveinfo --period=1h --id=685

I suspect it's an application error, will look at scanning the code for calls to header() and see if I can find anything. I also tried looking at memory but when the page serves correctly peak use is only 32M.
  1. 10.12.2015 15:12:40
  2. # 3
instance Accepted Answer
Posts: 3
Joined: 09.12.2015
I\'ve set his site up on a box without CL installed, and it\'s exhibiting the same behaviour, although less frequently. Either way CL has been eliminated as a source of the issue. On to eliminating the next variable...

Thanks again for the help.
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.