MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

invoked oom-killer



  • Hello Everybody,

    I hope I’m right here in this section! I trying to ma the MagicMiror a digital Picture frame by using either MMM-ImagesPhotos or MMM-BackgroundSlideshow. My problem ist, what ever picture module I’m using the Mirror crashes after some minutes and I only get a black screen and the mouse pointer. Without it works fine.

    When I have a look at “tail -f /var/log/messages and /var/log/Xorg.0.log” I got:
    “electron invoked oom-killer” (with electron (6.0.12));
    after I updated election to 8.2.0 I get: “Compositor invoked oom-killer”

    …and that said nothing to me!!!

    The pictures I’m using are scaled down to hight: 1080 x width: 1920 and about 1,2Mb large

    Can anybody please tell me what the problem is and how to fix it?
    Thanks!!!

    The whole log:

    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847333] Compositor invoked oom-killer: gfp_mask=0x7000c0(GFP_KERNEL_ACCOUNT), nodemask=(null), order=0, oom_score_adj=0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847344] Compositor cpuset=/ mems_allowed=0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847369] CPU: 3 PID: 4701 Comm: Compositor Tainted: G         C        4.19.75-v7l+ #1270
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847373] Hardware name: BCM2835
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847413] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847427] [] (show_stack) from [] (dump_stack+0xd4/0x118)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847442] [] (dump_stack) from [] (dump_header+0x80/0x250)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847453] [] (dump_header) from [] (oom_kill_process+0x358/0x3a8)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847462] [] (oom_kill_process) from [] (out_of_memory+0x134/0x36c)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847474] [] (out_of_memory) from [] (__alloc_pages_nodemask+0xfc0/0x1180)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847489] [] (__alloc_pages_nodemask) from [] (alloc_skb_with_frags+0xe4/0x1b4)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847500] [] (alloc_skb_with_frags) from [] (sock_alloc_send_pskb+0x214/0x23c)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847511] [] (sock_alloc_send_pskb) from [] (unix_stream_sendmsg+0x218/0x390)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847523] [] (unix_stream_sendmsg) from [] (sock_sendmsg+0x24/0x34)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847532] [] (sock_sendmsg) from [] (__sys_sendto+0xd4/0x114)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847540] [] (__sys_sendto) from [] (sys_send+0x28/0x30)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847547] [] (sys_send) from [] (ret_fast_syscall+0x0/0x28)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847551] Exception stack(0xc17b3fa8 to 0xc17b3ff0)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847557] 3fa0:                   00004000 00005ae0 0000001e 06ee9000 00005ae0 00004000
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847562] 3fc0: 00004000 00005ae0 06ee9000 00000121 00000000 00000000 00000000 05bd0630
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847566] 3fe0: 00000002 b0432a88 00000000 b6a8b6e0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847571] Mem-Info:
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585] active_anon:42127 inactive_anon:79120 isolated_anon:0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585]  active_file:15771 inactive_file:7051 isolated_file:32
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585]  unevictable:4 dirty:1 writeback:0 unstable:0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585]  slab_reclaimable:5557 slab_unreclaimable:11505
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585]  mapped:56509 shmem:68772 pagetables:2308 bounce:0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847585]  free:59451 free_pcp:45 free_cma:55795
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847595] Node 0 active_anon:168508kB inactive_anon:316480kB active_file:63084kB inactive_file:28204kB unevictable:16kB isolated(anon):0kB isolated(file):128kB mapped:226036kB dirty:4kB writeback:0kB shmem:275088kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847608] DMA free:236444kB min:16384kB low:20480kB high:24576kB active_anon:121064kB inactive_anon:279096kB active_file:784kB inactive_file:768kB unevictable:0kB writepending:0kB present:786432kB managed:762340kB mlocked:0kB kernel_stack:2792kB pagetables:6576kB bounce:0kB free_pcp:140kB local_pcp:0kB free_cma:223180kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847611] lowmem_reserve[]: 0 0 180 180
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847638] HighMem free:1360kB min:180kB low:1168kB high:2156kB active_anon:47468kB inactive_anon:36900kB active_file:63148kB inactive_file:27344kB unevictable:16kB writepending:4kB present:184320kB managed:184320kB mlocked:16kB kernel_stack:0kB pagetables:2656kB bounce:0kB free_pcp:20kB local_pcp:0kB free_cma:0kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847642] lowmem_reserve[]: 0 0 0 0
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847662] DMA: 466*4kB (UMEH) 240*8kB (UMEH) 222*16kB (UMEHC) 83*32kB (UMEHC) 36*64kB (UMEHC) 10*128kB (ME) 0*256kB 2*512kB (UC) 1*1024kB (C) 0*2048kB 54*4096kB (C) = 236808kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847741] HighMem: 112*4kB (UM) 28*8kB (UM) 22*16kB (UM) 19*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1632kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847801] 92586 total pagecache pages
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847807] 884 pages in swap cache
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847813] Swap cache stats: add 133391, delete 132507, find 16166/25761
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847817] Free swap  = 0kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847820] Total swap = 102396kB
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847824] 242688 pages RAM
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847828] 46080 pages HighMem/MovableOnly
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847832] 6023 pages reserved
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847836] 65536 pages cma reserved
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847842] Tasks state (memory values in pages):
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847846] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847876] [    103]     0   103     4779      946   200704      111             0 systemd-journal
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847883] [    143]     0   143     4610      191    45056      173         -1000 systemd-udevd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847894] [    291]   100   291     5595      254    61440      109             0 systemd-timesyn
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847900] [    330]     0   330     6378      308    53248       66             0 rsyslogd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847906] [    331]     0   331    15791      604    94208      259             0 udisksd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847913] [    334]   108   334     1476      304    36864       37             0 avahi-daemon
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847920] [    337]     0   337      923      165    32768       34             0 alsactl
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847926] [    339] 65534   339     1080      128    36864       30             0 thd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847934] [    340]   104   340     1681      370    40960       41          -900 dbus-daemon
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847940] [    347]     0   347     3278      334    57344       96             0 systemd-logind
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847945] [    352]     0   352     2677      222    45056       62             0 wpa_supplicant
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847952] [    361]   108   361     1443       13    32768       50             0 avahi-daemon
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847957] [    399]     0   399      726      271    28672       46             0 dhcpcd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847965] [    445]     0   445     9491      589    69632       67             0 polkitd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847973] [    457]     0   457     1994      183    40960       16             0 cron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847979] [    460]     0   460     6914      134    40960       17             0 rngd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847985] [    467]     0   467     5463      242    49152      123             0 netatalk
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847992] [    473]     0   473    14279      464    90112      205             0 afpd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.847997] [    474]     0   474     2522      276    45056       78             0 cnid_metad
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848005] [    502]     0   502     9376      462    61440        0             0 lightdm
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848011] [    503]     0   503     2673      156    45056      126         -1000 sshd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848016] [    526]     0   526     2775      367    45056       83             0 wpa_supplicant
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848022] [    575]     0   575    43679     6494   307200        0             0 Xorg
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848028] [    580]     0   580     1405       49    36864       94             0 login
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848037] [    584]   110   584   180712     3315   327680     9237             0 mysqld
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848043] [    585]     0   585    52745      704   135168      599             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848051] [    600]    33   600    52809      747   118784      589             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848057] [    601]    33   601    52809      751   118784      588             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848064] [    602]    33   602    52751      478   118784      623             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848069] [    603]    33   603    52751      501   118784      600             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848076] [    604]    33   604    52751      503   118784      598             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848082] [    684]     0   684     7477      395    61440        2             0 lightdm
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848089] [    692]  1000   692     3674      294    49152      101             0 systemd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848096] [    695]  1000   695     4203      179    53248      229             0 (sd-pam)
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848102] [    706]  1000   706    13781      403    94208      251             0 lxsession
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848108] [    715]  1000   715     1636      368    36864        6             0 dbus-daemon
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848114] [    741]  1000   741     1122       97    36864       55             0 ssh-agent
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848121] [    751]  1000   751    10903      618    81920       54             0 gvfsd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848126] [    756]  1000   756    13628      270    81920       75             0 gvfsd-fuse
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848133] [    762]  1000   762    15946     1314   102400      228             0 openbox
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848140] [    764]  1000   764    11921      401    98304      231             0 lxpolkit
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848147] [    772]  1000   772    39576     2746   192512      370             0 lxpanel
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848156] [    777]  1000   777    20513     1734   126976      325             0 pcmanfm
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848162] [    786]  1000   786     1122        1    32768       71             0 ssh-agent
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848169] [    788]  1000   788      485        0    28672       19             0 sh
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848176] [    792]  1000   792    56911     1545   331776     1962             0 zenity
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848182] [    802]  1000   802      485       13    32768        0             0 cmstart.sh
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848189] [    806]  1000   806     1218       34    36864       12             0 xcompmgr
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848197] [    832]  1000   832     2123      135    36864      191             0 bash
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848203] [    848]     0   848      534       15    24576       15             0 hciattach
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848210] [    851]  1000   851    19936      483    98304      225             0 gvfs-udisks2-vo
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848217] [    853]     0   853     2452      272    45056       22             0 bluetoothd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848224] [    860]  1000   860     6611      333    53248       63             0 menu-cached
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848230] [    865]  1000   865    10467      312    77824      163             0 gvfs-gphoto2-vo
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848236] [    868]     0   868     6677      161    45056       95             0 bluealsa
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848244] [    879]  1000   879    10076      300    69632      121             0 gvfs-goa-volume
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848250] [    885]  1000   885    10075      365    69632       82             0 gvfs-mtp-volume
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848256] [    889]  1000   889    14056      407    86016      109             0 gvfs-afc-volume
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848262] [    902]  1000   902    13303      406    81920       81             0 gvfsd-trash
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848268] [   1061]     0  1061     3051      203    49152      159             0 sshd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848275] [   1086]  1000  1086     3051      206    45056      136             0 sshd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848282] [   1089]  1000  1089     2122      532    40960       79             0 bash
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848289] [   1787]     0  1787     3051      403    49152      123             0 sshd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848296] [   1797]  1000  1797     3051      342    45056      119             0 sshd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848303] [   1800]  1000  1800     2122      512    45056      158             0 bash
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848312] [   1845]     0  1845    18033      967    98304      353             0 afpd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848320] [   1850]     0  1850     7318      598    65536       27             0 cnid_dbd
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848327] [   2797]  1000  2797    32832     2958   315392     2336             0 PM2 v4.2.3: God
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848335] [   2970]    33  2970    52751      742   118784      594             0 apache2
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848347] [   3143]  1000  3143    14412     1832    94208        0             0 display-im6.q16
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848353] [   3145]     0  3145     2507      347    49152       16             0 sudo
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848360] [   3150]     0  3150    10689      971   106496     2004             0 arandr
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848365] [   3158]  1000  3158    19993     1349   139264     1128             0 pi-packages
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848373] [   3175]  1000  3175     6499      506    49152      111             0 dconf-service
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848380] [   3206]  1000  3206    27524     4655   172032      434             0 alacarte
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848385] [   3212]  1000  3212    25541     2441   126976        0             0 pipanel
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848402] [   4614]  1000  4614     1752      427    40960        0             0 tail
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848412] [   4617]  1000  4617    31947     8923   274432        0             0 npm
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848418] [   4628]  1000  4628      487       93    32768        0             0 sh
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848425] [   4629]  1000  4629     1954      675    40960        0             0 run-start.sh
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848432] [   4642]  1000  4642    21600     6812   196608        0             0 node
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848438] [   4649]  1000  4649   131748    18869   724992        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848444] [   4652]  1000  4652    36844     4932   241664        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848451] [   4654]  1000  4654    36844     1298   155648        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848457] [   4683]  1000  4683    90509    12935   610304        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848463] [   4685]  1000  4685    52440     6771   278528        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848469] [   4694]  1000  4694   111246    51621   909312        0             0 electron
    Mar 28 22:23:41 raspberrypi kernel: [ 7400.848475] [   4707]  1000  4707    64005     3069   208896        0             0 electron
    Mar 28 22:23:42 raspberrypi kernel: [ 7400.869479] oom_reaper: reaped process 4694 (electron), now anon-rss:0kB, file-rss:0kB, shmem-rss:132476kB
    


  • @fabibo89 oom is out of memory

    add swap space to the pi…

    google search, easy



  • @sdetweil sounds easy! 😉 I’ll google it and let you know if it fixed it!



  • @sdetweil thanks! this seems to work! 🙂



  • @fabibo89 cool!..


Log in to reply