I noticed this morning that the Web Server terminate message in sbbsctrl web pane has been "Waiting for 1 child threads to terminate" ... it has been waiting for 5 days! I have noticed in the past that if I update a
config the various servers recycle but wait for asll threads to terminate, so if a person has connected via http and goes away on vacation without closing their web browswer the web server will wait to recycle ... is there
a way to change this behaviour?
Re: Web Server Terminate
By: Mortifis to All on Mon Sep 02 2019 08:56:16
I noticed this morning that the Web Server terminate message in sbbsctrl pane has been "Waiting for 1 child threads to terminate" ... it has been waiting for 5 days! I have noticed in the past that if I update a
config the various servers recycle but wait for asll threads to terminate so if a person has connected via http and goes away on vacation without closing their web browswer the web server will wait to recycle ... is the a way to change this behaviour?
the server should time out after a period... the problem would be if the cli keeps refreshing the connection which will extend the timeout... it may be possible for you to force the server to terminate but that may leave some fi in a locked/unstable condition...
the server should time out after a period... the problem would be if the cli keeps refreshing the connection which will extend the timeout... it may be possible for you to force the server to terminate but that may leave some fi in a locked/unstable condition...
MRO wrote to Rampage <=-
the server should time out after a period... the problem would be if the cli keeps refreshing the connection which will extend the timeout... it may be possible for you to force the server to terminate but that may leave some fi in a locked/unstable condition...
i have been running synchronet for almost 20 years. cant believe
it's been that long. i use a script to kill synchronet a few
times a day AND i reboot the host a few times a day. it's just
to clean up any problems from doors, etc.
I noticed this morning that the Web Server terminate message in sbbsctrl web pane has been "Waiting for 1 child threads to terminate" ... it has been waiting for 5 days! I have noticed in the past that if I update a config the various servers recycle but wait for asll threads to terminate, so if a person has connected via http and goes away on vacation without closing their web browswer the web server will wait to recycle ... is there a way to change this behaviour?
Re: Web Server Terminate
By: Rampage to Mortifis on Mon Sep 02 2019 08:31 am
the server should time out after a period... the problem would be if the cli keeps refreshing the connection which will extend the timeout... it may be possible for you to force the server to terminate but that may leave some fi in a locked/unstable condition...
I would have thought, however
8/27 02:39:39p Recycling server...
8/27 02:39:41p Reading C:\sbbs\ctrl\sbbs.ini
8/27 02:39:41p Synchronet Web Server Revision 1.697
8/27 02:39:41p Compiled Aug 14 2019 05:04:37 with MSC 1921
8/27 02:39:41p Initializing on Tue Aug 27 14:39:41 2019 with options: d3
8/27 02:39:41p Loading configuration files from C:\sbbs\ctrl\
8/27 02:39:43p Web Server listening on socket 0.0.0.0 port 81
8/27 02:39:43p Web Server listening on socket :: port 81
8/27 02:39:43p Secure Web Server listening on socket 0.0.0.0 port 443
8/27 02:39:43p Secure Web Server listening on socket :: port 443
8/27 02:39:43p Web Server thread started
8/27 02:39:43p Recycle semaphore file (C:\sbbs\ctrl\sbbs.ini) detected
8/27 02:39:43p Waiting for HTTP logging thread to terminate...
8/27 02:39:43p HTTP logging thread started
8/27 02:39:43p HTTP logging thread received NULL linked list log entry
8/27 02:40:44p !TIMEOUT waiting for HTTP logging thread to terminate
8/27 02:40:44p Done waiting for HTTP logging thread to terminate
8/27 02:40:44p 0000 Waiting for 1 child threads to terminate
9/2 08:13:27a Web Server terminate
9/2 08:15:06a Web Server terminate
9/2 08:59:36a Web Server terminate
9/2 09:14:14a Web Server terminate
9/2 09:18:47a Web Server terminate
9/2 04:33:58p Web Server terminate
The entries from 9/2 are me trying to force terminate the web server but it is neither stopping no recycling. I do not want to kill SBBS just recycle the web server.
i have been running synchronet for almost 20 years. cant believe
it's been that long. i use a script to kill synchronet a few
times a day AND i reboot the host a few times a day. it's just
to clean up any problems from doors, etc.
That seems ..... ridic^H^H^H^H^H excessive.
Must be running under Windoze, I'd guess.
Re: Web Server Terminate
By: Rampage to Mortifis on Mon Sep 02 2019 08:31 am
the server should time out after a period... the problem would be if the cli keeps refreshing the connection which will extend the timeout... it may be possible for you to force the server to terminate but that may leave some fi in a locked/unstable condition...
I would have thought, however
8/27 02:39:39p Recycling server...
8/27 02:39:41p Reading C:\sbbs\ctrl\sbbs.ini
8/27 02:39:41p Synchronet Web Server Revision 1.697
8/27 02:39:41p Compiled Aug 14 2019 05:04:37 with MSC 1921
8/27 02:39:41p Initializing on Tue Aug 27 14:39:41 2019 with options: d3
8/27 02:39:41p Loading configuration files from C:\sbbs\ctrl\
8/27 02:39:43p Web Server listening on socket 0.0.0.0 port 81
8/27 02:39:43p Web Server listening on socket :: port 81
8/27 02:39:43p Secure Web Server listening on socket 0.0.0.0 port 443
8/27 02:39:43p Secure Web Server listening on socket :: port 443
8/27 02:39:43p Web Server thread started
8/27 02:39:43p Recycle semaphore file (C:\sbbs\ctrl\sbbs.ini) detected
8/27 02:39:43p Waiting for HTTP logging thread to terminate...
8/27 02:39:43p HTTP logging thread started
8/27 02:39:43p HTTP logging thread received NULL linked list log entry
8/27 02:40:44p !TIMEOUT waiting for HTTP logging thread to terminate
8/27 02:40:44p Done waiting for HTTP logging thread to terminate
8/27 02:40:44p 0000 Waiting for 1 child threads to terminate
9/2 08:13:27a Web Server terminate
9/2 08:15:06a Web Server terminate
9/2 08:59:36a Web Server terminate
9/2 09:14:14a Web Server terminate
9/2 09:18:47a Web Server terminate
9/2 04:33:58p Web Server terminate
The entries from 9/2 are me trying to force terminate the web server but it is neither stopping no recycling. I do not want to kill SBBS just recycle the web server.
I just committed a fix (hopefully) for this scenario. It's waiting forever for the http logging thread to terminate, and it's not going to, so you'll have to kill it in this instance. But after updating, hopefully it never happens again.
digital man
Sysop: | echicken |
---|---|
Location: | Toronto, Ontario |
Users: | 2,224 |
Nodes: | 6 (0 / 6) |
Uptime: | 11:05:06 |
Calls: | 14,143 |
Files: | 295 |
Messages: | 551,272 |