Raspi4 Hoher Load seit ein paar Monaten

Begonnen von Jewe, 19 Dezember 2021, 18:59:46

Vorheriges Thema - Nächstes Thema

Jewe

Hallo zusammen,

seit ein paar Monate (19.09. 23Uhr) habe ich einen "sehr" hohen Load der sich auch bei der Bedienung über FTUI bemerkbar macht.
Leider bin ich erst jetzt dazu gekommen danach mal genauer zu schauen. Das Problem habe ich wohl sein dem 19.09. 23Uhr. In dem Log vom
19.09. finde ich um diese Zeit nichts auffälliges. Ebenso, wenn ich die FHEM.cfg vergleiche. An dem Tag habe ich das Astomodul definiert. Das habe ich dann mal gelöscht, aber ohne Änderung. Ansonsten weis ich natürlich nicht mehr, was ich damals gemacht habe.
Habe mit htop auf dem PI geschaut was da so läuft, da fällt mir aber auch nichts auf.

Das ganze läuft auf einem PI4 mit SSD-Platte. Das Fhem ist recht aktuell. Wie kann ich rausfinden, wo da das Problem ist ?

Im Anhang ein paar Bilder dazu.

Jewe

Update, habe nun mal Alexa deaktiviert und dann ist es etwas weniger. Da muss aber noch es anderes sein. Alexa war auch schon vor dem 19.9. drauf.

frank

am auffälligsten finde ich den netzwerk traffic.
dazu sollte dir doch etwas einfallen.
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Jewe

Der Netzwerktraffic ist einmal jede Stunde ein speedcheck der Internetverbindung. Das bringt in Bezug auf der hohen Load allerdings keinen unterschied.

Wernieman

Du hast aber eine dauerhafte Belastung ....

Was sagt iotop, iftop etc.?
Hinweis: Als root oder mit sudo aufrufen
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Jewe

Hallo,

habe einige Shreenshots angehängt. Allerdings blick ich da nicht wirklich durch :-(

ps -aux:
pi@RasPi4:~ $ ps -aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  33748  5168 ?        Ss   Dez12   0:13 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Dez12   0:01 [kthreadd]
root         3  0.0  0.0      0     0 ?        I<   Dez12   0:00 [rcu_gp]
root         4  0.0  0.0      0     0 ?        I<   Dez12   0:00 [rcu_par_gp]
root         6  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/0:0H-events_highpri]
root         8  0.0  0.0      0     0 ?        I<   Dez12   0:00 [mm_percpu_wq]
root         9  0.0  0.0      0     0 ?        S    Dez12   0:00 [rcu_tasks_rude_]
root        10  0.0  0.0      0     0 ?        S    Dez12   0:00 [rcu_tasks_trace]
root        11  0.2  0.0      0     0 ?        S    Dez12  34:40 [ksoftirqd/0]
root        12  0.0  0.0      0     0 ?        I    Dez12   3:51 [rcu_sched]
root        13  0.0  0.0      0     0 ?        S    Dez12   0:00 [migration/0]
root        14  0.0  0.0      0     0 ?        S    Dez12   0:00 [cpuhp/0]
root        15  0.0  0.0      0     0 ?        S    Dez12   0:00 [cpuhp/1]
root        16  0.0  0.0      0     0 ?        S    Dez12   0:00 [migration/1]
root        17  0.0  0.0      0     0 ?        S    Dez12   0:03 [ksoftirqd/1]
root        19  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/1:0H-kblockd]
root        20  0.0  0.0      0     0 ?        S    Dez12   0:00 [cpuhp/2]
root        21  0.0  0.0      0     0 ?        S    Dez12   0:00 [migration/2]
root        22  0.0  0.0      0     0 ?        S    Dez12   0:03 [ksoftirqd/2]
root        24  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/2:0H-kblockd]
root        25  0.0  0.0      0     0 ?        S    Dez12   0:00 [cpuhp/3]
root        26  0.0  0.0      0     0 ?        S    Dez12   0:00 [migration/3]
root        27  0.0  0.0      0     0 ?        S    Dez12   0:05 [ksoftirqd/3]
root        29  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/3:0H-kblockd]
root        30  0.0  0.0      0     0 ?        S    Dez12   0:00 [kdevtmpfs]
root        31  0.0  0.0      0     0 ?        I<   Dez12   0:00 [netns]
root        35  0.0  0.0      0     0 ?        S    Dez12   0:00 [kauditd]
root        36  0.0  0.0      0     0 ?        S    Dez12   0:00 [khungtaskd]
root        37  0.0  0.0      0     0 ?        S    Dez12   0:03 [oom_reaper]
root        38  0.0  0.0      0     0 ?        I<   Dez12   0:00 [writeback]
root        39  0.0  0.0      0     0 ?        S    Dez12   0:56 [kcompactd0]
root        57  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kblockd]
root        58  0.0  0.0      0     0 ?        I<   Dez12   0:00 [blkcg_punt_bio]
root        59  0.0  0.0      0     0 ?        S    Dez12   0:00 [watchdogd]
root        61  0.0  0.0      0     0 ?        I<   Dez12   0:40 [kworker/0:1H-kblockd]
root        62  0.0  0.0      0     0 ?        I<   Dez12   0:00 [rpciod]
root        63  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/u9:0-hci0]
root        64  0.0  0.0      0     0 ?        I<   Dez12   0:00 [xprtiod]
root        65  0.0  0.0      0     0 ?        S    Dez12   7:45 [kswapd0]
root        66  0.0  0.0      0     0 ?        I<   Dez12   0:00 [nfsiod]
root        67  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kthrotld]
root        68  0.0  0.0      0     0 ?        I<   Dez12   0:00 [iscsi_eh]
root        69  0.0  0.0      0     0 ?        I<   Dez12   0:00 [iscsi_destroy]
root        72  0.0  0.0      0     0 ?        I<   Dez12   0:00 [DWC Notificatio]
root        73  0.0  0.0      0     0 ?        I<   Dez12   0:00 [uas]
root        75  0.0  0.0      0     0 ?        S<   Dez12   0:00 [vchiq-slot/0]
root        76  0.0  0.0      0     0 ?        S<   Dez12   0:00 [vchiq-recy/0]
root        77  0.0  0.0      0     0 ?        S<   Dez12   0:00 [vchiq-sync/0]
root        78  0.0  0.0      0     0 ?        I<   Dez12   0:00 [zswap-shrink]
root        79  0.0  0.0      0     0 ?        I<   Dez12   0:00 [sdhci]
root        80  0.0  0.0      0     0 ?        S    Dez12   0:00 [irq/47-mmc0]
root        83  0.0  0.0      0     0 ?        S    Dez12   0:00 [scsi_eh_0]
root        84  0.0  0.0      0     0 ?        I<   Dez12   0:00 [scsi_tmf_0]
root        85  0.0  0.0      0     0 ?        I<   Dez12   1:03 [kworker/3:1H-kblockd]
root        86  0.0  0.0      0     0 ?        I<   Dez12   1:30 [kworker/2:1H-kblockd]
root        87  0.0  0.0      0     0 ?        S    Dez12   0:26 [jbd2/sda2-8]
root        88  0.0  0.0      0     0 ?        I<   Dez12   0:00 [ext4-rsv-conver]
root        89  0.0  0.0      0     0 ?        I<   Dez12   0:00 [ipv6_addrconf]
root        92  0.0  0.0      0     0 ?        I<   Dez12   1:23 [kworker/1:1H-kblockd]
root       110  0.0  0.3  21248  7496 ?        Ss   Dez12   0:08 /lib/systemd/systemd-journald
root       146  0.0  0.0  18124   156 ?        Ss   Dez12   0:02 /lib/systemd/systemd-udevd
root       166  0.0  0.0      0     0 ?        S    Dez12   0:00 [vchiq-keep/0]
root       167  0.0  0.0      0     0 ?        S<   Dez12   0:00 [SMIO]
root       175  0.0  0.0      0     0 ?        I<   Dez12   0:00 [mmal-vchiq]
root       177  0.0  0.0      0     0 ?        I<   Dez12   0:00 [mmal-vchiq]
root       190  0.0  0.0      0     0 ?        I<   Dez12   0:00 [mmal-vchiq]
root       193  0.0  0.0      0     0 ?        I<   Dez12   0:00 [mmal-vchiq]
root       235  0.0  0.0      0     0 ?        I<   Dez12   0:00 [cfg80211]
root       236  0.0  0.0      0     0 ?        S    Dez12   0:00 [v3d_bin]
root       238  0.0  0.0      0     0 ?        S    Dez12   0:00 [v3d_render]
root       239  0.0  0.0      0     0 ?        S    Dez12   0:00 [v3d_tfu]
root       240  0.0  0.0      0     0 ?        S    Dez12   0:00 [v3d_csd]
root       241  0.0  0.0      0     0 ?        S    Dez12   0:00 [v3d_cache_clean]
root       242  0.0  0.0      0     0 ?        I<   Dez12   0:00 [brcmf_wq/mmc1:0]
root       243  0.0  0.0      0     0 ?        S    Dez12   0:01 [brcmf_wdog/mmc1]
root       299  0.0  0.0  25512  1320 ?        Ssl  Dez12   0:03 /usr/sbin/rsyslogd -n -iNONE
avahi      305  0.0  0.0   5896   988 ?        Ss   Dez12   4:02 avahi-daemon: running [RasPi4.local]
root       311  0.0  0.0  13148  1768 ?        Ss   Dez12   0:02 /lib/systemd/systemd-logind
nobody     312  0.0  0.0   4320    20 ?        Ss   Dez12   0:06 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobod
root       313  0.0  0.0   3692    32 ?        SNs  Dez12   0:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
message+   322  0.0  0.0   6560  1708 ?        Ss   Dez12   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation -
avahi      324  0.0  0.0   5768    16 ?        S    Dez12   0:00 avahi-daemon: chroot helper
root       327  0.0  0.0  10744   200 ?        Ss   Dez12   0:04 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root       470  0.0  0.0  11004   512 ?        Ss   Dez12   0:09 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
root       584  0.0  0.0   2968  1268 ?        Ss   Dez12   0:32 /sbin/dhcpcd -q -w
root       585  0.0  0.1  32496  2440 ?        Ss   Dez12   0:45 /usr/sbin/nmbd --foreground --no-process-group
Debian-+   598  0.1  0.1  35652  1940 ?        Ss   Dez12  17:13 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTrig
root       601  0.0  0.0  10728   312 ?        Ss   Dez12   0:00 /usr/sbin/sshd -D
ntp        603  0.0  0.0   7980   980 ?        Ssl  Dez12   1:41 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 109:116
root       607  0.0  0.0      0     0 ?        I<   Dez12   0:00 [cifsiod]
root       608  0.0  0.0      0     0 ?        I<   Dez12   0:00 [smb3decryptd]
root       609  0.0  0.0      0     0 ?        I<   Dez12   0:00 [cifsfileinfoput]
root       610  0.0  0.0      0     0 ?        I<   Dez12   0:00 [cifsoplockd]
root       611  0.0  0.0      0     0 ?        I<   Dez12   0:00 [cifs-dfscache]
root       635  0.0  0.1  48696  2464 ?        Ss   Dez12   0:05 /usr/sbin/smbd --foreground --no-process-group
root       642  0.0  0.0   2140     4 ?        S    Dez12   0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow -
root       643  0.0  0.0      0     0 ?        I<   Dez12   0:00 [kworker/u9:1-hci0]
root       657  0.0  0.0  45760   156 ?        S    Dez12   0:01 /usr/sbin/smbd --foreground --no-process-group
root       658  0.0  0.0  45764  1600 ?        S    Dez12   0:01 /usr/sbin/smbd --foreground --no-process-group
root       661  0.0  0.0   9536     0 ?        Ss   Dez12   0:00 /usr/lib/bluetooth/bluetoothd
root       662  0.0  0.1  48684  1964 ?        S    Dez12   0:06 /usr/sbin/smbd --foreground --no-process-group
root       699  0.0  0.0   8280   564 ?        Ss   Dez12   0:05 /usr/sbin/cron -f
root       704  0.0  0.0  27656   312 ?        SLsl Dez12   0:12 /usr/sbin/rngd -r /dev/hwrng
root       710  0.0  0.0   4308     0 tty1     Ss+  Dez12   0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root      9704  0.0  0.0      0     0 ?        I    17:27   0:01 [kworker/2:0-events]
fhem     10543 14.5  6.6 151336 127356 ?       S    00:34 158:04 /usr/bin/perl fhem.pl fhem.cfg
fhem     10567  0.1  2.3 162468 45604 ?        Sl   00:35   1:44 node /usr/bin/alexa-fhem -c ./alexa-fhem.cfg -a xx:xx
fhem     10578  1.0  3.1 106484 60016 ?        Sl   00:35  10:52 /usr/bin/perl ./FHEM/00_SONOS.pm 4711 1 0 startedbyfhem
fhem     10586  0.0  0.1  12692  3016 ?        S    00:35   0:00 /usr/bin/ssh -R 1234:127.0.0.1:34545 -oServerAliveInterval=90 -i /opt/fhem/.ssh/id_rsa -p 58
root     11290  0.0  0.0      0     0 ?        I    18:16   0:00 [kworker/0:2-mm_percpu_wq]
root     11483  0.0  0.0      0     0 ?        I    18:22   0:00 [kworker/3:2-events_power_efficient]
root     11536  0.0  0.0      0     0 ?        I    18:23   0:00 [kworker/u8:0-events_unbound]
root     11656  0.0  0.0      0     0 ?        I    18:28   0:00 [kworker/1:2-mm_percpu_wq]
root     11714  0.0  0.3  12240  6440 ?        Ss   18:30   0:00 sshd: pi [priv]
pi       11717  0.0  0.3  14604  6908 ?        Ss   18:30   0:00 /lib/systemd/systemd --user
pi       11718  0.0  0.0  35288  1348 ?        S    18:30   0:00 (sd-pam)
pi       11732  0.0  0.1  12240  3776 ?        R    18:30   0:00 sshd: pi@pts/0
pi       11733  0.0  0.1   8688  3616 pts/0    Ss   18:30   0:00 -bash
root     11863  0.0  0.0      0     0 ?        I    18:31   0:00 [kworker/u8:3-events_unbound]
root     11894  0.0  0.0      0     0 ?        I    18:33   0:00 [kworker/0:0-mm_percpu_wq]
root     11899  0.0  0.0      0     0 ?        I    18:33   0:00 [kworker/1:0-events]
root     11902  0.0  0.0      0     0 ?        I    18:33   0:00 [kworker/3:0-events_power_efficient]
root     12039  0.0  0.0      0     0 ?        I    18:36   0:00 [kworker/2:2-events_power_efficient]
root     12095  0.0  0.0      0     0 ?        I    18:38   0:00 [kworker/0:1-events_power_efficient]
root     12125  0.0  0.0      0     0 ?        I    18:39   0:00 [kworker/1:1-mm_percpu_wq]
root     12160  0.0  0.0      0     0 ?        I    18:40   0:00 [kworker/3:1-events_power_efficient]
root     12191  0.0  0.0      0     0 ?        I    18:41   0:00 [kworker/2:1]
pi       12192  0.0  0.1  10120  2468 pts/0    R+   18:41   0:00 ps -aux

Wernieman

Das sieht eigentlich total entpannt aus, abgesehen von FHEM mit 26-30% CPU-last. Wie ist Dein Netz aufgebaut? Was hast Du alles auf dem Pi laufen? Kannst Du mal schauen, ob der Pi Dein Netz "belastet"?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Jewe

Habe eine Fritzbox cable -> Switch unmanaged. Dort hängt alles mögliche dran: div. Rechner, PI4 FHEM, PI3 FHEM2FHEM, HM485, HMLAN Heiziungs Adruino, KWL, QNAP NAS, Sonos, Volumio, ...
Über WLAN: FTUI-Tablet, HmUARTLGW, Handys, andere Tablets und ...
PI4 mit SSD-Platte: Homematic, Lacrosse, MQTT, HTTPMOD, VCCU, Alexa, DBLOG (auf SSD),
PI3 mit SD-Karte: 1-Wire USB Stick, FHEM2FHEM

Backup jede Nacht um 0:30 aufs NAS

Das ist glaube ich das wichtigste...

Zitat von: Wernieman am 21 Dezember 2021, 20:10:58
Kannst Du mal schauen, ob der Pi Dein Netz "belastet"?

Wie mache ich das?

Danke schonmal im vorraus.

Wernieman

Mal auf der FritzBox schauen. Bei einem Managbaren Switch hättest Du auch auf dem Port gucken können. Was mich wundert, das Du im ersten Grafn Netzwerklast hattest, bei der iftop/iotop Ausgabe aber nichts zu sehen war. DAS währe eigentlich ein Grund fürs "nervös werden" .... warum sollte sich Netzwerkverkehr "verstecken"
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Jewe

#9
Hallo zusammen,

jetzt muss ich den alten thread hier ausgraben. Ich habe immer noch das selbe Phänomen, ob wirklich ein Problem ist weis ich ehrlich gesagt nicht...

Ich habe immer noch einen recht hohen Load, die CPU-Frequenz schwankt ständig. Das RAM ist eigentlich immer fast komplett ausgenutzt.
Wie es in den Screenshot zu sehen ist, wechselt das im Minutentakt. Mit htop, iotop,iftop sehe ich nicht wirklich was. Kann ich mir in Fhem alles anzeigen lassen was ich im Minutentake ausführe ?

Jens

Wernieman

Beim RAM darfst Du Unix-Systeme nicht wie Windows betrachten. Bei Unix werden die im RAM Gecachten Dateien als benutzt angezeigt, bei Windows als frei. Das hat zur Folge, das bei Unix der verbrauchte RAM IMMER gegen 100% tendiert, bei Windows dagegen nicht. Deshalb zeigt "free" z.B. die gecachte Menge getrennt an.

Mit welchen Mitteln hast Du die Grafen erzeugt?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

Jewe

#11
Die RAM-Nutzung ist unter Linux anders, ja das habe ich verstanden. Komisch ist aber doch dass es im Minutentakt schwankt und das ständig. So wie auch die anderen Werte.

Das habe ich nach dem Wiki Sysmon https://wiki.fhem.de/wiki/SYSMON gemacht.
Das Ganze wird in einer sqlite DB gespeichert und in den SVG´s ausgegeben.

Hier das List des device:

Internals:
   DEF        1 1 1 10
   FUUID      620e9ec0-f33f-9f49-3c8a-bf7c14faa5255feb
   FVERSION   42_SYSMON.pm:v2.3.5-s24758/2021-07-16
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       local
   NAME       sysmon
   NR         737
   STATE      Initialized
   TYPE       SYSMON
   Helper:
     DBLOG:
       cpu_freq:
         myDbLog:
           TIME       1649178702.7875
           VALUE      600
       cpu_temp:
         myDbLog:
           TIME       1649178703.14944
           VALUE      53.69
       cpu_temp_avg:
         myDbLog:
           TIME       1649178703.21115
           VALUE      54.0
       eth0_diff:
         myDbLog:
           TIME       1649178703.18637
           VALUE      RX: 0.01 MB, TX: 0.00 MB, Total: 0.01 MB
       fs_boot:
         myDbLog:
           TIME       1649178643.13423
           VALUE      Total: 253 MB, Used: 49 MB, 20 %, Available: 204 MB at /boot
       fs_root:
         myDbLog:
           TIME       1649178643.19957
           VALUE      Total: 14284 MB, Used: 2146 MB, 16 %, Available: 11527 MB at /
       fs_usb1:
         myDbLog:
           TIME       1649178643.1921
           VALUE      Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
       loadavg:
         myDbLog:
           TIME       1649178703.20027
           VALUE      0.00 0.00 0.00
       ram:
         myDbLog:
           TIME       1649178703.16168
           VALUE      Total: 923.21 MB, Used: 74.39 MB, 8.06 %, Free: 391.39 MB
       stat_cpu_percent:
         myDbLog:
           TIME       1649178703.17396
           VALUE      0.03 0.00 0.14 99.71 0.11 0.00 0.01
   READINGS:
     2022-04-05 19:11:17   cpu0_freq       1500
     2022-04-05 19:11:17   cpu0_freq_stat  600.00 1500.00 1499.99
     2022-04-05 19:11:18   cpu0_idle_stat  0.00 99.57 95.12
     2022-04-05 19:11:17   cpu1_freq       1500
     2022-04-05 19:11:17   cpu1_freq_stat  600.00 1500.00 1499.99
     2022-04-05 19:11:18   cpu1_idle_stat  0.00 99.93 93.77
     2022-04-05 19:11:17   cpu2_freq       1500
     2022-04-05 19:11:17   cpu2_freq_stat  600.00 1500.00 1499.99
     2022-04-05 19:11:18   cpu2_idle_stat  0.00 99.97 97.40
     2022-04-05 19:11:17   cpu3_freq       1500
     2022-04-05 19:11:17   cpu3_freq_stat  600.00 1500.00 1499.99
     2022-04-05 19:11:18   cpu3_idle_stat  0.00 100.00 95.92
     2022-04-01 21:17:05   cpu_bogomips    270.00
     2022-04-05 19:11:18   cpu_core_count  4
     2022-04-05 19:11:42   cpu_freq        600
     2022-04-05 19:11:17   cpu_freq_stat   600.00 1500.00 1499.99
     2022-04-05 19:11:18   cpu_idle_stat   0.80 99.36 95.54
     2022-04-01 21:17:05   cpu_model_name  ARMv7 Processor rev 3 (v7l)
     2022-04-05 19:11:43   cpu_temp        53.69
     2022-04-05 19:11:43   cpu_temp_avg    54.0
     2022-04-05 19:11:18   cpu_temp_stat   31.15 57.45 45.88
     2022-04-05 19:11:18   eth0            RX: 2312.28 MB, TX: 3842.47 MB, Total: 6154.75 MB
     2022-04-05 19:11:43   eth0_diff       RX: 0.01 MB, TX: 0.00 MB, Total: 0.01 MB
     2022-04-05 19:11:18   eth0_ip         192.168.6.20
     2022-04-05 19:11:18   eth0_rx         2424599956
     2022-04-05 19:11:18   eth0_speed      1000
     2022-04-05 19:11:18   eth0_tx         4029119518
     2022-04-05 19:11:18   fhemstarttime   1648840566
     2022-04-05 19:11:18   fhemstarttime_text 01.04.2022 21:16:06
     2022-04-05 19:11:18   fhemuptime      338112
     2022-04-05 19:11:18   fhemuptime_text 3 days, 21 hours, 55 minutes
     2022-04-05 19:10:43   fs_boot         Total: 253 MB, Used: 49 MB, 20 %, Available: 204 MB at /boot
     2022-04-05 19:10:43   fs_root         Total: 14284 MB, Used: 2146 MB, 16 %, Available: 11527 MB at /
     2022-04-05 19:10:43   fs_usb1         Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
     2022-04-05 19:11:18   idletime        1856696 93.91 %
     2022-04-05 19:11:18   idletime_text   21 days, 11 hours, 44 minutes (93.91 %)
     2022-04-05 19:11:43   loadavg         0.00 0.00 0.00
     2022-04-01 21:17:05   perl_version    v5.32.1
     2022-04-05 19:11:43   ram             Total: 923.21 MB, Used: 74.39 MB, 8.06 %, Free: 391.39 MB
     2022-04-05 19:11:18   ram_used_stat   191.22 1113.46 284.77
     2022-04-05 19:11:18   starttime       1647201638
     2022-04-05 19:11:18   starttime_text  13.03.2022 21:00:38
     2022-04-05 19:11:18   stat_cpu        32093642 672907 12008269 742678674 953363 0 860684
     2022-04-05 19:11:18   stat_cpu0       6158560 153778 4038552 185890912 128369 0 821866
     2022-04-05 19:11:18   stat_cpu0_diff  95 0 144 5754 0 0 4
     2022-04-05 19:11:18   stat_cpu0_percent 1.58 0.00 2.40 95.95 0.00 0.00 0.07
     2022-04-05 19:11:18   stat_cpu0_text  user: 1.58 %, nice: 0.00 %, sys: 2.40 %, idle: 95.95 %, io: 0.00 %, irq: 0.00 %, sirq: 0.07 %
     2022-04-05 19:11:18   stat_cpu1       8750104 173237 2566202 185536914 301001 0 12236
     2022-04-05 19:11:18   stat_cpu1_diff  29 0 60 5895 1 0 0
     2022-04-05 19:11:18   stat_cpu1_percent 0.48 0.00 1.00 98.50 0.02 0.00 0.00
     2022-04-05 19:11:18   stat_cpu1_text  user: 0.48 %, nice: 0.00 %, sys: 1.00 %, idle: 98.50 %, io: 0.02 %, irq: 0.00 %, sirq: 0.00 %
     2022-04-05 19:11:18   stat_cpu2       10593856 171816 2767172 183464741 280014 0 14539
     2022-04-05 19:11:18   stat_cpu2_diff  10 0 17 5971 0 0 0
     2022-04-05 19:11:18   stat_cpu2_percent 0.17 0.00 0.28 99.55 0.00 0.00 0.00
     2022-04-05 19:11:18   stat_cpu2_text  user: 0.17 %, nice: 0.00 %, sys: 0.28 %, idle: 99.55 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2022-04-05 19:11:18   stat_cpu3       6591122 174076 2636343 187786105 243978 0 12043
     2022-04-05 19:11:18   stat_cpu3_diff  375 0 66 5546 0 0 0
     2022-04-05 19:11:18   stat_cpu3_percent 6.26 0.00 1.10 92.63 0.00 0.00 0.00
     2022-04-05 19:11:18   stat_cpu3_text  user: 6.26 %, nice: 0.00 %, sys: 1.10 %, idle: 92.63 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2022-04-05 19:11:18   stat_cpu_diff   509 0 287 23166 0 0 4
     2022-04-05 19:11:43   stat_cpu_percent 0.03 0.00 0.14 99.71 0.11 0.00 0.01
     2022-04-05 19:11:18   stat_cpu_text   user: 2.12 %, nice: 0.00 %, sys: 1.20 %, idle: 96.66 %, io: 0.00 %, irq: 0.00 %, sirq: 0.02 %
     2022-04-05 19:11:18   swap            Total: 100.00 MB, Used: 99.35 MB,  99.35 %, Free: 0.65 MB
     2022-04-05 19:11:18   swap_used_stat  0.00 100.00 99.36
     2022-04-05 19:11:18   uptime          1977039
     2022-04-05 19:11:18   uptime_text     22 days, 21 hours, 10 minutes
     2022-04-05 19:11:18   wlan0           RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
     2022-04-05 19:11:18   wlan0_diff      RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
     2022-04-05 19:11:18   wlan0_rx        0
     2022-04-05 19:11:18   wlan0_tx        0
   helper:
     net_eth0_stat_class 1
     net_wlan0_stat_class 1
     proc_fs    1
     sys_cpu0_freq 1
     sys_cpu0_temp 0
     sys_cpu1_freq 1
     sys_cpu1_temp 0
     sys_cpu2_freq 1
     sys_cpu2_temp 0
     sys_cpu3_freq 1
     sys_cpu3_temp 0
     sys_cpu4_freq 0
     sys_cpu4_temp 0
     sys_cpu5_freq 0
     sys_cpu5_temp 0
     sys_cpu6_freq 0
     sys_cpu6_temp 0
     sys_cpu7_freq 0
     sys_cpu7_temp 0
     sys_cpu_core_num 4
     sys_cpu_freq_rpi_bbb 1
     sys_cpu_num 1
     sys_cpu_temp_bbb 0
     sys_cpu_temp_rpi 1
     sys_fb     0
     sys_power_ac 0
     sys_power_bat 0
     sys_power_usb 0
     u_first_mark 1
     cur_readings_map:
       cpu0_freq  CPU frequency (core 0)
       cpu0_freq_stat CPU frequency (core 0) stat
       cpu0_idle_stat CPU0 min/max/avg (idle)
       cpu1_freq  CPU frequency (core 1)
       cpu1_freq_stat CPU frequency (core 1) stat
       cpu1_idle_stat CPU1 min/max/avg (idle)
       cpu2_freq  CPU frequency (core 2)
       cpu2_freq_stat CPU frequency (core 2) stat
       cpu2_idle_stat CPU2 min/max/avg (idle)
       cpu3_freq  CPU frequency (core 3)
       cpu3_freq_stat CPU frequency (core 3) stat
       cpu3_idle_stat CPU3 min/max/avg (idle)
       cpu4_idle_stat CPU4 min/max/avg (idle)
       cpu5_idle_stat CPU5 min/max/avg (idle)
       cpu6_idle_stat CPU6 min/max/avg (idle)
       cpu7_idle_stat CPU7 min/max/avg (idle)
       cpu_bogomips BogoMIPS
       cpu_core_count Number of CPU cores
       cpu_freq   CPU frequency
       cpu_freq_stat CPU frequency stat
       cpu_idle_stat CPU min/max/avg (idle)
       cpu_model_name CPU model name
       cpu_temp   CPU temperature
       cpu_temp_avg Average CPU temperature
       cpu_temp_stat CPU temperature stat
       date       Date
       eth0       Ethernet
       eth0_diff  Ethernet (diff)
       eth0_ip    Ethernet (IP)
       eth0_ip6   Ethernet (IP6)
       eth0_rx    Ethernet (RX)
       eth0_speed Ethernet (speed)
       eth0_tx    Ethernet (TX)
       fhemstarttime Fhem start time
       fhemstarttime_text Fhem start time
       fhemuptime System up time
       fhemuptime_text FHEM up time
       fs_boot    Filesystem /boot
       fs_boot_free Filesystem /boot (free)
       fs_boot_used Filesystem /boot (used)
       fs_boot_used_percent Filesystem /boot (used %)
       fs_root    Root
       fs_root_free Root (free)
       fs_root_used Root (used)
       fs_root_used_percent Root (used %)
       fs_usb1    USB-Stick
       fs_usb1_free USB-Stick (free)
       fs_usb1_used USB-Stick (used)
       fs_usb1_used_percent USB-Stick (used %)
       idletime   Idle time
       idletime_text Idle time
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       perl_version Perl Version
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       ram_used_stat RAM used stat
       starttime  System start time
       starttime_text System start time
       stat_cpu   CPU statistics
       stat_cpu0  CPU0 statistics
       stat_cpu0_diff CPU0 statistics (diff)
       stat_cpu0_percent CPU0 statistics (diff, percent)
       stat_cpu0_text CPU0 statistics (text)
       stat_cpu1  CPU1 statistics
       stat_cpu1_diff CPU1 statistics (diff)
       stat_cpu1_percent CPU1 statistics (diff, percent)
       stat_cpu1_text CPU1 statistics (text)
       stat_cpu2  CPU2 statistics
       stat_cpu2_diff CPU2 statistics (diff)
       stat_cpu2_percent CPU2 statistics (diff, percent)
       stat_cpu2_text CPU2 statistics (text)
       stat_cpu3  CPU3 statistics
       stat_cpu3_diff CPU3 statistics (diff)
       stat_cpu3_percent CPU3 statistics (diff, percent)
       stat_cpu3_text CPU3 statistics (text)
       stat_cpu4  CPU4 statistics
       stat_cpu4_diff CPU4 statistics (diff)
       stat_cpu4_percent CPU4 statistics (diff, percent)
       stat_cpu4_text CPU4 statistics (text)
       stat_cpu5  CPU5 statistics
       stat_cpu5_diff CPU5 statistics (diff)
       stat_cpu5_percent CPU5 statistics (diff, percent)
       stat_cpu5_text CPU5 statistics (text)
       stat_cpu6  CPU6 statistics
       stat_cpu6_diff CPU6 statistics (diff)
       stat_cpu6_percent CPU6 statistics (diff, percent)
       stat_cpu6_text CPU6 statistics (text)
       stat_cpu7  CPU7 statistics
       stat_cpu7_diff CPU7 statistics (diff)
       stat_cpu7_percent CPU7 statistics (diff, percent)
       stat_cpu7_text CPU7 statistics (text)
       stat_cpu_diff CPU statistics (diff)
       stat_cpu_idle_percent CPU statistics idle %
       stat_cpu_io_percent CPU statistics io %
       stat_cpu_irq_percent CPU statistics irq %
       stat_cpu_nice_percent CPU statistics nice %
       stat_cpu_percent CPU statistics (diff, percent)
       stat_cpu_sirq_percent CPU statistics sirq %
       stat_cpu_sys_percent CPU statistics sys %
       stat_cpu_text CPU statistics (text)
       stat_cpu_user_percent CPU statistics user %
       swap       swap
       swap_free  swap free
       swap_total swap total
       swap_used  swap used
       swap_used_percent swap used %
       swap_used_stat swap used stat
       uptime     System up time
       uptime_text System up time
       wlan0      WiFi
       wlan0_diff WiFi (diff)
       wlan0_ip   WiFi (IP)
       wlan0_ip6  WiFi (IP6)
       wlan0_rx   WiFi (RX)
       wlan0_speed WiFi (speed)
       wlan0_tx   WiFi (TX)
     excludes:
     shadow_map:
       cpu0_idle_stat 0.00 99.57 92.64
       cpu1_idle_stat 0.00 99.93 96.22
       cpu2_idle_stat 0.00 99.97 94.71
       cpu3_idle_stat 0.00 100.00 98.56
       cpu_core_count 4
       cpu_idle_stat 0.80 99.36 95.53
       cpu_temp   46.25
       cpu_temp_avg 50.6
       cpu_temp_stat 31.15 57.45 46.10
       eth0       RX: 2310.35 MB, TX: 3840.71 MB, Total: 6151.06 MB
       eth0_diff  RX: 0.36 MB, TX: 0.19 MB, Total: 0.55 MB
       eth0_ip    192.168.6.20
       eth0_rx    2422582505
       eth0_speed 1000
       eth0_tx    4027279242
       fhemstarttime 1648840566
       fhemstarttime_text 01.04.2022 21:16:06
       fhemuptime 337827
       fhemuptime_text 3 days, 21 hours, 50 minutes
       fs_boot    Total: 253 MB, Used: 49 MB, 20 %, Available: 204 MB at /boot
       fs_root    Total: 112458 MB, Used: 31229 MB, 29 %, Available: 76631 MB at /
       fs_usb1    Total: 0 MB, Used: 0 MB, 0 %, Available: 0 MB at /media/usb1 (not available)
       idletime   1856428 93.91 %
       idletime_text 21 days, 11 hours, 40 minutes (93.91 %)
       loadavg    0.72 0.73 0.66
       ram        Total: 1871.17 MB, Used: 256.11 MB, 13.69 %, Free: 1070.45 MB
       ram_used_stat 191.22 1113.46 277.42
       starttime  1647201638
       starttime_text 13.03.2022 21:00:38
       stat_cpu   32090860 671470 12006257 742571531 953297 0 860649
       stat_cpu0  6158230 153533 4037854 185863864 128355 0 821835
       stat_cpu0_diff 77 0 31 1438 0 0 17
       stat_cpu0_percent 4.93 0.00 1.98 92.00 0.00 0.00 1.09
       stat_cpu0_text user: 4.93 %, nice: 0.00 %, sys: 1.98 %, idle: 92.00 %, io: 0.00 %, irq: 0.00 %, sirq: 1.09 %
       stat_cpu1  8748446 172771 2565699 185511199 300986 0 12235
       stat_cpu1_diff 129 0 12 1424 0 0 0
       stat_cpu1_percent 8.24 0.00 0.77 90.99 0.00 0.00 0.00
       stat_cpu1_text user: 8.24 %, nice: 0.00 %, sys: 0.77 %, idle: 90.99 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu2  10593690 171431 2766843 183437260 279996 0 14537
       stat_cpu2_diff 98 0 39 1438 0 0 0
       stat_cpu2_percent 6.22 0.00 2.48 91.30 0.00 0.00 0.00
       stat_cpu2_text user: 6.22 %, nice: 0.00 %, sys: 2.48 %, idle: 91.30 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu3  6590494 173735 2635861 187759206 243958 0 12042
       stat_cpu3_diff 0 0 22 1548 0 0 0
       stat_cpu3_percent 0.00 0.00 1.40 98.60 0.00 0.00 0.00
       stat_cpu3_text user: 0.00 %, nice: 0.00 %, sys: 1.40 %, idle: 98.60 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
       stat_cpu_diff 304 0 104 5849 0 0 17
       stat_cpu_percent 4.85 0.00 1.66 93.23 0.00 0.00 0.27
       stat_cpu_text user: 4.85 %, nice: 0.00 %, sys: 1.66 %, idle: 93.23 %, io: 0.00 %, irq: 0.00 %, sirq: 0.27 %
       swap       Total: 100.00 MB, Used: 99.36 MB,  99.36 %, Free: 0.64 MB
       swap_used_stat 0.00 100.00 99.40
       uptime     1976754
       uptime_text 22 days, 21 hours, 05 minutes
       wlan0      RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
       wlan0_diff RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
       wlan0_rx   0
       wlan0_tx   0
Attributes:
   event-on-update-reading cpu_temp,cpu_temp_avg,cpu_freq,eth0_diff,loadavg,ram,fs_.*,stat_cpu_percent
   filesystems fs_boot:/boot,fs_root:/:Root,fs_usb1:/media/usb1:USB-Stick
   group      RPi
   network-interfaces eth0:eth0:Ethernet,wlan0:wlan0:WiFi
   nonblocking 1
   room       x_Tech

Wernieman

Dein Poblem ist zusätzlich, das Du die CPU/Memory-Last mit FHEM selber ermittelst. Du weißt also nicht 100%, ob nicht gerade ein Prozess in FHEM zur gleichen Zeit ....
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

frank

da sind doch mehrere fhem prozesse zu sehen.
zusätzlich einige sonos und alexa.
wenig ist anders, oder?
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Jewe

Die Anzahl der Prozesse kann ich nicht beeinflussen (ausser es ganz abschalten) ,oder ?