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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Timeout Problem

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-03-2005, 10:36 AM
bkonia bkonia is offline
Member
 
Join Date: Sep 2005
Posts: 16
Default Timeout Problem

I'm having a problem with LSWS timing out on my server. It seems that the problem is triggered when a user executes a PHP script that exceeds the LSWS timeout limit. After the first timeout, subsequent requests to other PHP scripts time out even if they are very simple scripts.

I'm guessing that what's happening is that the first script is using up all the available PHP connections and/or processes, and when the timeout occurs, it's not releasing those connections, which means that subsequent PHP requests would be waiting indefinitely for a connection to become available.

There's probably some setting that will fix this, but I'm not sure what to do. I just tried setting my "Max Idle Time" to 30. Previously this was not set, but I don't know if this will make any difference. I also tried setting "Initial Request Timeout" to 60. This was also previously not set.

I'm using LSAPI with:

Instances = 1
PHP_LSAPI_CHILDREN=100

Would it possibly be better to get rid of the PHP_LSAPI_CHILDREN setting, and set Instances = 100?

I know I'm just shooting in the dark and would appreciate some suggestions...
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request Timeout after 15 secs. slimak General 3 03-30-2007 11:09 AM
problem with php4 as fcgi both remote/local ts77 Install/Configuration 6 10-02-2006 04:46 PM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
Ruby on Rails/FCGI problem eweaver Install/Configuration 1 12-05-2005 09:56 AM
Problem setting on more Fast CGI app in addition of PHP superbarre.com Install/Configuration 2 01-21-2005 09:24 AM


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



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