Hallo
Gibt’s eine Lösung für mein Problem?
Temperatur liegt bei 82 Grad
Auslastung bei 52%
Installiert sind 10 Plugins
Und 42 Geräte.
Wie bekomme ich das besser in Griff.
Gruß Peter
Hallo
Gibt’s eine Lösung für mein Problem?
Temperatur liegt bei 82 Grad
Auslastung bei 52%
Installiert sind 10 Plugins
Und 42 Geräte.
Wie bekomme ich das besser in Griff.
Gruß Peter
Gib auf dem Raspi ein: ps aux und poste hier das Ergebnis.
Hallo
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.7 0.7 33704 6908 ? Ss 2023 782:46 /sbin/init
root 2 0.0 0.0 0 0 ? S 2023 0:13 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 2023 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 2023 0:00 [rcu_par_gp]
root 8 0.0 0.0 0 0 ? I< 2023 0:00 [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S 2023 0:00 [rcu_tasks_rude_]
root 10 0.0 0.0 0 0 ? S 2023 0:00 [rcu_tasks_trace]
root 11 0.0 0.0 0 0 ? S 2023 13:22 [ksoftirqd/0]
root 12 0.0 0.0 0 0 ? I 2023 40:00 [rcu_sched]
root 13 0.0 0.0 0 0 ? S 2023 0:04 [migration/0]
root 14 0.0 0.0 0 0 ? S 2023 0:00 [cpuhp/0]
root 15 0.0 0.0 0 0 ? S 2023 0:00 [cpuhp/1]
root 16 0.0 0.0 0 0 ? S 2023 0:04 [migration/1]
root 17 0.0 0.0 0 0 ? S 2023 10:44 [ksoftirqd/1]
root 20 0.0 0.0 0 0 ? S 2023 0:00 [cpuhp/2]
root 21 0.0 0.0 0 0 ? S 2023 0:03 [migration/2]
root 22 0.0 0.0 0 0 ? S 2023 7:10 [ksoftirqd/2]
root 25 0.0 0.0 0 0 ? S 2023 0:00 [cpuhp/3]
root 26 0.0 0.0 0 0 ? S 2023 0:02 [migration/3]
root 27 0.0 0.0 0 0 ? S 2023 5:12 [ksoftirqd/3]
root 30 0.0 0.0 0 0 ? S 2023 0:00 [kdevtmpfs]
root 31 0.0 0.0 0 0 ? I< 2023 0:00 [netns]
root 34 0.0 0.0 0 0 ? S 2023 0:00 [kauditd]
root 36 0.0 0.0 0 0 ? S 2023 0:06 [khungtaskd]
root 37 0.0 0.0 0 0 ? S 2023 0:00 [oom_reaper]
root 38 0.0 0.0 0 0 ? I< 2023 0:00 [writeback]
root 39 0.0 0.0 0 0 ? S 2023 7:09 [kcompactd0]
root 57 0.0 0.0 0 0 ? I< 2023 0:00 [kblockd]
root 58 0.0 0.0 0 0 ? I< 2023 0:00 [blkcg_punt_bio]
root 59 0.0 0.0 0 0 ? S 2023 0:00 [watchdogd]
root 62 0.0 0.0 0 0 ? I< 2023 0:00 [rpciod]
root 64 0.0 0.0 0 0 ? I< 2023 0:00 [xprtiod]
root 65 0.0 0.0 0 0 ? S 2023 0:08 [kswapd0]
root 66 0.0 0.0 0 0 ? I< 2023 0:00 [nfsiod]
root 69 0.0 0.0 0 0 ? I< 2023 0:00 [iscsi_eh]
root 70 0.0 0.0 0 0 ? I< 2023 0:00 [iscsi_destroy]
root 71 0.0 0.0 0 0 ? I< 2023 0:00 [dwc_otg]
root 73 0.0 0.0 0 0 ? I< 2023 0:00 [DWC Notificatio]
root 75 0.0 0.0 0 0 ? S< 2023 0:00 [vchiq-slot/0]
root 76 0.0 0.0 0 0 ? S< 2023 0:00 [vchiq-recy/0]
root 77 0.0 0.0 0 0 ? S< 2023 0:00 [vchiq-sync/0]
root 78 0.0 0.0 0 0 ? I< 2023 0:00 [zswap-shrink]
root 83 0.0 0.0 0 0 ? I< 2023 0:00 [mmc_complete]
root 86 0.0 0.0 0 0 ? S 2023 4:22 [jbd2/mmcblk0p2-]
root 87 0.0 0.0 0 0 ? I< 2023 0:00 [ext4-rsv-conver]
root 92 0.0 0.0 0 0 ? I< 2023 0:00 [ipv6_addrconf]
root 114 0.4 1.1 41240 11028 ? Ss 2023 414:57 /lib/systemd/systemd-journald
root 151 0.0 0.2 18300 2268 ? Ss 2023 0:15 /lib/systemd/systemd-udevd
root 173 0.0 0.0 0 0 ? S 2023 0:00 [vchiq-keep/0]
root 174 0.0 0.0 0 0 ? S< 2023 0:00 [SMIO]
root 186 0.0 0.0 0 0 ? I< 2023 0:00 [mmal-vchiq]
root 188 0.0 0.0 0 0 ? I< 2023 0:00 [mmal-vchiq]
root 190 0.0 0.0 0 0 ? I< 2023 0:00 [mmal-vchiq]
root 191 0.0 0.0 0 0 ? I< 2023 0:00 [mmal-vchiq]
root 192 0.0 0.0 0 0 ? I< 2023 0:00 [mmal-vchiq]
root 253 0.0 0.0 0 0 ? I< 2023 0:00 [cfg80211]
root 261 0.0 0.0 0 0 ? I< 2023 0:00 [brcmf_wq/mmc1:0]
root 262 0.0 0.0 0 0 ? S 2023 0:52 [brcmf_wdog/mmc1]
systemd+ 323 0.0 0.5 22384 4752 ? Ssl 2023 0:21 /lib/systemd/systemd-timesyncd
message+ 364 0.4 0.3 6792 3244 ? Ss 2023 481:52 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 380 5.9 0.1 9984 1380 ? SLsl 2023 6038:23 /usr/bin/pigpiod -l
root 383 0.0 0.1 3688 1488 ? SNs 2023 0:01 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
root 385 0.1 0.3 25500 3240 ? Ssl 2023 107:52 /usr/sbin/rsyslogd -n -iNONE
nobody 388 0.0 0.1 4316 1880 ? Ss 2023 1:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/inp
root 401 0.0 0.1 28676 1324 ? SLsl 2023 1:01 /usr/sbin/rngd -r /dev/hwrng
root 409 0.0 0.4 54632 4532 ? Ssl 2023 0:00 /usr/sbin/ModemManager --filter-policy=strict
avahi 410 0.1 0.2 6028 2836 ? Ss 2023 162:19 avahi-daemon: running [homebridge-2.local]
root 412 0.0 0.5 10952 4756 ? Ss 2023 16:32 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root 413 0.1 0.4 12880 4584 ? Ss 2023 124:46 /lib/systemd/systemd-logind
root 414 0.0 0.2 7944 2288 ? Ss 2023 0:14 /usr/sbin/cron -f
root 416 0.0 1.1 85524 10640 ? Ssl 2023 79:10 /usr/sbin/NetworkManager --no-daemon
avahi 434 0.0 0.0 5764 20 ? S 2023 0:00 avahi-daemon: chroot helper
root 451 0.0 0.6 38772 6240 ? Ssl 2023 0:16 /usr/lib/policykit-1/polkitd --no-debug
root 460 0.0 1.0 38700 10396 ? Ssl 2023 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 473 0.0 0.3 10688 3608 ? Ss 2023 0:00 /usr/sbin/sshd -D
root 516 0.0 0.0 2136 4 ? S 2023 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:38:87:0d
root 517 0.0 0.0 0 0 ? I< 2023 0:00 [kworker/u9:1-hci0]
root 518 0.0 0.0 0 0 ? I< 2023 0:00 [kworker/u9:2-hci0]
root 521 0.0 0.1 4304 1684 tty1 Ss+ 2023 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 536 0.0 0.2 9792 2784 ? Ss 2023 0:00 /usr/lib/bluetooth/bluetoothd
root 647 0.0 0.7 60672 7280 ? Ss 2023 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
pi 2424 0.0 0.0 1936 324 ? S Feb01 0:00 /bin/sh -c /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
pi 2425 99.9 0.5 16160 4868 ? R Feb01 26860:18 python /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
pi 2879 0.0 0.4 8636 4268 ? S 2023 52:28 mosquitto
pi 3169 0.0 0.0 1936 312 ? S Jan10 0:00 /bin/sh -c /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
pi 3170 99.9 0.4 16160 4704 ? R Jan10 58378:30 python /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
www-data 4352 0.0 0.5 61464 5452 ? S Feb15 0:01 nginx: worker process
www-data 4354 0.0 0.6 62160 6304 ? S Feb15 0:08 nginx: worker process
www-data 4355 0.0 0.5 61372 5440 ? S Feb15 0:03 nginx: worker process
www-data 4356 0.0 0.5 61236 5224 ? S Feb15 0:01 nginx: worker process
pi 4368 0.2 16.0 297072 151328 ? Rsl Feb15 17:49 hb-service
pi 5259 0.4 11.5 222216 108752 ? Sl Feb15 32:59 homebridge
root 6930 0.0 0.0 0 0 ? I< Feb04 0:19 [kworker/1:1H-kblockd]
root 7424 0.0 0.0 0 0 ? I< 07:47 0:00 [kworker/1:2H]
root 8233 0.0 0.0 0 0 ? I< 08:03 0:00 [kworker/2:1H]
root 8967 0.0 0.0 0 0 ? I 08:19 0:00 [kworker/1:3-events]
root 10466 0.0 0.0 0 0 ? I 08:47 0:00 [kworker/u8:1-cfg80211]
root 10573 0.0 0.0 0 0 ? I 08:49 0:00 [kworker/3:0-events]
root 10756 0.0 0.0 0 0 ? I< 08:51 0:00 [kworker/3:0H]
root 10877 0.0 0.0 0 0 ? I 08:53 0:00 [kworker/0:1-events]
root 11176 0.0 0.0 0 0 ? I< 08:57 0:00 [kworker/0:0H]
root 11260 0.0 0.0 0 0 ? I 08:58 0:00 [kworker/3:3-mm_percpu_wq]
root 11290 0.0 0.0 0 0 ? I 08:58 0:00 [kworker/0:0-cgroup_destroy]
root 11624 0.0 0.0 0 0 ? I 09:04 0:00 [kworker/3:1-cgroup_destroy]
root 11647 0.0 0.0 0 0 ? I 09:04 0:00 [kworker/u8:2-cfg80211]
root 11659 0.0 0.0 0 0 ? I 09:04 0:00 [kworker/2:0-cgroup_destroy]
root 11673 0.0 0.0 0 0 ? I 09:05 0:00 [kworker/1:0-events]
root 11681 0.0 0.0 0 0 ? I< 09:05 0:00 [kworker/0:1H]
root 11743 0.0 0.0 0 0 ? I 09:06 0:00 [kworker/3:2-cgroup_destroy]
root 11846 0.0 0.0 0 0 ? I< 09:08 0:00 [kworker/3:1H]
root 11895 0.0 0.0 0 0 ? I 09:09 0:00 [kworker/u8:0-events_unbound]
root 11897 0.0 0.0 0 0 ? I 09:09 0:00 [kworker/2:2-cgroup_destroy]
pi 11913 3.5 0.3 8504 3724 pts/1 Ss 09:10 0:00 /bin/bash
root 11918 0.0 0.0 0 0 ? I 09:10 0:00 [kworker/0:2-cgroup_destroy]
root 11923 0.0 0.0 0 0 ? I 09:10 0:00 [kworker/1:1]
pi 11924 0.0 0.2 9784 2568 pts/1 R+ 09:10 0:00 ps aux
root 13515 0.0 0.0 0 0 ? I< Feb03 0:07 [kworker/3:2H-kblockd]
root 15522 0.0 0.0 0 0 ? I< Jan23 0:23 [kworker/2:0H-kblockd]
root 27939 0.0 0.0 0 0 ? I< Feb17 0:12 [kworker/0:2H-mmc_complete]
root 31665 0.0 0.0 0 0 ? I 05:05 0:02 [kworker/2:1-events_power_efficient]
root 32458 0.0 0.4 7884 4648 ? S Feb15 0:00 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient-eth0.pid -lf /var/lib/NetworkMana
root 32759 0.0 0.5 7884 4820 ? S Feb15 0:00 /sbin/dhclient -d -q -6 -N -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient6-eth0.pid -lf /var/lib/Netw
Alles anzeigen
Ich würde sagen, dass diese Prozesse daran schuld sind:
pi 2425 99.9 0.5 16160 4868 ? R Feb01 26860:18 python /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
pi 3170 99.9 0.4 16160 4704 ? R Jan10 58378:30 python /usr/local/lib/node_modules/homebridge-magichome/flux_led.py 192.168.178.38 -i
Von links nach rechts: gestartet vom User pi, Prozess-Ids 2425 und 3170, verbrauchen jeder 99.9% der CPU (bei vier Prozessorkernen = 400% also insgesamt knappe 200%). Der eine läuft seit dem 1. Februar, der zweite seit dem 10. Januar.
Dazu gehören wahrscheinlich auch die Prozesse 2424 und 3169, die beide so aussehen, als hätten sie die beiden oben angezeigte Prozesse gestartet.
Mögliche Abhilfe: Mordlust einschalten und töten.
kill 2424 2425 3169 3170
Das beendet diese Prozesse. Um nachzuprüfen, ob sie wirklich weg sind, den Befehl
ps aux | grep flux_led.py eingeben.
Falls die Prozesse mit der gleichen Prozess-ID (2425 und 3170) immer noch auftauchen, den kill-Befehl abgeändert wiederholen:
kill -9 2424 2425 3169 3170 oder vielleicht auch nur kill -9 2425 3170.
Falls sie gar nicht auftauchen oder mit einer anderen Prozess-ID: abwarten und Temperatur beobachten.
Danke
Werde ausprobieren und beobachten.