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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > internal server Error 500

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2012, 11:05 PM
pardis pardis is offline
Senior Member
 
Join Date: Jun 2011
Posts: 82
Default internal server Error 500

Hello :

when we use LS we had never seen internal 500 error , but when switch to Apache this error occur due customer bad rewrite role and ect.
I want know , any specify feature exist in LS for override bad role that cause this sort of error not occur or any setting in .htacess directive?

Thanks
Reply With Quote
  #2  
Old 03-07-2012, 01:39 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
litespeed + lsphp5 is optimized to reduce 500/503 errors.
for example, if one request is failed to serve by lsphp5 process, lsphp5's parent process may try start another lsphp5 process to serve the request, thus to reduce 500/503 error the end user can see. when one lsphp5 has handled many requests, the process itself may have problem e.g. occupying too many memory etc due to buggy php scripts. so in this case killing this process and start another new lsphp5 process to handle the new request, will reduce the chance of 500 errors.

you may still be able to see 500 error for example if your php script running for long time, but Server->Tuning->Connection Timeout (secs) is set to low. you can have a try to verify it.

Last edited by NiteWave; 03-07-2012 at 04:36 PM..
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 10:49 PM.



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