CPAN statt apt-get install -> Fhem hängt

Begonnen von Ajuba, 04 Januar 2019, 20:31:48

Vorheriges Thema - Nächstes Thema

Wernieman

#30
root        23 14.0  0.0      0     0 ?        S    13:44  69:28 [kswapd0]
Dein System swapt  ...

Bitte mal:
free

Und zum Gucken, was noch Richtung "Festplatte" so läuft: iotop

Edit:
Mal zum einlesen (Schnellsuche, sieht gut aus):
https://www.taste-of-it.de/debian-hohen-cpu-load-analysieren/
- 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

MadMax-FHEM

#31
Sollte das von einem PI3 sein!?

Wenn ja, dann sieht das aber nach sehr wenig aus:

Zitat
MiB Mem :    432,4 total,     58,3 free,    166,2 used,    207,9 buff/cache

Zum Vergleich ein PI3 von mir:


MiB Mem :    976,4 total,     93,5 free,     56,6 used,    826,3 buff/cache


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)

andies

RPi2, bin downgegraded
           total        used        free      shared  buff/cache   available
Mem:         442788      170660       73736        5268      198392      216468
Swap:        102396      102000         396
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

MadMax-FHEM

Zitat von: andies am 28 Juni 2020, 22:24:54
RPi2, bin downgegraded
           total        used        free      shared  buff/cache   available
Mem:         442788      170660       73736        5268      198392      216468
Swap:        102396      102000         396


Ok, dann passt das ;)

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)

Wernieman

#34
Nach Deinem ps ist aber schon mindestens 30% (Grob Ausgerechnet) belegt ..... ich würde Denken, Du brauchst etwas größeres ...

Und ob ein PI2 und mysql gerade das "Top-Ding" ist ....

Edit:
Bitte mal den Output von:
ps aux --sort=-pmem | head

Außerdem warte ich noch auf die Ausgabe von free ....
- 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

andies

Doch, free stand oben. Hier ist es nochmal
pi@raspfhem:~ $ free
              total        used        free      shared  buff/cache   available
Mem:         442788      184972      114388        6016      143428      201084
Swap:        102396      102388           8
pi@raspfhem:~ $ ps aux --sort=-pmem | head
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
fhem       678 75.4 23.2 153772 102908 ?       R    Jun28 852:03 /usr/bin/perl fhem.pl fhem.cfg
mysql      462  0.5  5.2 719576 23064 ?        Ssl  Jun28   6:27 /usr/sbin/mysqld
root       473  0.0  2.6 191736 11848 ?        Ss   Jun28   0:35 /usr/sbin/apache2 -k start
pi         785  0.2  2.3 144116 10560 ?        Sl   Jun28   2:54 lxpanel --profile LXDE-pi
root       429  0.0  1.8 145868  8260 tty7     Ssl+ Jun28   0:32 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root     10300  2.0  1.4  12220  6276 ?        Ss   08:34   0:00 sshd: pi [priv]
pi         802  0.0  1.3  32200  5976 ?        S    Jun28   0:04 /usr/bin/vncserverui -statusicon 5
www-data  6506  0.0  1.2 191760  5396 ?        S    00:00   0:00 /usr/sbin/apache2 -k start
www-data  6507  0.0  1.2 191760  5396 ?        S    00:00   0:00 /usr/sbin/apache2 -k start

Ich steige auf den RPi3 um, muss nur das backup sichern.
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

Wernieman

Swap:        102396      102388           8
Da siehst Du Dein Problem ....
- 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

andies

inzwischen richte ich das auf dem RPi3 ein und bin sogar dabei, von SSD zu booten. Läuft ganz geschmeidig.
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann