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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Increase Connection Timeout for specific script

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2010, 09:44 AM
Heritz Heritz is offline
New Member
 
Join Date: Oct 2010
Posts: 7
Default Increase Connection Timeout for specific script

Hi,

My LS tuning configuration is set to Connection Timeout: 120 secs. However, I need to run a specific PHP script which can take up to 10 minutes to complete, because it does an FTP connection/download to a remote server.

Is there any way to prevent LS from timing out without increasing the global timeout for all the domains?

I really don't want to set a global timeout of 600 for all the server.

Thanks!
Reply With Quote
  #2  
Old 12-10-2010, 10:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is not possible. same with apache.
Reply With Quote
  #3  
Old 06-15-2011, 04:56 AM
outeredge outeredge is offline
Member
 
Join Date: Sep 2010
Posts: 25
Is there a way around this when writing PHP scripts? i.e. set_time_limit, etc?

What needs to be sent back to the request to ensure litespeed doesn't timeout the process?
Reply With Quote
  #4  
Old 06-15-2011, 05:34 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
from Jan 20,2011, there is a solution from lsws:
refer:
http://www.litespeedtech.com/support...1&postcount=14
Reply With Quote
  #5  
Old 12-30-2011, 04:51 PM
bigjl bigjl is offline
Member
 
Join Date: Nov 2011
Posts: 10
Where exactly do I set this up?
My litespeed is 4.1.9.
Thanks.
Reply With Quote
  #6  
Old 12-30-2011, 09:01 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
.htaccess or httpd.conf
Reply With Quote
  #7  
Old 05-29-2012, 01:35 PM
adnet adnet is offline
Member
 
Join Date: Aug 2010
Posts: 20
Quote:
Originally Posted by NiteWave View Post
.htaccess or httpd.conf

where are these?

i have same problem
Reply With Quote
  #8  
Old 05-29-2012, 04:19 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
http://www.litespeedtech.com/support...ithout_timeout
Reply With Quote
  #9  
Old 05-30-2012, 02:06 AM
outeredge outeredge is offline
Member
 
Join Date: Sep 2010
Posts: 25
Quote:
Originally Posted by adnet View Post
where are these?

i have same problem
You probably shouldn't be using Litespeed if you don't know where these files are...
Reply With Quote
  #10  
Old 05-30-2012, 10:27 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Quote:
Originally Posted by outeredge View Post
You probably shouldn't be using Litespeed if you don't know where these files are...
Nah. that's why we have this forum for people to ask questions.
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 02:45 PM.



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