Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker kaum benutzbar - redis 100%

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker kaum benutzbar - redis 100%

    This topic has been deleted. Only users with topic management privileges can see it.
    • caravandriver
      caravandriver last edited by

      Und redis ist wieder dabei...

      top - 15:05:44 up  4:18,  1 user,  load average: 2.93, 2.94, 2.79
      Tasks:  94 total,   2 running,  92 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 43.9 us, 12.3 sy,  0.0 ni, 43.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :  12000.0 total,   4081.3 free,   5597.1 used,   2321.6 buff/cache
      MiB Swap:   7168.0 total,   7167.8 free,      0.2 used.   6402.9 avail Mem
      
          PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
          197 redis     20   0 1426156 969148   7108 R 107.7   7.9  54:07.23 redis-server
          454 iobroker  20   0 1447856 617244  45496 S   7.7   5.0   5:16.45 io.admin.0
       364786 iobroker  20   0  681452  73428  38688 S   7.7   0.6   0:00.86 node
       365587 iobroker  20   0    7176   3308   2680 R   7.7   0.0   0:00.01 top
            1 root      20   0  165704   9560   7100 S   0.0   0.1   0:00.31 systemd
           49 root      20   0   72964  15456  14508 S   0.0   0.1   0:00.12 systemd-journal
           64 root      20   0    5228    160      4 S   0.0   0.0   0:00.00 blkmapd
           70 systemd+  20   0   16048   6568   5700 S   0.0   0.1   0:01.51 systemd-network
           80 root      20   0    3056    176      0 S   0.0   0.0   0:00.00 rpc.idmapd
          112 _rpc      20   0    7900   3944   3496 S   0.0   0.0   0:00.01 rpcbind
          113 systemd+  20   0   24108  11424   7496 S   0.0   0.1   0:00.06 systemd-resolve
          127 message+  20   0    8260   3800   3336 S   0.0   0.0   0:00.03 dbus-daemon
          128 root      20   0  220796   3504   3076 S   0.0   0.0   0:00.01 rsyslogd
          129 root      20   0   13988   6628   5808 S   0.0   0.1   0:00.04 systemd-logind
          198 root      20   0  106188  20468  12068 S   0.0   0.2   0:00.08 unattended-upgr
          201 root      20   0    5136    536      0 S   0.0   0.0   0:00.00 rpc.mountd
          257 mysql     20   0 2630916 122328  14548 S   0.0   1.0   0:05.24 mariadbd
          388 iobroker  20   0   11.0g 150560  46264 S   0.0   1.2   0:48.35 iobroker.js-con
          473 iobroker  20   0  688604  80512  38448 S   0.0   0.7   0:03.83 io.scheduler.0
          520 iobroker  20   0  972128 109480  45196 S   0.0   0.9   0:11.96 io.telegram.0
          543 iobroker  20   0  685020  79832  38844 S   0.0   0.6   0:04.01 io.whatsapp-cmb
          574 iobroker  20   0  706052 103808  40656 S   0.0   0.8   0:17.97 io.sql.0
          601 iobroker  20   0 1409696 564580  44644 S   0.0   4.6   8:37.99 io.javascript.0
          627 iobroker  20   0  683996  76044  38916 S   0.0   0.6   0:03.96 io.scenes.0
          658 iobroker  20   0  703964 101764  39084 S   0.0   0.8   0:30.52 io.shelly.0
          685 iobroker  20   0  689628  83328  38744 S   0.0   0.7   0:20.68 io.ping.0
          718 iobroker  20   0   10.7g 105916  41436 S   0.0   0.9   6:21.47 io.unifi.0
          747 iobroker  20   0  710416  86652  42748 S   0.0   0.7   0:04.80 io.mihome-vacuu
          778 iobroker  20   0  687068  80288  38840 S   0.0   0.7   0:05.09 io.wolf.0
          805 iobroker  20   0  686720  79544  38812 S   0.0   0.6   0:04.64 io.fhem.3
          836 iobroker  20   0  935004 139660  41052 S   0.0   1.1   1:04.45 io.zigbee.0
          855 iobroker  20   0   10.8g  91504  46712 S   0.0   0.7   0:04.64 io.mielecloudse
          882 iobroker  20   0  696420  91636  39104 S   0.0   0.7   0:07.34 io.tr-064.0
          917 iobroker  20   0   10.7g 106732  40608 S   0.0   0.9   1:37.35 io.synology.0
          999 iobroker  20   0  760212 155748  39112 S   0.0   1.3   3:42.50 io.sonoff.0
         1055 iobroker  20   0  970652 102728  40268 S   0.0   0.8   0:18.40 io.alexa2.0
         1083 iobroker  20   0  684764  78400  39012 S   0.0   0.6   0:05.23 io.mihome.0
         1113 iobroker  20   0  684160  76472  39144 S   0.0   0.6   0:04.50 io.fhem.1
         1175 iobroker  20   0  967396 108104  47072 S   0.0   0.9   0:07.69 io.ham.0
         1272 iobroker  20   0  694716  88500  39040 S   0.0   0.7   1:05.25 io.net-tools.0
         1329 iobroker  20   0  689648  78704  39196 S   0.0   0.6   0:03.95 io.terminal.0
         1429 iobroker  20   0  689008  81284  39020 S   0.0   0.7   0:07.08 io.simple-api.0
         1487 iobroker  20   0  687600  82044  40160 S   0.0   0.7   0:06.73 io.sainlogic.0
         1555 iobroker  20   0  685424  75932  38832 S   0.0   0.6   0:03.93 io.ws.0
         1590 iobroker  20   0  693488  88404  39020 S   0.0   0.7   0:26.29 io.go-e.0
         1614 iobroker  20   0  698332  98240  39380 S   0.0   0.8   0:08.48 io.fritzdect.0
         1644 iobroker  20   0  958132  93404  39900 S   0.0   0.8   0:15.33 io.bring.0
         1677 iobroker  20   0   10.9g 121436  46916 S   0.0   1.0   0:15.01 io.iot.0
         1706 iobroker  20   0   10.7g  96840  46276 S   0.0   0.8   0:04.41 io.backitup.0
         1776 iobroker  20   0  948336  88324  45548 S   0.0   0.7   0:05.83 io.pvforecast.0
         1817 iobroker  20   0   10.9g 106016  47116 S   0.0   0.9   0:29.55 io.tesla-motors
         1850 iobroker  20   0  680432  73092  38916 S   0.0   0.6   0:03.98 io.enigma2.1
         1920 iobroker  20   0  680964  73712  39040 S   0.0   0.6   0:04.01 io.enigma2.0
         1947 iobroker  20   0  700432  97476  39572 S   0.0   0.8   0:20.26 io.upnp.0
         2003 iobroker  20   0  949784  82036  40068 S   0.0   0.7   0:05.61 io.nina.0
         2106 iobroker  20   0  682900  75904  39064 S   0.0   0.6   0:03.85 io.text2command
      
      
      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @caravandriver last edited by

        @caravandriver sagte in iobroker kaum benutzbar - redis 100%:

        Und redis ist wieder dabei...

        Moin,

        na dann gib doch mal zum Besten, wie Du Dein redis Server installiert hast und wie er konfiguriert ist! Was wird ins rdeis Log File geschrieben, wenn die Last ansteigt?

        VG
        Bernd

        1 Reply Last reply Reply Quote 0
        • Ro75
          Ro75 last edited by

          @caravandriver also ich nutze Redis auch und hatte noch nie Probleme, ganz im Gegenteil. Dank Redis läuft alles "flotter" und benötigt unterm Strich deutlich weniger Ressourcen.

          Wenn es bei dir anders ist (konnte man ja sehen), dann würde ich zuerst die Frage an dich stellen:

          • Was hast du an der redis config denn geändert?

          Ro75.

          caravandriver 1 Reply Last reply Reply Quote 0
          • caravandriver
            caravandriver @Ro75 last edited by

            @ro75 Ich habe da gar nichts geändert. Ich habe eine große iobroker installation. Klar, ohne redis wird es schlimmer sein, nur ist es eben mit nicht gut.

            ? 1 Reply Last reply Reply Quote 0
            • caravandriver
              caravandriver last edited by

              @dp20eic

              Installiert
              iobroker stop
              sudo apt install redis-server
              iobroker setup custom

              wie finde ich raus, was in redis geschrieben wird?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @caravandriver last edited by

                @caravandriver sagte in iobroker kaum benutzbar - redis 100%:

                Ich habe da gar nichts geändert. Ich habe eine große iobroker installation.

                Moin,

                das kann ja dann schon mal ein Hinweis sein, denn Redis funktioniert nur so gut wie es auch eingerichtet ist, vielleicht ist ja die Standardkonfiguration nicht für Deine Installation geeignet, also zeig mal das Konfigurationsfile.

                Logs sollten unter /var/log zu finden sein.

                VG
                Bernd

                caravandriver 2 Replies Last reply Reply Quote 0
                • caravandriver
                  caravandriver @Guest last edited by

                  @dp20eic

                  tail -f /var/log/redis/ --> ist leer

                  ? 1 Reply Last reply Reply Quote 0
                  • caravandriver
                    caravandriver @Guest last edited by caravandriver

                    @dp20eic

                    Hier die Konfig

                    redis.conf

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @caravandriver last edited by

                      @caravandriver
                      Ist auch das Paket redis installiert?

                      apt policy redis*
                      

                      liefert?

                      caravandriver 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @caravandriver last edited by

                        @caravandriver sagte in iobroker kaum benutzbar - redis 100%:

                        @dp20eic

                        tail -f /var/log/redis/ --> ist leer

                        Moin,

                        Dir ist bewusst, dass das nur der Ordner ist, auf den Du ein tail machst?

                        # ls -la /var/log/redis/*
                        Dann tail auf das Logfile, das zur Problemzeit passt
                        # tail -f /var/log/redis/logfile.xyz
                        

                        VG
                        Bernd

                        caravandriver 2 Replies Last reply Reply Quote 0
                        • caravandriver
                          caravandriver @Thomas Braun last edited by

                          @thomas-braun

                           apt policy redis*
                          redis-server:
                            Installed: 5:6.0.16-1+deb11u2
                            Candidate: 5:6.0.16-1+deb11u2
                            Version table:
                           *** 5:6.0.16-1+deb11u2 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                                  100 /var/lib/dpkg/status
                          redis-redisearch-doc:
                            Installed: (none)
                            Candidate: 1:1.2.2-4
                            Version table:
                               1:1.2.2-4 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                          redis-sentinel:
                            Installed: (none)
                            Candidate: 5:6.0.16-1+deb11u2
                            Version table:
                               5:6.0.16-1+deb11u2 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                          redis-tools:
                            Installed: 5:6.0.16-1+deb11u2
                            Candidate: 5:6.0.16-1+deb11u2
                            Version table:
                           *** 5:6.0.16-1+deb11u2 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                                  100 /var/lib/dpkg/status
                          redis-redisearch:
                            Installed: (none)
                            Candidate: 1:1.2.2-4
                            Version table:
                               1:1.2.2-4 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                          redis:
                            Installed: 5:6.0.16-1+deb11u2
                            Candidate: 5:6.0.16-1+deb11u2
                            Version table:
                           *** 5:6.0.16-1+deb11u2 500
                                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                                  500 http://security.debian.org bullseye-security/main amd64 Packages
                                  100 /var/lib/dpkg/status
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • caravandriver
                            caravandriver @Guest last edited by

                            @dp20eic sagte in iobroker kaum benutzbar - redis 100%:

                            ls -la /var/log/redis/*

                            ja ist mir bewusst. Ich tabbe an der stelle und es ist nichts drin...

                            1 Reply Last reply Reply Quote 0
                            • caravandriver
                              caravandriver @Guest last edited by caravandriver

                              @dp20eic

                              ls -la /var/log/redis/*
                              ls: cannot access '/var/log/redis/*': Permission denied
                              
                              sudo  ls -la /var/log/redis/*
                              ls: cannot access '/var/log/redis/*': No such file or directory
                              

                              mit einem sudo chmod -R 777 /var/log/redis/
                              komme ich nun dran...

                              iobroker@SmarthomeVM:~$ tail -f /var/log/redis/redis-server.log
                              197:M 05 Sep 2023 09:36:07.012 * 10000 changes in 60 seconds. Saving...
                              197:M 05 Sep 2023 09:36:07.022 * Background saving started by pid 1919271
                              1919271:C 05 Sep 2023 09:36:16.429 * DB saved on disk
                              1919271:C 05 Sep 2023 09:36:16.440 * RDB: 24 MB of memory used by copy-on-write
                              197:M 05 Sep 2023 09:36:16.462 * Background saving terminated with success
                              197:M 05 Sep 2023 09:37:17.080 * 10000 changes in 60 seconds. Saving...
                              197:M 05 Sep 2023 09:37:17.089 * Background saving started by pid 1920931
                              1920931:C 05 Sep 2023 09:37:26.622 * DB saved on disk
                              1920931:C 05 Sep 2023 09:37:26.633 * RDB: 18 MB of memory used by copy-on-write
                              197:M 05 Sep 2023 09:37:26.737 * Background saving terminated with success
                              197:M 05 Sep 2023 09:38:27.057 * 10000 changes in 60 seconds. Saving...
                              197:M 05 Sep 2023 09:38:27.066 * Background saving started by pid 1922567
                              1922567:C 05 Sep 2023 09:38:36.614 * DB saved on disk
                              1922567:C 05 Sep 2023 09:38:36.625 * RDB: 18 MB of memory used by copy-on-write
                              197:M 05 Sep 2023 09:38:36.650 * Background saving terminated with success
                              197:M 05 Sep 2023 09:39:37.073 * 10000 changes in 60 seconds. Saving...
                              197:M 05 Sep 2023 09:39:37.082 * Background saving started by pid 1924186
                              1924186:C 05 Sep 2023 09:39:47.195 * DB saved on disk
                              1924186:C 05 Sep 2023 09:39:47.207 * RDB: 22 MB of memory used by copy-on-write
                              197:M 05 Sep 2023 09:39:47.241 * Background saving terminated with success
                              197:M 05 Sep 2023 09:40:48.076 * 10000 changes in 60 seconds. Saving...
                              197:M 05 Sep 2023 09:40:48.085 * Background saving started by pid 1925897
                              

                              10000 Änderungen in 60 sek??? Das ist viel, oder? Wo sehe ich was das macht?

                              Homoran OliverIO Thomas Braun 3 Replies Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @caravandriver last edited by

                                @caravandriver sagte in iobroker kaum benutzbar - redis 100%:

                                17.080 * 10000 changes in 60 seconds. Saving...

                                ist nicht dein Ernst?
                                und du wunderst dich dass es klemmt?

                                caravandriver 1 Reply Last reply Reply Quote 0
                                • OliverIO
                                  OliverIO @caravandriver last edited by

                                  @caravandriver
                                  In der Instanz Sicht des iobrokers kann man sehen wieviele Events pro Eintrag vorkommen.
                                  Das ist ein Hinweis auf dir Anzahl der gelesenen und geschriebenen datenpunkte.

                                  caravandriver 1 Reply Last reply Reply Quote 1
                                  • caravandriver
                                    caravandriver @Homoran last edited by

                                    @homoran
                                    Nein, ich wunder mich nicht, aber warum ist das so? Ich habe nichts irgendwo eingestellt das sagt "mach das so"...

                                    ? 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @caravandriver last edited by

                                      @caravandriver sagte in iobroker kaum benutzbar - redis 100%:

                                      sudo chmod -R 777 /var/log/redis/

                                      Am Rande: 777 rekursiv über ein Verzeichnis kippen ist immer die allerallerschlechteste Herangehensweise.
                                      Ich vermute, da fehlt die Mitgliedschaft in einer Gruppe 'redis' oder ähnliches.

                                      1 Reply Last reply Reply Quote 0
                                      • caravandriver
                                        caravandriver @OliverIO last edited by caravandriver

                                        @oliverio

                                        hier?

                                        66c801d6-de5a-4eef-857a-81385ed06a46-image.png

                                        41b1a48e-4025-48a5-a644-51c210c49472-image.png

                                        8d9e8803-303a-4632-ae20-848270be3fe9-image.png

                                        c554d49d-c8c1-4bc1-9fa7-87dbab4de4ea-image.png

                                        8081c059-d45e-48c0-a6b5-1e4e405a7622-image.png

                                        e62f2759-1d39-4294-92a5-792d049a37e2-image.png

                                        51b5a0ef-38f2-46a4-bb30-2f99da8cd53d-image.png

                                        Ja, ich habe einige Javascripte. Die machen am meisten. Aber: Wie finde ich raus, welches da am meisten input macht? ggf ist ja eines kaputt..

                                        Aber: Auch wenn ich javascript anhalte wird es nicht besser.

                                        Homoran OliverIO 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @caravandriver last edited by

                                          @caravandriver hast du alle hunderte Instanzen aud Logstufe debug?

                                          caravandriver 1 Reply Last reply Reply Quote 0
                                          • caravandriver
                                            caravandriver @Homoran last edited by

                                            @homoran Nein, alle sind auf "Error"

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            425
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            89
                                            4816
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo