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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > "Apply Changes / Graceful Restart" change?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2009, 12:36 PM
kc8yds kc8yds is offline
Member
 
Join Date: Apr 2008
Posts: 35
Default "Apply Changes / Graceful Restart" change?

any chance in a future update you can make the graceful restart keep the old process running until all transfers have finished while starting a new one (with the updated configuration) for all new connections?


i hate rebooting the server while 150-200 people are in mid download of a video file causing all their downloads to fail this would be a great feature for anyone using litespeed on a server handling large files that are being downloaded and get cut mid download by a reboot

Last edited by kc8yds; 08-03-2009 at 12:39 PM..
Reply With Quote
  #2  
Old 08-03-2009, 12:49 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
I requested this before. Hope George adds it soon.

Last edited by anewday; 08-03-2009 at 12:59 PM..
Reply With Quote
  #3  
Old 08-03-2009, 01:54 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Right now, LSWS wait up to 5 minutes for a request to finish. Should be enough for most situations.
Reply With Quote
  #4  
Old 08-03-2009, 01:58 PM
kc8yds kc8yds is offline
Member
 
Join Date: Apr 2008
Posts: 35
with php requests?


if i do a graceful restart the connections graph/stat goes right to 0 --- all downloads get reset

(downloads are handled dynamically)
Reply With Quote
  #5  
Old 08-03-2009, 04:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
The real time statistics will not include the connections from old LSWS instance. So, you should not use that as a reference. Try a real download.
Reply With Quote
  #6  
Old 08-03-2009, 10:46 PM
kc8yds kc8yds is offline
Member
 
Join Date: Apr 2008
Posts: 35
if i have a download going and do a graceful restart it ends immediately no 5 minutes given for it to finish

it's like this on 3.x 4.0 and 4.1rc -- enterprise and standard versions and has been like this as long as i can remember on 5 different servers


EDIT:--- looks like in 4.1rc it gives about 15 seconds and then closes -- no 5 minutes -- all previous versions close out right away and do not even give the 15 seconds

Last edited by kc8yds; 08-03-2009 at 11:31 PM..
Reply With Quote
  #7  
Old 08-04-2009, 12:36 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Same here. Even 5 minutes is not long enough. Would it hurt to have it set to until the download finishes?
Reply With Quote
  #8  
Old 08-04-2009, 10:47 PM
kc8yds kc8yds is offline
Member
 
Join Date: Apr 2008
Posts: 35
pretty sure this shows it waiting 20 seconds then killing the old processes connections

why not let them finish..


2009-08-05 00:42:25.741 [NOTICE] Server restart request from admin interface!
2009-08-05 00:42:25.742 [NOTICE] [Child: 3347] Start shutting down gracefully ...
2009-08-05 00:42:25.744 [NOTICE] [Child: 3345] Start shutting down gracefully ...
2009-08-05 00:42:55.001 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 3347 !
2009-08-05 00:42:55.108 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 3345 !
2009-08-05 00:42:55.168 [NOTICE] [PID:3343] Server Stopped!
Reply With Quote
  #9  
Old 08-04-2009, 11:27 PM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
Quote:
Originally Posted by kc8yds View Post
2009-08-05 00:42:25.742 [NOTICE] [Child: 3347] Start shutting down gracefully ...
2009-08-05 00:42:55.001 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 3347 !
should be waiting 30 seconds instead of 20 seconds
Reply With Quote
  #10  
Old 08-04-2009, 11:33 PM
kc8yds kc8yds is offline
Member
 
Join Date: Apr 2008
Posts: 35
yes that was a typo on my part

but it's still not the claimed "5 minutes" and i see no reason for it not to let it completely finish (say a 2 gb file is being downloaded whats the point in just giving 5 minutes...)
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:19 PM.



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