LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Random 503 error

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2011, 08:06 AM
fernandomm fernandomm is offline
Member
 
Join Date: Oct 2010
Posts: 27
Default Random 503 error

Hi,

I'm running PHP 5.2.17 ( no opcode cache ), Litespeed 4.0.20 and Cpanel 11.30.2.

A lot of customers complain about getting random 503 errors and i can see it in litespeed logs. This was not happening when running apache.

Check this, for example:

Code:
2011-08-18 13:42:30.109 [INFO] [****:18022-2#APVH_h.es] connection to [/tmp/lshttpd/APVH_h.es_Suphp.sock.141] on request #0, confirmed, 1, associated process: 86702, running: 1, error: Connection reset by peer!
2011-08-18 13:42:30.109 [NOTICE] [****:18022-2#APVH_h.es] POST request in process stage, fail with 503 
2011-08-18 13:42:30.109 [NOTICE] [****:18022-2#APVH_h.es] oops! 503 Service Unavailable
What should i do to fix these litespeed problems?

Thanks!
Reply With Quote
  #2  
Old 08-18-2011, 10:16 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
the error indicates 503 error was due to PHP script crashed. check the log entries before and after the 503 error in question to which php script was called. Also make sure LSPHP is matching with PHP on that server.
Reply With Quote
  #3  
Old 08-18-2011, 11:18 AM
fernandomm fernandomm is offline
Member
 
Join Date: Oct 2010
Posts: 27
There is nothing before it. After it, only the request line and the cookie len which does not clarify the cause of the problem.

I can do the same action with Apache without getting any error.

Also, php's error_log does not have any new entry.
Reply With Quote
  #4  
Old 08-24-2011, 06:41 AM
cmanns cmanns is offline
Senior Member
 
Join Date: Jun 2010
Posts: 100
Try stracing a php process of said vhost that crashes.

Also try re-building PHP and forcing a reinstall of latest LSWS.
__________________
-William C.Manns Owner of XenServ Co
Need LiteSpeed Hosting, Server Tuning, or Other Help I'm your guy

http://xenserv.com http://evilpuma.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:52 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.