Re: [Ltsp-discuss] swap -again!

2016-05-07 Thread Alkis Georgopoulos
 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


[Ltsp-discuss] swap -again!

2016-05-06 Thread Johan Kragsterman

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