Re: NBD swap

Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]>
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
Hi Alkis, 

any comment on this? 

Thank you!

---

Giacomo Trovato

Il 22/01/2019 15:41 Giacomo Trovato ha scritto:

> Hi All, 
> 
> any hints?
> I'm more and more convinced that there are problems on the SWAP mechanism (NBD and local) of LTSP.
> 
> ---
> 
> Giacomo Trovato
> 
> Il 21/01/2019 23:25 Giacomo Trovato ha scritto: 
> 
> ...I've also checked the fstab file on my fat clients and there is no partitions mounted! 
> 
> Then I've tried to create a local swap partition on the disk and enabled the local swap on lts.conf, but I see zero swap space with top command.
> 
> ---
> 
> Giacomo Trovato
> 
> Il 21/01/2019 19:02 Giacomo Trovato ha scritto: 
> 
> Hi Alkis,
> 
> I still think to have issues with NBD swap.
> 
> I noticed that my browsers hang only on fat clients with 2 GB ram that use swap.
> 
> I've some fat clients that do not use swap and they do not crash.
> 
> I confirm that I've no folders of the clients in my tmp/nbd-swap.
> 
> I use only one NIC on my server (proxy DHCP mode).
> 
> Thank you!
> 
> ---
> 
> Giacomo Trovato
> 
> Il 17/01/2019 23:14 Vagrant Cascadian ha scritto: 
> On 2019-01-17, Giacomo Trovato wrote: I've set this on my lts.conf:
> 
> _USE_LOCAL_SWAP=False_
> _NBD_SWAP=True_
> 
> So, I assume (as per lts.conf manual) that my fat clients have swap if
> they have less of 800 MB of RAM (but on the manual  NBD_SWAP_THRESHOLD
> is referred to thin client only!).
> 
> But with top command I see swap o my fat clients that have 2GB of RAM! 
> By setting NBD_SWAP=True, you're configuring it to use NBD swap in all
> cases regardless of RAM capacity.
> 
> Then I've this on my syslog on the server:
> 
> _Jan 17 08:29:26 ltspmartini nbd_server[8988]: connect from
> 172.20.18.131, assigned file is /tmp/nbd-swap/172.20.18.131_
> _Jan 17 08:29:26 ltspmartini nbd_server[8988]: Can't open authorization
> file /etc/ltsp/nbd-server.allow (No such file or directory)._
> 
> In fact I don't have nbd-server.allow on my server and there are no
> folders inside tmp/nbd-swap. 
> That is fine. nbd_server checks for the presence of the nbd-server.allow
> file by default, but should behave sanely if it's missing.
> 
> I assume that NBD swap doesn't work and perhaps this is the reason why
> Chromium and Firefox sometimes explode on my fat clients. 
> From a fat client, use open a terminal and run "free -m". If it shows
> any swap at all, swap is working.
> 
> live well,
> vagrant 
> _____________________________________________________________________
> 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

_____________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.