***GELÖST*** Hohe Systemauslastung ...Warum????

Begonnen von Marlen, 31 August 2017, 21:37:46

Vorheriges Thema - Nächstes Thema

Marlen

Hallo,

ich hab ohne mir ersuchtlichen Grunde ein hohe Systemauslastung so 20-40%...... wie kommt man drauf, wo das her kommt?

Mein top schaut so aus:


top - 21:32:34 up 11 min,  3 users,  load average: 0.39, 0.39, 0.25
Tasks: 158 total,   3 running, 155 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us,  0.9 sy,  0.0 ni, 92.7 id,  0.0 wa,  0.0 hi,  0.4 si,  0.0 st
KiB Mem:    945512 total,   342572 used,   602940 free,    25348 buffers
KiB Swap:   102396 total,        0 used,   102396 free.   148780 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  729 fhem      20   0   72008  66692   6364 R  22.7  7.1   2:49.99 perl
   37 root      20   0       0      0      0 R   5.9  0.0   0:29.57 kworker/0:1
1410 pi        20   0    5304   2524   2140 R   1.3  0.3   0:03.05 top
    7 root      20   0       0      0      0 S   0.3  0.0   0:01.46 rcu_sched
  846 pi        20   0   94584  24948  20888 S   0.3  2.6   0:01.73 lxpanel
1359 root      20   0       0      0      0 S   0.3  0.0   0:00.03 kworker/u8:1
    1 root      20   0   22860   3956   2788 S   0.0  0.4   0:02.61 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.06 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    6 root      20   0       0      0      0 S   0.0  0.0   0:00.13 kworker/u8:0


LG
  Marlen

RaspiLED

Hi,
Machst Du gerade ein update oder backup?
Ansonsten wie sieht das fhem log aus?
Gruß Arnd



Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

amenomade

Wenn nix besonders in der Log, kannst mit apptime und perfmon evtl. weiter analysieren.

https://wiki.fhem.de/wiki/Apptime
https://wiki.fhem.de/wiki/Perfmon
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Marlen

Ne, ich mach kein Backup oder Update, dann wäre es ja normal!!!

apptime sagt:

name                                     function                               max  count    total  average maxDly TS Max call     param Max call
Strom_3                                  RPI_GPIO_Except                        153  11927   255250    21.40      0 31.08. 22:10:40 HASH(Strom_3)
Strom_2                                  RPI_GPIO_Except                        232    651    14252    21.89      0 31.08. 22:12:18 HASH(Strom_2)
tmr-RPI_GPIO_longpress                   HASH(0x277f640)                         39  11290     7530     0.67    329 31.08. 22:08:47 HASH(Strom_3)
Strom_1                                  RPI_GPIO_Except                        123   1311     1839     1.40      0 31.08. 22:11:52 HASH(Strom_1)
Ww_Control_nty                           notify_Exec                            120     18     1590    88.33      0 31.08. 22:12:34 HASH(Ww_Control_nty); HASH(WarmWasser)
fb1                                      FBAHA_Read                             180     10     1087   108.70      0 31.08. 22:11:32 HASH(fb1)
battStatus                               readingsGroup_Notify                    12    198      729     3.68      0 31.08. 22:05:26 HASH(battStatus); HASH(Fritzbox)
sysStatus                                readingsGroup_Notify                    29    198      724     3.66      0 31.08. 22:08:46 HASH(sysStatus); HASH(BBxM)
loglines                                 readingsGroup_Notify                    11    198      662     3.34      0 31.08. 22:05:26 HASH(loglines); HASH(Fritzbox)


welcher Wert is dann jetzt am schlimmsten wenn er hoch ist?

RaspiLED

#4

  fhem> apptime

name                                     function                               max  count    total  average ma
xDly TS Max call     param Max call
tmr-at_Exec                              HASH(0x32ba920)                        259      4      876   219.00   
  63 31.08. 22:37:43 HASH(Time_Update)
Time_FP                                  dummy_Set                              196      4      657   164.25   
   0 31.08. 22:37:43 HASH(Time_FP); Time_FP; 2017-08-31; 22:37
tmr-BRAVIA_GetStatus                     HASH(0x30886d8)                        143    208     8166    39.26   
497 31.08. 22:38:27 HASH(Fernseher_Bravia)
ZWAVE1                                   ZWDongle_Ready                          29    287     1065     3.71   
   0 31.08. 22:38:43 HASH(ZWAVE1)
sduino868                                SIGNALduino_Ready                       27    267      446     1.67   
   0 31.08. 22:37:51 HASH(sduino868)
Jeelink868                               JeeLink_Ready                           24    287      924     3.22   
   0 31.08. 22:35:57 HASH(Jeelink868)
CULMGrau868                              CUL_Ready                               23    287      708     2.47   
   0 31.08. 22:36:20 HASH(CULMGrau868)
telnetPort_127.0.0.1_55546               telnet_Read                             23      3       32    10.67   
   0 31.08. 22:35:53 HASH(telnetPort_127.0.0.1_55546)
CUL868                                   CUL_Ready                               22    287      877     3.06   
   0 31.08. 22:37:08 HASH(CUL868)
BUSWARE868                               CUL_Ready                               21    287      885     3.08   
   0 31.08. 22:39:04 HASH(BUSWARE868)
CULM868                                  CUL_Ready                               21    287      870     3.03   
   0 31.08. 22:37:33 HASH(CULM868)
CULNSchwarz433                           CUL_Ready                               20    287      743     2.59   
   0 31.08. 22:37:17 HASH(CULNSchwarz433)
WEB                                      FW_Read                                 20     36      169     4.69   
   0 31.08. 22:36:17 HASH(WEB)
AZ_LED_Steckdose                         IT_Set                                  18      4       38     9.50   
   0 31.08. 22:37:06 HASH(AZ_LED_Steckdose); AZ_LED_Steckdose; ?
CUL433                                   CUL_Ready                               18    287      728     2.54   
   0 31.08. 22:38:59 HASH(CUL433)
CULCH340_2                               CUL_Ready                               18    287      873     3.04   
   0 31.08. 22:36:18 HASH(CULCH340_2)
mySensors_WLAN_GW                        MYSENSORS::Ready                        18    287      875     3.05   
   0 31.08. 22:36:17 HASH(mySensors_WLAN_GW)
BUSWARE433                               CUL_Ready                               17    287      785     2.74   
   0 31.08. 22:37:56 HASH(BUSWARE433)
FileLog_FHEMduino                        FileLog_Log                             16      8       25     3.12   
   0 31.08. 22:35:43 HASH(FileLog_FHEMduino); HASH(Time_FP)
FileLog_SOMFY_2EB1C8                     FileLog_Log                             16      8       42     5.25   
   0 31.08. 22:35:43 HASH(FileLog_SOMFY_2EB1C8); HASH(Time_Update)
tmr-FW_closeInactiveClients                                                      16      4       45    11.25   
  70 31.08. 22:37:46
fhem>


So ist es bei mir aktuell.
Gruß Arnd


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...

Marlen

Fehler gefunden!

Ich lesen meine Stromzähler mittels 3 TCRT5000 ab!

Der 3. hat wohl ständig ein Signal getriggert, dachte erst er hat sich verstellt oder ist defekt, aber da ich immernoch Signale bekommen hab obwohl ich ihn getrennt habe, muss wohl was an der Verkabelung sein!

Hab ihn jetzt direkt vom GPIO getrennt und schon is meine Systemauslastung 0%  :)

Vielen Danke für eure Hilfe!

Was passiert, wenn man Apptime einfach laufen lässt?

LG
  Marlen