NEWS

[gelöst]iobroker sporadisch nicht erreichbar



  • Hallo,

    seit einigen Wochen habe ich massive Probleme mit iobroker, mal hängt die Visualisierung, mal komme ich nicht auf admin. Zugriff über Konsole funktioniert aber immer...
    Ich habe die Speicherkarte getauscht, das hat nichts gebracht.
    Raspi 3,
    npm 6.4.0
    node v8.11.4

    In den logs habe ich nichts auffälliges gefunden, aber bei dmesg kommt folgendes:

    [185981.568209] oom_reaper: reaped process 32672 (io.admin.0), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
    [185986.603338] dhcpcd invoked oom-killer: gfp_mask=0x14201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=(null),  order=0, oom_score_adj=0
    [185986.603354] dhcpcd cpuset=/ mems_allowed=0
    [185986.603368] CPU: 1 PID: 538 Comm: dhcpcd Tainted: G         C      4.14.52-v7+ #1123
    [185986.603371] Hardware name: BCM2835
    [185986.603393] [<8010ffd8>] (unwind_backtrace) from [<8010c240>] (show_stack+0x20/0x24)
    [185986.603403] [<8010c240>] (show_stack) from [<80785e84>] (dump_stack+0xd4/0x118)
    [185986.603413] [<80785e84>] (dump_stack) from [<80223f94>] (dump_header+0xac/0x208)
    [185986.603423] [<80223f94>] (dump_header) from [<802232fc>] (oom_kill_process+0x478/0x584)
    [185986.603431] [<802232fc>] (oom_kill_process) from [<80223c5c>] (out_of_memory+0x124/0x334)
    [185986.603440] [<80223c5c>] (out_of_memory) from [<80229718>] (__alloc_pages_nodemask+0x1060/0x11d8)
    [185986.603449] [<80229718>] (__alloc_pages_nodemask) from [<8021fb20>] (filemap_fault+0x558/0x694)
    [185986.603459] [<8021fb20>] (filemap_fault) from [<8033f0a4>] (ext4_filemap_fault+0x38/0x4c)
    [185986.603471] [<8033f0a4>] (ext4_filemap_fault) from [<802555a8>] (__do_fault+0x28/0x78)
    [185986.603480] [<802555a8>] (__do_fault) from [<80259210>] (handle_mm_fault+0x4d4/0xc20)
    [185986.603489] [<80259210>] (handle_mm_fault) from [<807a258c>] (do_page_fault+0x330/0x3a4)
    [185986.603497] [<807a258c>] (do_page_fault) from [<801012a0>] (do_PrefetchAbort+0x44/0xa8)
    [185986.603504] [<801012a0>] (do_PrefetchAbort) from [<807a2024>] (ret_from_exception+0x0/0x1c)
    [185986.603508] Exception stack(0xb93c1fb0 to 0xb93c1ff8)
    [185986.603513] 1fa0:                                     7e8cba2c 7e8cba56 00000006 00000018
    [185986.603519] 1fc0: 005e3b70 7e8cba44 00000038 7e8cba0c 005d3c70 00000006 00059ca8 00000018
    [185986.603525] 1fe0: 00059ea4 7e8cb9f8 000269d0 76f144b4 40000010 ffffffff
    [185986.603527] Mem-Info:
    [185986.603540] active_anon:211689 inactive_anon:11875 isolated_anon:0
                     active_file:32 inactive_file:38 isolated_file:0
                     unevictable:0 dirty:0 writeback:0 unstable:0
                     slab_reclaimable:1602 slab_unreclaimable:3443
                     mapped:147 shmem:11969 pagetables:1752 bounce:0
                     free:4078 free_pcp:0 free_cma:47
    [185986.603549] Node 0 active_anon:846756kB inactive_anon:47500kB active_file:128kB inactive_file:152kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:588kB dirty:0kB writeback:0kB shmem:47876kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
    [185986.603561] Normal free:16312kB min:16384kB low:20480kB high:24576kB active_anon:846708kB inactive_anon:47500kB active_file:128kB inactive_file:292kB unevictable:0kB writepending:0kB present:970752kB managed:949452kB mlocked:0kB kernel_stack:2048kB pagetables:7008kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:188kB
    [185986.603562] lowmem_reserve[]: 0 0
    [185986.603570] Normal: 242*4kB (UMEC) 127*8kB (UMEC) 208*16kB (UMEC) 133*32kB (UMEC) 57*64kB (UME) 16*128kB (UME) 3*256kB (UM) 1*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 16544kB
    [185986.603614] 12089 total pagecache pages
    [185986.603617] 0 pages in swap cache
    [185986.603620] Swap cache stats: add 0, delete 0, find 0/0
    [185986.603622] Free swap  = 0kB
    [185986.603625] Total swap = 0kB
    [185986.603627] 242688 pages RAM
    [185986.603630] 0 pages HighMem/MovableOnly
    [185986.603632] 5325 pages reserved
    [185986.603634] 2048 pages cma reserved
    [185986.603637] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
    [185986.603657] [  131]     0   131     3584      162       9       0        0         -1000 systemd-udevd
    [185986.603665] [  274]   100   274     4320      110      10       0        0             0 systemd-timesyn
    [185986.603671] [  315]   105   315     1625      105       9       0        0          -900 dbus-daemon
    [185986.603677] [  336] 65534   336     1324       60       6       0        0             0 thd
    [185986.603683] [  337]     0   337     5937      255      11       0        0             0 rsyslogd
    [185986.603689] [  340]     0   340     1853      105       7       0        0             0 systemd-logind
    [185986.603695] [  345]     0   345     1425       54       8       0        0             0 cron
    [185986.603701] [  348]   108   348     1601       89       8       0        0             0 avahi-daemon
    [185986.603707] [  354]   108   354     1601       77       7       0        0             0 avahi-daemon
    [185986.603714] [  382]     0   382     2534      130       8       0        0             0 wpa_supplicant
    [185986.603720] [  405]     0   405      524       34       4       0        0             0 hciattach
    [185986.603726] [  411]     0   411     1818       94       8       0        0             0 bluetoothd
    [185986.603732] [  538]     0   538      737      102       6       0        0             0 dhcpcd
    [185986.603738] [  552]     0   552     1150       31       7       0        0             0 agetty
    [185986.603744] [  567]     0   567     2552      138       8       0        0         -1000 sshd
    [185986.603750] [24679]     0 24679   133302   106854     437       0        0             0 iobroker.js-con
    [185986.603757] [14196]     0 14196     7294      231       9       0        0             0 systemd-journal
    [185986.603763] [17463]     0 17463    36521     8641      93       0        0             0 io.hm-rega.0
    [185986.603771] [29928]     0 29928     2882      185       9       0        0             0 sshd
    [185986.603777] [29939]  1000 29939     2414      167       8       0        0             0 systemd
    [185986.603783] [29942]  1000 29942     7414      300      12       0        0             0 (sd-pam)
    [185986.603789] [29949]  1000 29949     2882      182       9       0        0             0 sshd
    [185986.603795] [29952]  1000 29952     1685      333       7       0        0             0 bash
    [185986.603802] [32598]     0 32598    34707     5578      75       0        0             0 io.alexa2.0
    [185986.603808] [32612]     0 32612    29787     3147      57       0        0             0 io.hm-rpc.1
    [185986.603813] [32624]     0 32624    43703    14677     115       0        0             0 io.cloud.0
    [185986.603819] [32631]     0 32631    30422     3739      60       0        0             0 io.hm-rpc.2
    [185986.603825] [32641]     0 32641    30228     3330      58       0        0             0 io.hm-rpc.0
    [185986.603832] [32643]     0 32643    29564     2831      58       0        0             0 io.milight.0
    [185986.603837] [32653]     0 32653    33102     4027      63       0        0             0 io.tankerkoenig
    [185986.603843] [32660]     0 32660    35032     6079      75       0        0             0 io.tr-064.0
    [185986.603849] [32665]     0 32665    32840     4258      67       0        0             0 io.shelly.0
    [185986.603855] [32677]     0 32677    60355    31501     169       0        0             0 io.javascript.0
    [185986.603861] [  599]     0   599    29557     2951      58       0        0             0 node
    [185986.603867] [  605]     0   605    29024     2857      57       0        0             0 node
    [185986.603873] [  612]     0   612    28917     3718      68       0        0             0 node
    [185986.603878] [  613]     0   613    20736     3895      62       0        0             0 node
    [185986.603882] Out of memory: Kill process 24679 (iobroker.js-con) score 438 or sacrifice child
    [185986.603937] Killed process 32677 (io.javascript.0) total-vm:241420kB, anon-rss:126004kB, file-rss:0kB, shmem-rss:0kB
    [185986.664630] oom_reaper: reaped process 32677 (io.javascript.0), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
    pi@ioBroker-RasPi:/opt/iobroker $
    
    

    Ich bin da absoluter Laie, aber die out of memory macht mich schon stutzig...
    Hat hier jemand eine Idee woran das liegen kann oder wie ich den Fehler weiter einkreise?

    Andreas



  • @amg_666 Mehrmals Out of memory: RAM ist zu klein für die vielen Instanzen.



  • ich hab eine page_size "4096", free gibt aus

    
                  total        used        free      shared  buff/cache   available
    Mem:         949452      716092      129632       18196      103728      165820
    
    

    da wäre doch noch etwas Luft (???)



  • @amg_666 sagte:

    da wäre doch noch etwas Luft (???)

    Momentan ja, aber offenbar ist es zu wenig, sonst käme die Meldung "Out of memory" nicht.



  • Das scheint in der Tat ein Speicherproblem zu sein, eigentlich habe ich keine "hochkomplexen" Scripte aber es haut sporadisch immer den javascript Prozess raus mit der Meldung out of memory.
    Da ich noch einen Slave im Betrieb habe (der am Stromzähler sitzt und die Werte dort abgreift) habe ich die Instanz für Javascript jetzt auf den Slave umgezogen, seitdem läufts wieder stabil...


Log in to reply
 

Suggested Topics

  • 12
  • 8
  • 3
  • 5
  • 10
  • 9
  • 14
  • 8

1.1k
Online

32.4k
Users

39.0k
Topics

528.1k
Posts