Page 1 of 1

Swap increase and SFTP fails

Posted: Thu 23 Jun 2022 1:07 pm
by HansR
On the b3190 I get SFTP errors. See logfile.
The swap file consumption increases. The number of processes increases (as observed before).

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 1:26 pm
by HansR
The SFTP fails have an hourly frequency, I will ask the provider first.

The swap increment may have to do with CUtils, a fix is out I regard it now as fixed unless otherwise reported.

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 1:39 pm
by mcrossley
Thanks for the update - a regular hourly failure does sound like the server dropping connections after an hour even if they are still active. Just something you may have to live with

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 3:09 pm
by freddie
Could connection lifetime perhaps be made a settable parameter that defaults to whatever it is hardwired to currently?

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 4:23 pm
by mcrossley
There is nothing on the client side to disconnect, just the opposite it sends a keep-alive message every 15 seconds by default.

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 4:49 pm
by freddie
In java you have some sort of connection object that you can call disconnect on. I guess c# does it differently?

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 7:31 pm
by mcrossley
Ah, I see, you're saying an in an option to force a disconnect/reconnect periodically?
But really that would no different from CMX being disconnected by the remote host and reconnecting as it is doing now would it?

Re: Swap increase and SFTP fails

Posted: Sun 26 Jun 2022 7:45 pm
by freddie
There seems to be a resource issue when a remote disconnect occurs. This way it is controlled by MX so resources should be managed and not leak?

Re: Swap increase and SFTP fails

Posted: Mon 27 Jun 2022 8:25 am
by HansR
The provider has confirmed that they disconnect all SSH processes a user has opened once per hour. So the reconnect by CMX is correct and works. I'll see if I can get some true monitoring on the system. The app is new to me so setting it up takes some time.