Re: NBD swap
Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Vagrant!
So my swap works right!
I'm trying to solve the Chromium and Firefox crashes that I've thought
due to swap issues (my fat clients has got 2GB of RAM).
Could be a problem due to bad disk performances considering that my LTSP
server is virtual? (on ESXI)
---
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