Re: NBD swap
Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Alkis,
the point is simple...
On my log I see this:
Jan 31 12:35:08 Mate32LTSP nbd_server[16146]: Spawned a child process
Jan 31 12:35:08 Mate32LTSP nbd_server[13619]: virtstyle ipliteral
JAN 31 12:35:08 MATE32LTSP NBD_SERVER[13619]: CONNECT FROM 172.20.1.33,
ASSIGNED FILE IS /TMP/NBD-SWAP/172.20.1.33
Jan 31 12:35:08 Mate32LTSP nbd_server[13619]: Can't open authorization
file /etc/ltsp/nbd-server.allow (No such file or directory).
Jan 31 12:35:08 Mate32LTSP nbd_server[13619]: Size of exported
file/device is 536870912
Jan 31 12:35:08 Mate32LTSP nbd_server[13619]: Starting to serve
Jan 31 12:35:13 Mate32LTSP nbd_server[16146]: Spawned a child process
Jan 31 12:35:13 Mate32LTSP nbd_server[13633]: virtstyle ipliteral
Jan 31 12:35:13 Mate32LTSP nbd_server[13633]: connect from 172.20.1.33,
assigned file is /opt/ltsp/images/i386.img
But I've not such file on my server!
---
Giacomo Trovato
Il 29/01/2019 15:31 Alkis Georgopoulos ha scritto:
> Hi Giacomo,
>
> I'm not aware of any issues with swap on LTSP, especially with local swap, and I can't see why it would be different or more unstable than local swap in non-LTSP installations.
>
> I guess you could hire a professional to troubleshoot this instability for you...
>
> Best regards,
> Alkis
>
> Στις 29/1/19 4:03 μ.μ., ο Giacomo Trovato έγραψε: 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
_____________________________________________________________________
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