Re: LTSP fat client freeze

Maxime Accadia <[email protected]> Mon, 4 Mar 2019 08:45:29 +0100 (CET)
Newsgroups gmane.linux.terminal-server.general
Message-ID <1962391610.2151930.1551685529238.JavaMail.zimbra@univ-grenoble-alpes.fr>
> Do you think this should be a default LDM configuration? 

Maybe, the network overhead is little. It just sends a null packet every now and then. It would be necessary if a lot of LTSP users were using statefull firewalls which seems to be the main cause of ssh hanging (https://superuser.com/a/1110734).

Some people argue that it should be the default : https://github.com/libfuse/sshfs/issues/77#issuecomment-422568075

There is also a way to fix this server side with ClientAliveInterval in sshd_config.

----- Mail original -----
De: "Dashamir Hoxha" <[email protected]>
À: "ltsp-discuss" <[email protected]>
Envoyé: Samedi 2 Mars 2019 10:51:28
Objet: Re: [Ltsp-discuss] LTSP fat client freeze



On Mon, Feb 25, 2019 at 3:47 PM Maxime Accadia < [ mailto:[email protected] | [email protected] ] > wrote: 


Hi, 

Just to share an experience. We had to debug a freezing on fat clients : on 18.04, Gnome was freezing after 10min inactivity. 

Usually, freezing is caused when NBD connection is lost ; it wasn't the case. 

Relation to inactivity suggested an issue with suspend / screensaver. So we disabled suspend, as did Alkis in a recent commit ( [ https://git.launchpad.net/ltsp/commit/?id=dc8fb26f26989f28c36ae69b1684adc63afb1640 | https://git.launchpad.net/ltsp/commit/?id=dc8fb26f26989f28c36ae69b1684adc63afb1640 ] ). The issue remained. 

Nothing in logs, both on client and server. It turned out it was sshfs hanging ; probably due to a timeout on a stateful firewall. When sshfs hangs in this way, there is no error. 

The solution was to use LDM_SSHOPTIONS="-o ServerAliveInterval=30" in lts.conf as recommended here : [ https://github.com/smheidrich/sshfs/blob/master/sshfs.rst#sshfs-hangs | https://github.com/smheidrich/sshfs/blob/master/sshfs.rst#sshfs-hangs ] 



Do you think this should be a default LDM configuration? 
Or it just happens in certain cases, and anyway it is just a workaround and some day may not be needed? 

Thanks, 
Dashamir 

BQ_BEGIN


Best, 

Maxime 


_____________________________________________________________________ 
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: 
[ https://lists.sourceforge.net/lists/listinfo/ltsp-discuss | https://lists.sourceforge.net/lists/listinfo/ltsp-discuss ] 
For additional LTSP help, try #ltsp channel on [ http://irc.freenode.net/ | irc.freenode.net ] 

BQ_END



_____________________________________________________________________ 
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: 
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss 
For additional LTSP help, try #ltsp channel on irc.freenode.net 



_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net