Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (?) ioBroker Restart ?

    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 Restart ?

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

      @crunchip said in (?) ioBroker Restart ?:

      @basti97 sagte in (?) ioBroker Restart ?:

      Ich werde den Ram nochmal erhöhen. Dann hoffe ich das das ganze irgendwann mal ohne Swap funktoniert

      auch wenn du ihn erhöst, kann es dazu kommen, swap zu benutzen, du kannst allerdings bestimmen, wann das passiert(swappiness)
      ich habe meine Maschinen auf 1 gesetzt, Standard ist 60

      Ja ich habe eine VM
      Mit welchen Befehl könnte ich bestimmen wann was passieren sollte. Und was würde passieren wenn ich es auf 1 setze anstatt 60?

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

        @thomas-braun said in (?) ioBroker Restart ?:

        @basti97

        So ganz grundsätzlich:

        https://www.linuxatemyram.com/

        Danke also ist das ganze nicht so schlimm erst wenn das System abstürzen würde. Hat der Swap irgendwelche Nachteile für meine Festplatte bzw SSD

        Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Basti97 last edited by

          @basti97
          Swap liegt immer direkt auf der Hardware/Speichermedium. Deswegen ist es ja auch langsamer als 'richtiges RAM'

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

            @basti97 https://askubuntu.com/questions/103915/how-do-i-configure-swappiness

            @basti97 sagte in (?) ioBroker Restart ?:

            Hat der Swap irgendwelche Nachteile für meine Festplatte bzw SSD

            Kann die Platte schneller kaputt gehen

            Basti97 1 Reply Last reply Reply Quote 0
            • Basti97
              Basti97 Most Active @crunchip last edited by

              @crunchip said in (?) ioBroker Restart ?:

              @basti97 https://askubuntu.com/questions/103915/how-do-i-configure-swappiness

              @basti97 sagte in (?) ioBroker Restart ?:

              Hat der Swap irgendwelche Nachteile für meine Festplatte bzw SSD

              Kann die Platte schneller kaputt gehen

              Danke

              auch wenn du ihn erhöst, kann es dazu kommen, swap zu benutzen, du kannst allerdings bestimmen, wann das passiert(swappiness)
              ich habe meine Maschinen auf 1 gesetzt, Standard ist 60

              Wie hast du das bei deinen System geändert?

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

                @basti97

                Den angepassten Wert der Swappiness schreiben Sie in die Konfigurationsdatei „/etc/sysctl.conf“, die Sie als root oder über sudo in einem Texteditor öffnen. Legen Sie am Ende der Datei die Zeile
                
                vm.swappiness=[Wert]
                
                an, falls noch nicht vorhanden. Der Platzhalter „[Wert]“ steht für den gewünschten Swappiness-Wert. Die Einstellung gilt ab dem nächsten Neustart.
                
                Basti97 2 Replies Last reply Reply Quote 0
                • Basti97
                  Basti97 Most Active @crunchip last edited by

                  @crunchip Vielen Dank ich probiere es aus.

                  1 Reply Last reply Reply Quote 0
                  • Basti97
                    Basti97 Most Active @crunchip last edited by

                    @crunchip Als Standart waren 60 ich habe es auf 20 geändert. Ist das ein guter Wert??

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

                      @basti97 mach 10 oder geh gar auf 1 runter.

                      Basti97 1 Reply Last reply Reply Quote 0
                      • Basti97
                        Basti97 Most Active @crunchip last edited by Basti97

                        @crunchip Ok ich stelle es nochmal um. danke für deine Hilfe. 👶
                        Das kann ich doch mit jeder VM machen wie auch Raspberry oder?

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

                          @basti97 kannst du, theoretisch könnte man swap auch ganz ausschalten,
                          ABER
                          Dazu müsste gewährleistet sein, das auch wirklich immer genug Ram zur Verfügung steht, sonst kann das in die Hose gehen.

                          Basti97 1 Reply Last reply Reply Quote 0
                          • Basti97
                            Basti97 Most Active @crunchip last edited by

                            @crunchip said in (?) ioBroker Restart ?:

                            @basti97 kannst du, theoretisch könnte man swap auch ganz ausschalten,
                            ABER
                            Dazu müsste gewährleistet sein, das auch wirklich immer genug Ram zur Verfügung steht, sonst kann das in die Hose gehen.

                            Ich wollte gerade bei meiner anderen vm das auch ändern. Aber da kommt folgende Meldung was kann ich machen?

                            emilia@Emilia:~$ cat /proc/sys/vm/swappiness
                            60
                            emilia@Emilia:~$ sudo gedit /etc/sysctl.conf
                            [sudo] Passwort für emilia:
                            Unable to init server: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt
                            
                            (gedit:9072): Gtk-WARNING **: 11:02:20.703: cannot open display:
                            emilia@Emilia:~$
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Basti97 last edited by Thomas Braun

                              @basti97 sagte in (?) ioBroker Restart ?:

                              Aber da kommt folgende Meldung was kann ich machen?

                              Ohne Desktop-Umgebung arbeiten.

                              sudo nano /etc/sysctl.conf
                              
                              Basti97 1 Reply Last reply Reply Quote 0
                              • Basti97
                                Basti97 Most Active @Thomas Braun last edited by

                                @thomas-braun said in (?) ioBroker Restart ?:

                                sudo nano /etc/sysctl.conf

                                Super das hat funktoniert Danke
                                Und das mit den Desktop ändere ich noch. Warum wäre das schlecht wenn ich einen habe??

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

                                  @basti97

                                  Weil auf einem Server aus diversen Gründen (Sicherheit, Ressourcen, Stabilität usw.) nur das allernotwendigste für den Betrieb erforderliche läuft. Ein Desktop gehört da nicht dazu.

                                  Was nicht läuft kann nicht kaputt gehen und muss nicht gewartet werden.

                                  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

                                  623
                                  Online

                                  31.9k
                                  Users

                                  80.2k
                                  Topics

                                  1.3m
                                  Posts

                                  8
                                  115
                                  6582
                                  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