Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker sehr hohe Diskwrites in Proxmox

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker sehr hohe Diskwrites in Proxmox

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @JLeg last edited by crunchip

      @jleg sagte in ioBroker sehr hohe Diskwrites in Proxmox:

      was "iotop" anzeigt

      da is tote Hose🤔
      40d958c7-6ca3-437a-8335-9a7781a3bfaf-image.png

      Edit:

      habs jetzt bisschen beobchtet
      Js-Controller taucht immer mal auf, zwischen ca.20 und 50M/s

      JLeg 1 Reply Last reply Reply Quote 0
      • JLeg
        JLeg @crunchip last edited by

        @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

        @jleg sagte in ioBroker sehr hohe Diskwrites in Proxmox:

        was "iotop" anzeigt

        da is tote Hose🤔
        40d958c7-6ca3-437a-8335-9a7781a3bfaf-image.png

        Edit:

        habs jetzt bisschen beobchtet
        Js-Controller taucht immer mal auf, zwischen ca.20 und 50M/s

        mit "a" kannst du mal "akkumulieren", aber die 50M/s dürften sich schon relativ schnell läppern...

        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @JLeg last edited by

          @jleg meinst du so
          814647d6-baeb-4cbf-b382-14bbf136472f-image.png

          JLeg 1 Reply Last reply Reply Quote 0
          • JLeg
            JLeg @crunchip last edited by

            @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

            @jleg meinst du so
            814647d6-baeb-4cbf-b382-14bbf136472f-image.png

            Jo; leider weiss ich nicht, ob/wie man iotop dazu bekommt, die Zeitspanne mit anzuzeigen, ich schätze aber mal, der Fall ist relativ klar - der js-controller ist "the culprit"... 🙂

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @JLeg last edited by

              @jleg hmm habs laufen lassen, Zeitspanne Post zu Post, soeben hab ich 1000M überschritten

              JLeg 1 Reply Last reply Reply Quote 0
              • JLeg
                JLeg @crunchip last edited by

                @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                @jleg hmm habs laufen lassen, Zeitspanne Post zu Post, soeben hab ich 1000M überschritten

                boa, das scheint mir ziemlich heftig; das müsste eigentlich darauf hindeuten, dass deine "states.json" und "objects.json" riesig sind - oder du das Schreibintervall runtergesetzt hast (ich glaube, Default sind 30s?)

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @JLeg last edited by

                  @jleg Objekte: 42695, Zustände: 40641, Schreibintervall hab ich nichts gemacht, wüsste gar nicht wo das geändert werden kann

                  JLeg paul53 2 Replies Last reply Reply Quote 0
                  • JLeg
                    JLeg @crunchip last edited by

                    @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                    @jleg Objekte: 42695, Zustände: 40641, Schreibintervall hab ich nichts gemacht, wüsste gar nicht wo das geändert werden kann

                    Hm, für's Schreiben letztendlich interessant sind die tatsächlichen Grössen der o.g. Dateien (in 'iobroker-data', glaube ich...)

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @JLeg last edited by

                      @jleg

                      • objects.json 32Mb
                      • states.json 9,1Mb

                      keinen Plan ob das viel oder wenig ist

                      JLeg 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @crunchip last edited by paul53

                        @crunchip sagte: Schreibintervall hab ich nichts gemacht, wüsste gar nicht wo das geändert werden kann

                        Füge mal in die Datei /opt/iobroker/iobroker-data/iobroker.json unter "states" ein:
                        "writeFileInterval": 300000,

                          "states": {
                            "type": "file",
                            "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                            "host": "127.0.0.1",
                            "port": 9000,
                            "maxQueue": 1000,
                            "writeFileInterval": 300000,
                            "options": {
                              "auth_pass": null,
                              "retry_max_delay": 5000
                            },
                            "backup": {
                              "disabled": false,
                              "files": 12,
                              "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                              "hours": 48,
                              "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                              "period": 120,
                              "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                              "path": "",
                              "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                            }
                          },
                        

                        und starte anschließend ioBroker neu. Dann sollte sich die Schreiblast für die Dateien states.json(.bak) auf ein Zehntel verringern.

                        crunchip 1 Reply Last reply Reply Quote 1
                        • crunchip
                          crunchip Forum Testing Most Active @paul53 last edited by

                          @paul53 greift das auch bei redis?

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @crunchip last edited by paul53

                            @crunchip sagte: greift das auch bei redis?

                            Nein. Redis hat eine eigene Konfiguration, bei der die Voreinstellung für das Schreiben in die Datei 5 Minuten beträgt.
                            Verwendest Du Redis? Wann wurde die Datei states.json das letzte Mal geschrieben?

                            @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                            states.json 9,1Mb

                            Das macht in der Voreinstellung eine Schreiblast von 2,2 GB pro Stunde.

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @paul53 last edited by

                              @paul53 ja ich verwende redis, deshalb meine Frage, states/redis, objects/file
                              wird mir der 05.05.2020 angezeigt

                              paul53 1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 @crunchip last edited by paul53

                                @crunchip sagte: wird mir der 05.05.2020 angezeigt

                                Dann hast Du offenbar am 5.5.2020 auf Redis umgestellt.

                                @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                objects/file

                                Dann solltest Du mal beobachten, wie oft sich die Änderungszeit der Datei objects.json verändert.

                                JLeg crunchip 2 Replies Last reply Reply Quote 0
                                • JLeg
                                  JLeg @crunchip last edited by

                                  @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                  @jleg

                                  • objects.json 32Mb
                                  • states.json 9,1Mb

                                  keinen Plan ob das viel oder wenig ist

                                  hängt ja komplett von der Grösse deiner iobroker-Installation ab, bzw. von der Menge an "Zeuch" mit States uns so... Heisst aber, dass bei dir alle paar Sekunden >80MB (jede Datei 2x) geschrieben werden, scheint mir also plausibel, was deine Schreibcharts betrifft.

                                  1 Reply Last reply Reply Quote 0
                                  • JLeg
                                    JLeg @paul53 last edited by

                                    @paul53 sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                    @crunchip sagte: wird mir der 05.05.2020 angezeigt

                                    Dann hast Du offenbar am 5.5.2020 auf Redis umgestellt.

                                    aber offenbar ja nur die states - und die objects sind bei ihm offenbar "relevanter"...

                                    paul53 1 Reply Last reply Reply Quote 0
                                    • paul53
                                      paul53 @JLeg last edited by

                                      @jleg sagte: die objects sind bei ihm offenbar "relevanter"

                                      Normalerweise sollten die nur selten geschrieben werden, da quasi statisch.

                                      1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @paul53 last edited by

                                        @paul53 ist möglich, habe diesbezüglich jedoch kein Zeitgefühl, wann ich umgestellt hatte.
                                        also brauche ich "writeFileInterval": 300000, nicht eintragen?

                                        @paul53 sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                        Dann solltest Du mal beobachten
                                        wenn das hilft? untere Datum letzte Änderung, obere letzter Zugriff
                                        c831ba5f-10f8-4b49-97c3-dcb31b8d8d0f-image.png

                                        paul53 1 Reply Last reply Reply Quote 0
                                        • paul53
                                          paul53 @crunchip last edited by paul53

                                          @crunchip sagte: also brauche ich "writeFileInterval": 300000, nicht eintragen?

                                          Nein, das hat auf Redis keine Wirkung.

                                          @crunchip sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                          untere Datum letzte Änderung

                                          Wenn jetzt immer noch 17:22 Uhr angezeigt werden, ist auch das kein Problem.

                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @paul53 last edited by

                                            @paul53 sagte in ioBroker sehr hohe Diskwrites in Proxmox:

                                            ist auch das kein Problem.

                                            also hab ich dann ein Problem, hab aktualisiert, jetzt 17:50

                                            paul53 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

                                            518
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            35
                                            405
                                            53644
                                            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