FHEM hohe Speicherauslastung

Begonnen von gloob, 11 Juni 2019, 13:17:57

Vorheriges Thema - Nächstes Thema

gloob

Hallo,

Gibt es eine Möglichkeit herauszufinden, warum FHEM eine große Speicherauslastung hat?
Der Speicherverbrauch steigert sich immer im laufe der Tage, wenn ich FHEM nicht neu starte.

top - 13:19:17 up 6 days, 14:48,  1 user,  load average: 0.70, 0.39, 0.25
Tasks:  23 total,   1 running,  22 sleeping,   0 stopped,   0 zombie
%Cpu(s):100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :   524288 total,    21540 free,   431024 used,    71724 buff/cache
KiB Swap:  1048576 total,   743848 free,   304728 used.    93264 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                               
14767 fhem      20   0  460512 185872   4412 S   0.0 35.5   3:33.15 perl                                                                                                   
14766 fhem      20   0  453948 178992   4412 S   0.3 34.1   2:49.72 perl                                                                                                   
14700 fhem      20   0  280076  88924   7960 S   3.0 17.0  75:24.35 perl                                                                                                   
14724 fhem      20   0  700836  33680  11344 S   0.0  6.4   1:02.54 node /usr/bin/a                                                                                       
14731 fhem      20   0  430524  26136   4544 S   1.0  5.0  83:57.74 perl                                                                                                   
1516 postfix   20   0   83252   6440   5676 S   0.0  1.2   0:00.00 pickup                                                                                                 
14761 fhem      20   0   47028   4172   4008 S   0.0  0.8   0:01.28 ssh                                                                                                   
    1 root      20   0   56860   4028   3232 S   0.0  0.8   0:02.75 systemd                                                                                               
   43 root      20   0   46096   4020   3872 S   0.0  0.8   0:01.41 systemd-journal                                                                                       
  140 Debian-+  20   0   58908   3208   1296 S   0.0  0.6   4:10.66 snmpd                                                                                                 
1731 root      20   0   41040   3096   2604 R   0.3  0.6   0:00.20 top                                                                                                   
  366 root      20   0   19392   1936   1596 S   0.0  0.4   0:00.06 bash                                                                                                   
  103 root      20   0   20356   1532   1332 S   0.0  0.3   0:00.01 dhclient                                                                                               
  319 root      20   0   81184    832    724 S   0.0  0.2   0:02.22 master                                                                                                 
   69 root      20   0   27996    576    508 S   0.0  0.1   0:00.72 cron                                                                                                   
   71 message+  20   0   45132    152      0 S   0.0  0.0   0:00.06 dbus-daemon                                                                                           
   68 root      20   0  250116    128      0 S   0.0  0.0   0:00.11 rsyslogd                                                                                               
  322 postfix   20   0   83300    120     24 S   0.0  0.0   0:00.46 qmgr                                                                                                   
   70 root      20   0   46484     80      0 S   0.0  0.0   0:01.13 systemd-logind                                                                                         
  144 root      20   0   67756     72     68 S   0.0  0.0   0:00.01 login                                                                                                 
  147 root      20   0   69956     64     64 S   0.0  0.0   0:00.00 sshd                                                                                                   
   64 root      20   0   49872      0      0 S   0.0  0.0   0:00.72 rpcbind                                                                                               
  143 root      20   0   12660      0      0 S   0.0  0.0   0:00.00 agetty
Raspberry Pi 3 | miniCUL 433MHz | nanoCUL 868 MHz | nanoCUL 433 MHz | MySensors WLAN Gateway | LaCrosse WLAN Gateway | SignalESP 433 MHz | SignalESP 868 MHz | HM-MOD-UART WLAN Gateway | IR - 360 Grad WLAN Gateway

MadMax-FHEM

Liegt wohl an einer Perl-Bibliothek...

Im Forum mal gesucht!?

Da gibt es bereits einige Threads, z.B.:

https://forum.fhem.de/index.php/topic,84372.0.html

https://forum.fhem.de/index.php/topic,88208.msg806196.html#msg806196

https://forum.fhem.de/index.php/topic,94868.msg876385.html#msg876385

Um nur mal ein paar Treffer zu nennen...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)