Clients not shutting down

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Clients not shutting down

Postby francisco.garcia » Mon Nov 01, 2021 3:42 pm

Hi, we are running Servoy 2020.12.1 -releaseNumber 3623 over Apache Tomcat/7.0.76 and we are facing a problem.
When clients close our solutions from the "x" button on the navigator those clients kept connected and the Servoy Admin page shows them with status "No Websockets".
This behaviour did not happen in the past, clients could close their sessions whenever they want and it didn't matter if they did this from the "x" button nor from the "Close Session" button.
This causes the accumulation of bunch of clients and at some point the server freezes.
Please help.
Thanks in advance.
I attach our network settings.
Attachments
Captura.PNG
Captura.PNG (24.33 KiB) Viewed 4331 times
francisco.garcia
 
Posts: 16
Joined: Tue Jan 09, 2018 3:40 pm

Re: Clients not shutting down

Postby Richard1521662995 » Wed Nov 03, 2021 9:12 pm

Hi,

Get the exact same problem from time to time. Hit the problem this morning, had imported my solution yesterday. Restarted Tomcat and users now disconnecting as expected. Beginning to wonder if this behaviour is linked to importing a solution.

Servoy 2021.3.0.3642
Tomcat 9.0.53

Richard
Richard Clarke
acss.co.uk
Richard1521662995
 
Posts: 43
Joined: Wed Mar 21, 2018 10:09 pm

Re: Clients not shutting down

Postby Andrei Costescu » Fri Nov 12, 2021 9:09 am

It looks like you are using NG client. In this case the setting "sablo.window.timeout.secs" from "NG Client Settings" is the one that should matter.
But that "No Websockets" message is unexpected indeed. Something seems to keep those clients from getting cleaned up.

If you have this happen again please take a sequence of a 2-3 stackdumps some time (let's say 30 sec) apart from the "Dump the current stack/systeminfo" link of the admin page. It should show what the solution or clean-up code is doing.
And then either create a case or post it here if you like.

But you are not using the latest version, so there is a possibility that this problem is already fixed.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Clients not shutting down

Postby steve1376656734 » Wed Nov 24, 2021 10:02 am

Could this be the same issue we are experiencing and logged as SVY-15862? It is caused by a deadlock in the hsqldb driver and clients can’t drop any in-mem tables that they have created on exit. This also results in clients “hanging around” with the “No websockets” message until eventually the server dies and needs a restart.
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 339
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Clients not shutting down

Postby Andrei Costescu » Wed Nov 24, 2021 10:40 am

It is possible, but we cannot know for sure without stack dumps.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Clients not shutting down

Postby jcompagner » Wed Nov 24, 2021 10:49 am

if you are using in mem tables then yes this could happen especially when also using transactions.

if you are using 2021.06 you can try to use this update.zip on top of a 06 installation: https://build.servoy.com/latest/servoy_ ... update.zip (this zip works for 09 until around 1st of december then this link won't work anymore for 09)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8868
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Server

Who is online

Users browsing this forum: Bing [Bot] and 2 guests