It took 14 days but I finally had jivelite killed by the linux Out Of
Memory killer (OOM).
Code:
--------------------
tc@piCorePlayer:~$ dmesg
[1224045.039353] kthreadd invoked *oom-killer*: gfp_mask=0x2000d0, order=1,
oom_score_adj=0
[1224045.039374] kthreadd cpuset=/ mems_allowed=0
[1224045.039401] CPU: 3 PID: 2 Comm: kthreadd Tainted: G C
4.1.20-piCore_v7+ #1
[1224045.039409] Hardware name: BCM2709
...
[1224045.040070] [ 1186] 0 1186 763 401 6 0
0 0 jivelite.sh
[1224045.040083] [26268] 0 26268 19472 16095 42 0
0 0 jivelite
[1224045.040097] *Out of memory: Kill process 26268 (jivelite) score 66 or
sacrifice child*
[1224045.040111] *Killed process 26268 (jivelite)* total-vm:77888kB,
anon-rss:62684kB, file-rss:1696kB
--------------------
The jivelite process was only using 78M of memory, which is no where
near the available physical memory and I'm not running squeezelite or
shairport-sync on this rpi. Weird!
Unfortunately, you can't intercept the SIGKILL signal and jivelite
doesn't release the framebuffer when it is killed like that. There is
no way that I can find to disable OOM, you can change how it scores the
processes to be nuked, but with so few processes to choose from,
jivelite would still be elected.
I've created a swap partition and removed nozswap and noswap from
cmdline.txt to what happens to memory usage and OOM.
Ralphy
*1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=103330
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix