Hi Johan, ok, if you do not get messages like this

> kernel: Out of memory: Kill process 9163 (mysqld) score 511 or sacrifice child

you are not running out of memory.

But this looks like it could be it:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1573478/
And there even seems to be a fix already in xenial-proposed.

Best regards,
Jakob

On 08.05.2016 09:30, Johan Kragsterman wrote:
> 
> Hi,Jakob!
> 
> 
> Thanks for stepping in here...
> 
> 
> 
> -----Jakob Unterwurzacher <jakob...@gmail.com> skrev: -----
> Till: ltsp-discuss@lists.sourceforge.net
> Från: Jakob Unterwurzacher <jakob...@gmail.com>
> Datum: 2016-05-08 00:23
> Ärende: Re: [Ltsp-discuss] Ang: Re: swap -again!
> 
> Hi Johan, do you see out of memory messages in the kernel log?
> 
> 
> 
> I can't say I do, but these are some msg I got:
> 
> May  7 19:13:48 ltsp102 kernel: [90371.938999] metacity[29159]: segfault at 
> 16b1000 ip 00007f2e5728f208 sp 00007fff859af250 error 4 in 
> libcairo.so.2.11400.6[7f2e5722c000+10e000]
> May  7 19:13:48 ltsp102 gnome-session-binary[29107]: Unrecoverable failure in 
> required component metacity.desktop
> May  7 19:13:53 ltsp102 kernel: [90377.420913] block nbd9: NBD_DISCONNECT
> May  7 19:13:53 ltsp102 kernel: [90377.422049] block nbd9: Receive control 
> failed (result -32)
> May  7 19:14:19 ltsp102 gnome-session-binary[8610]: Entering running state
> 
> 
> Another strange thing I got is that another machine with the exact same 
> hardware is freezing, so that one needs to be hard-rebooted, while the one I 
> mainly use is rebooting to login screen.
> 
> Regards Johan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Sat, May 7, 2016 at 9:09 PM, Johan Kragsterman 
> <johan.kragster...@capvert.se> wrote:
> 
> Hi, Alkis!
> 
> 
> -----Alkis Georgopoulos <alk...@gmail.com> skrev: -----
> Till: ltsp-discuss@lists.sourceforge.net
> Från: Alkis Georgopoulos <alk...@gmail.com>
> 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:
> Filename                                Type            Size    Used    
> Priority
> admin@ltsp102:~$ free
>               total        used        free      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 &#960;&#956;, 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  Size    Used    Priority
>> 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

Reply via email to