Re: NBD swap
Vagrant Cascadian <[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <87r2dbnd8l.fsf@ponder> |
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
signature.asc
(application/pgp-signature, 227 B)
-----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXED+OwAKCRDcUY/If5cW qrV0AP9E86tOI1KX3YYiAy1yyrltLit1E6ffoJlQVmpZnJ3EEQD+JEyhBivQU1Mr TWkX4hqN5j0w4yD02CR91G1qDoPUpAQ= =W8iw -----END PGP SIGNATURE-----