Re: [Ltsp-discuss] Ang: Re: swap -again!
Hi Johan, do you see out of memory messages in the kernel log? On Sat, May 7, 2016 at 9:09 PM, Johan Kragsterman < johan.kragster...@capvert.se> wrote: > > Hi, Alkis! > > > -Alkis Georgopoulosskrev: - > Till: ltsp-discuss@lists.sourceforge.net > Från: Alkis Georgopoulos > Datum: 2016-05-07 20:24 > Ärende: Re: [Ltsp-discuss] swap -again! > > From http://manpages.ubuntu.com/lts.conf: > > > NBD_SWAP > > boolean, default False > > Set this to True if you want to turn on NBD swap. > > If unspecified, it's automatically enabled for thin clients with > > less than 300 MB RAM and for fat clients with less than 800 MB RAM. > > Your clients have more than 800 MB RAM, so they don't automatically get > a swap unless you specifically set NBD_SWAP=True in lts.conf. > > > > I already tried that, but it still look like this: > > admin@ltsp102:~$ sudo cat /proc/swaps > [sudo] password for admin: > FilenameTypeSizeUsed > Priority > admin@ltsp102:~$ free > totalusedfree shared buff/cache > available > Mem:7582448 1802804 2236020 1461384 3543624 > 4224156 > Swap: 0 0 0 > admin@ltsp102:~$ > > > Shouldn't it show something here if swap was configured? > > > > > > Note that even if you set a swap, by default it's just 512 MB, so it > won't save you if you think that your 8 GB of RAM isn't enough and that > the problem is indeed lack of free memory... > ...which I doubt. I'd suggest you look elsewhere for fixing the crashes, > e.g. Xorg/graphics drivers or kernel issues. > > > > > > Well, graphics drivers should be fine, since I ran the exact same hardware > on 14.04, kernel issues I don't know about. > > But I've seen a discussion about the authfile = /etc/ltsp/nbd-server.allow > > People still complain about this, last post was 16.03.28. This file is > refered to by the swap.conf, but doesn't not exist. Of coarse I can create > it myself, but I don't actually know what to put in there... > > > > > -- > Alkis Georgopoulos > LTSP developer > Professional LTSP support: alk...@gmail.com > > > On 06/05/2016 11:37 , Johan Kragsterman wrote: > > > > Hi! > > > > > > I tried asking a question about swap the other day, but nobody seems to > answer... > > > > So I try again: > > > > There seems to be no swap configured for my fat clients, since it looks > like this: > > > > admin@ltsp102:~$ sudo cat /proc/swaps > > Filename > > admin@ltsp102:~$ > > > > Type SizeUsedPriority > > admin@ltsp102:~$ sudo free > >totalusedfree shared buff/cache > available > > Mem:7582448 1976300 1930544 1416000 3675604 > 4099192 > > Swap: 0 0 0 > > admin@ltsp102:~$ > > > > > > nbd-server is up and running, connections are established: > > > > admin@ltsp102:~$ netstat -tu | grep nbd > > tcp0 0 192.168.20.102:55232server:nbd > ESTABLISHED > > tcp0 0 192.168.20.102:33850server:nbd > CLOSE_WAIT > > tcp0 0 192.168.20.102:55366server:nbd > CLOSE_WAIT > > > > > > System is an LTSP server KVM virtual machine on OmniOS with enough > resources, and the fat clients are quad core celerons with 8 GB DDR3 > memory. 8 GB is of coarse a lot, but there seem to be memory loss that > causes reboot to login screen, or get the entire client to freeze, which > forces a hard reboot. > > > > I checked some other resources, if I should configure swap through > ldm.conf, but since I didn't need that in 14.04, I don't understand why I > should need it now...? There is no ldm.conf file in > /var/lib/tftboot/"myclient", and it was not in 14.04, so this must all be > default then. > > > > Only thing I changed since 14.04 is that I now use another default GW, I > don't go through the LTSP server anymore. But the server responds to the > "server" ping in the client network, so I can't see that as a problem. > > > > So I would really appreciate some input here... > > > > > > Best regards from/Med vänliga hälsningar från > > > > Johan Kragsterman > > > > Capvert > > > > > > -- > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _ > 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] Ang: Re: swap -again!
Hi, Alkis! -Alkis Georgopoulosskrev: - Till: ltsp-discuss@lists.sourceforge.net Från: Alkis Georgopoulos Datum: 2016-05-07 20:24 Ärende: Re: [Ltsp-discuss] swap -again! From http://manpages.ubuntu.com/lts.conf: > NBD_SWAP > boolean, default False > Set this to True if you want to turn on NBD swap. > If unspecified, it's automatically enabled for thin clients with > less than 300 MB RAM and for fat clients with less than 800 MB RAM. Your clients have more than 800 MB RAM, so they don't automatically get a swap unless you specifically set NBD_SWAP=True in lts.conf. I already tried that, but it still look like this: admin@ltsp102:~$ sudo cat /proc/swaps [sudo] password for admin: FilenameTypeSizeUsedPriority admin@ltsp102:~$ free totalusedfree shared buff/cache available Mem:7582448 1802804 2236020 1461384 3543624 4224156 Swap: 0 0 0 admin@ltsp102:~$ Shouldn't it show something here if swap was configured? Note that even if you set a swap, by default it's just 512 MB, so it won't save you if you think that your 8 GB of RAM isn't enough and that the problem is indeed lack of free memory... ...which I doubt. I'd suggest you look elsewhere for fixing the crashes, e.g. Xorg/graphics drivers or kernel issues. Well, graphics drivers should be fine, since I ran the exact same hardware on 14.04, kernel issues I don't know about. But I've seen a discussion about the authfile = /etc/ltsp/nbd-server.allow People still complain about this, last post was 16.03.28. This file is refered to by the swap.conf, but doesn't not exist. Of coarse I can create it myself, but I don't actually know what to put in there... -- Alkis Georgopoulos LTSP developer Professional LTSP support: alk...@gmail.com On 06/05/2016 11:37 , Johan Kragsterman wrote: > > Hi! > > > I tried asking a question about swap the other day, but nobody seems to > answer... > > So I try again: > > There seems to be no swap configured for my fat clients, since it looks like > this: > > admin@ltsp102:~$ sudo cat /proc/swaps > Filename > admin@ltsp102:~$ > > Type SizeUsedPriority > admin@ltsp102:~$ sudo free > total used free shared buff/cache > available > Mem: 7582448 1976300 1930544 1416000 3675604 > 4099192 > Swap: 0 0 0 > admin@ltsp102:~$ > > > nbd-server is up and running, connections are established: > > admin@ltsp102:~$ netstat -tu | grep nbd > tcp 0 0 192.168.20.102:55232 server:nbd > ESTABLISHED > tcp 0 0 192.168.20.102:33850 server:nbd CLOSE_WAIT > tcp 0 0 192.168.20.102:55366 server:nbd CLOSE_WAIT > > > System is an LTSP server KVM virtual machine on OmniOS with enough resources, > and the fat clients are quad core celerons with 8 GB DDR3 memory. 8 GB is of > coarse a lot, but there seem to be memory loss that causes reboot to login > screen, or get the entire client to freeze, which forces a hard reboot. > > I checked some other resources, if I should configure swap through ldm.conf, > but since I didn't need that in 14.04, I don't understand why I should need > it now...? There is no ldm.conf file in /var/lib/tftboot/"myclient", and it > was not in 14.04, so this must all be default then. > > Only thing I changed since 14.04 is that I now use another default GW, I > don't go through the LTSP server anymore. But the server responds to the > "server" ping in the client network, so I can't see that as a problem. > > So I would really appreciate some input here... > > > Best regards from/Med vänliga hälsningar från > > Johan Kragsterman > > Capvert > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _ 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 -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Re: [Ltsp-discuss] swap -again!
From http://manpages.ubuntu.com/lts.conf: > NBD_SWAP > boolean, default False > Set this to True if you want to turn on NBD swap. > If unspecified, it's automatically enabled for thin clients with > less than 300 MB RAM and for fat clients with less than 800 MB RAM. Your clients have more than 800 MB RAM, so they don't automatically get a swap unless you specifically set NBD_SWAP=True in lts.conf. Note that even if you set a swap, by default it's just 512 MB, so it won't save you if you think that your 8 GB of RAM isn't enough and that the problem is indeed lack of free memory... ...which I doubt. I'd suggest you look elsewhere for fixing the crashes, e.g. Xorg/graphics drivers or kernel issues. -- Alkis Georgopoulos LTSP developer Professional LTSP support: alk...@gmail.com On 06/05/2016 11:37 πμ, Johan Kragsterman wrote: > > Hi! > > > I tried asking a question about swap the other day, but nobody seems to > answer... > > So I try again: > > There seems to be no swap configured for my fat clients, since it looks like > this: > > admin@ltsp102:~$ sudo cat /proc/swaps > Filename > admin@ltsp102:~$ > > TypeSizeUsedPriority > admin@ltsp102:~$ sudo free >totalusedfree shared buff/cache > available > Mem:7582448 1976300 1930544 1416000 3675604 > 4099192 > Swap: 0 0 0 > admin@ltsp102:~$ > > > nbd-server is up and running, connections are established: > > admin@ltsp102:~$ netstat -tu | grep nbd > tcp0 0 192.168.20.102:55232server:nbd > ESTABLISHED > tcp0 0 192.168.20.102:33850server:nbd CLOSE_WAIT > tcp0 0 192.168.20.102:55366server:nbd CLOSE_WAIT > > > System is an LTSP server KVM virtual machine on OmniOS with enough resources, > and the fat clients are quad core celerons with 8 GB DDR3 memory. 8 GB is of > coarse a lot, but there seem to be memory loss that causes reboot to login > screen, or get the entire client to freeze, which forces a hard reboot. > > I checked some other resources, if I should configure swap through ldm.conf, > but since I didn't need that in 14.04, I don't understand why I should need > it now...? There is no ldm.conf file in /var/lib/tftboot/"myclient", and it > was not in 14.04, so this must all be default then. > > Only thing I changed since 14.04 is that I now use another default GW, I > don't go through the LTSP server anymore. But the server responds to the > "server" ping in the client network, so I can't see that as a problem. > > So I would really appreciate some input here... > > > Best regards from/Med vänliga hälsningar från > > Johan Kragsterman > > Capvert > -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _ 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