<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wichtiger Hinweis für Redis Installationen!]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<h4>English version below ...</h4>
<p dir="auto">wer ioBroker mit Redis einsetzt - vor allem wenn auch die Objects im Redis liegen - muss bitte sicherstellen das eine Systemeinstellung korrekt gesetzt ist. Auf diese haben wir leider keinen direkten Einfluss weil er von dem Betriebssystem abhängt wo der Redis-Server installiert ist und läuft.</p>
<p dir="auto">Am Ende geht es um die eingestellte Locale des Systems.  Die Locale hat einen Einfluss wie im Redis Zeichenketten verglichen werden, was ggf zu falschen Antworten führen kann.</p>
<h3>Systemeinstellung testen</h3>
<p dir="auto">Um zu testen ob etwas geändert werden muss gibt es zwei Wege:</p>
<p dir="auto">1.) Über <code>redis-cli</code> an der Kommandozeile die Redis-Shell öffnen und dann <code>EVAL "return 'c-i.t' &gt;= 'c.' and 'c-i.t' &lt; 'c.香'" 1 1</code> ausführen. Wenn das Ergebnis (nil) ist 8siehe Grafik unten) ist alles ok und nichts muss geändert werden. Sollte das Ergebnis allerdings "1" sagen, so ist die Locale falsch eingestellt und muss korrigiert werden</p>
<p dir="auto">2.) An einer normalen SSH Shell <code>locale</code> eingeben und schauen was bei "LANG" gesetzt ist, wenn die Ausgabe "LANG=C" (oder "LANG=" (nichts)) enthält, noch schauen ob bei "LC_ALL" etwas gesetzt ist. Falls eins davon zB "en-GB.UTF-8" oder "de-DE.UTF-8" oder ein anderer String als "C" bzw "leer" ist , so muss dieser korrigiert werden.</p>
<p dir="auto">So ist es ok!<br />
<img src="/assets/uploads/files/1646081526023-bildschirmfoto-2022-02-28-um-21.51.53.png" alt="Bildschirmfoto 2022-02-28 um 21.51.53.png" class=" img-fluid img-markdown" /></p>
<h3>Systemeinstellung korrigieren</h3>
<p dir="auto">Um die Einstellung zu korrigieren gibt es drei Optionen</p>
<h4>Option 1: Konfiguration Redis-Server anpassen</h4>
<p dir="auto">Dazu muss das Service-File des Redis-Services editiert werden.</p>
<ul>
<li>Hierzu mittels <code>systemctl status redis-server</code> den Pfad des Service Files rausfinden<br />
<img src="/assets/uploads/files/1646081897274-bildschirmfoto-2022-02-28-um-21.58.07.png" alt="Bildschirmfoto 2022-02-28 um 21.58.07.png" class=" img-fluid img-markdown" /></li>
<li>Dann das Service File editieren mit dem Texteditor (und mit sudo) Eurer Wahl (im Falle hier ist es in /lib/systemd/system/redis-server.service). Dort unter [Service]  (das gibts schon) eine Zeile einfügen, dass es dann so aussieht:</li>
</ul>
<pre><code>...
[Service]
Environment="LC_ALL=C"
...
</code></pre>
<ul>
<li>Danach mittels <code>sudo systemctl daemon-reload</code> das Service aktualisieren das die Änderungen bekannt sind</li>
<li>Mit <code>sudo systemctl restart redis</code> den Dienst neu starten oder Rebooten.</li>
</ul>
<p dir="auto">Danach bitte Test wiederholen.</p>
<h4>Option 2: Systemweite Änderung</h4>
<p dir="auto">Hierzu gilt aber zu bedenken das das ggf auch andere Auswirkungen haben kann (nicht auf ioBroker! aber ggf auf andere Software). Wenn auf dem System nur ioBroker und Redis läuft oder nur der Redis dann ist das ggf der einfachste Weg.</p>
<p dir="auto"><code>sudo localectl set-locale LANG=C</code></p>
<p dir="auto">Dann Rebooten. Dann gern nochmal das obige testen, was jetzt gefixt sein sollte.</p>
<p dir="auto">Wir planen das mit js-controller 4.1 (Q4/22) das zu prüfen und die User darauf hinzuweise, bis dahin muss es allerdings so reichen :-)</p>
<h3>Option 3: via Redis Config:</h3>
<p dir="auto">siehe <a href="https://forum.iobroker.net/post/1114246">https://forum.iobroker.net/post/1114246</a></p>
<hr />
<p dir="auto">English version:</p>
<p dir="auto">Hi,</p>
<p dir="auto">if you use ioBroker with Redis - especially if the objects are located in Redis - please make sure that one system setting is set correctly. Unfortunately we have no direct influence on this because it depends on the operating system where the Redis server is installed and running.</p>
<p dir="auto">At the end it is about the set locale of the system.  The locale has an influence on how strings are compared in Redis, which can lead to wrong answers.</p>
<h3>Test system settings</h3>
<p dir="auto">To test if something has to be changed there are two ways:</p>
<ol>
<li>
<p dir="auto">Open the Redis shell via <code>redis-cli</code> at the command line and then <code>EVAL "return 'c-i.t' &gt;= 'c.' and 'c-i.t' &lt; 'c.香'" 1 1</code> execute. If the result is (nil) (see graphic below) everything is ok and nothing needs to be changed. However, if the result says "1", then the locale is set incorrectly and needs to be corrected.</p>
</li>
<li>
<p dir="auto">At a normal SSH shell type <code>locale</code> and look what is set at "LANG", if the output contains "LANG=C" (or "LANG=" (nothing)), still look if something is set at "LC_ALL". If one of them is e.g. "en-GB.UTF-8" or "de-DE.UTF-8" or another string than "C" or "empty" it must be corrected.</p>
</li>
</ol>
<p dir="auto">So it is ok!<br />
<img src="/assets/uploads/files/1646081526023-bildschirmfoto-2022-02-28-um-21.51.53.png" alt="Bildschirmfoto 2022-02-28 um 21.51.53.png" class=" img-fluid img-markdown" /></p>
<h3>Correct system setting</h3>
<p dir="auto">There are three options to correct the setting</p>
<h4>Option 1: Adjust the configuration of the Redis server.</h4>
<p dir="auto">To do this, the service file of the Redis service must be edited.</p>
<ul>
<li>Use <code>systemctl status redis-server</code> to find out the path of the service file.<br />
<img src="/assets/uploads/files/1646081897274-bildschirmfoto-2022-02-28-um-21.58.07.png" alt="Bildschirmfoto 2022-02-28 um 21.58.07.png" class=" img-fluid img-markdown" /></li>
<li>Then edit the service file with the text editor (and with sudo) of your choice (in the case here it is in /lib/system/system/redis-server.service). There under [Service] (that already exists) insert a line, that it looks like this:</li>
</ul>
<pre><code>...
[Service]
Environment="LC_ALL=C"
...
</code></pre>
<ul>
<li>Afterwards with <code>sudo systemctl daemon-reload</code> update the service so that the changes are known.</li>
<li>Restart or reboot the service with <code>sudo systemctl restart redis</code>.</li>
</ul>
<p dir="auto">After that please repeat the test.</p>
<h4>Option 2: System wide change</h4>
<p dir="auto">But keep in mind that this may have other effects (not on ioBroker! but possibly on other software). If the system runs only ioBroker and Redis or only Redis then this might be the easiest way.</p>
<p dir="auto"><code>sudo localectl set-locale LANG=C</code></p>
<p dir="auto">Then reboot. Then test the above again, which should be fixed now.</p>
<h3>Option 3: via Redis Config:</h3>
<p dir="auto">see <a href="https://forum.iobroker.net/post/1114246">https://forum.iobroker.net/post/1114246</a></p>
<p dir="auto">We plan to test this with js-controller 4.1 (Q4/22) and inform the users about it, but until then it has to do like this :-)</p>
<p dir="auto">Ingo</p>
]]></description><link>https://forum.iobroker.net/topic/52976/wichtiger-hinweis-für-redis-installationen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 00:16:24 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/52976.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Feb 2022 21:09:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 14 Aug 2024 15:52:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foxriver76" aria-label="Profile: foxriver76">@<bdi>foxriver76</bdi></a> sorry, ich hab noch nicht rückgemeldet. Ich habe neu installiert und alles upgedatet. nun gehts wieder problemlos</p>
]]></description><link>https://forum.iobroker.net/post/1191137</link><guid isPermaLink="true">https://forum.iobroker.net/post/1191137</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Wed, 14 Aug 2024 15:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:56:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> passt und du bist sicher mit der DB verbunden mit der auch die ioBroker Objects laufen ?</p>
]]></description><link>https://forum.iobroker.net/post/1186711</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186711</guid><dc:creator><![CDATA[foxriver76]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:50:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foxriver76" aria-label="Profile: foxriver76">@<bdi>foxriver76</bdi></a> ja fast ...</p>
<pre><code>EVAL "return 'c-i.t' &gt;= 'c.' and 'c-i.t' &lt; 'c.香'" 1 1
</code></pre>
<p dir="auto">ergibt nil</p>
]]></description><link>https://forum.iobroker.net/post/1186704</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186704</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:50:52 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:41:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> hm dann passt der Check bei dir nicht wenn der Controller ihn ausführt..</p>
<p dir="auto"><a href="https://github.com/ioBroker/ioBroker.js-controller/blob/d9be20474467bb22d1650fad002de9f7a6d253bf/packages/db-objects-redis/src/lib/objects/objectsInRedisClient.ts#L3829" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.js-controller/blob/d9be20474467bb22d1650fad002de9f7a6d253bf/packages/db-objects-redis/src/lib/objects/objectsInRedisClient.ts#L3829</a></p>
<p dir="auto">Denke das ist das Kommando dass du auch genutzt hast?</p>
]]></description><link>https://forum.iobroker.net/post/1186699</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186699</guid><dc:creator><![CDATA[foxriver76]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:33:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foxriver76" aria-label="Profile: foxriver76">@<bdi>foxriver76</bdi></a> mit dem Button</p>
]]></description><link>https://forum.iobroker.net/post/1186690</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186690</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:31:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> bestätigt mit dem Button bestätigen oder nur mit ok?</p>
]]></description><link>https://forum.iobroker.net/post/1186687</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186687</guid><dc:creator><![CDATA[foxriver76]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:31:14 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:29:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/foxriver76" aria-label="Profile: foxriver76">@<bdi>foxriver76</bdi></a><br />
Hab die Meldung bestätigt, kommt beim nächsten Neustart wieder … einfach ignorieren?</p>
]]></description><link>https://forum.iobroker.net/post/1186683</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186683</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:25:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> Der controller führt in der redis db den test von oben aus und wenn es zu dem Zeitpunkt nicht passt wird die Meldung generiert. Wichtig zu wissen ist die Meldung wird nicht von selbst gelöscht.</p>
]]></description><link>https://forum.iobroker.net/post/1186678</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186678</guid><dc:creator><![CDATA[foxriver76]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:21:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> Eventuell ist auch der Check im js-controller anders umgesetzt als im Foren-Beitrag. Müsste ich jetzt auch im Code nachschauen</p>
]]></description><link>https://forum.iobroker.net/post/1186672</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186672</guid><dc:creator><![CDATA[haus-automatisierung]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:21:05 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 11:20:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/haus-automatisierung" aria-label="Profile: haus-automatisierung">@<bdi>haus-automatisierung</bdi></a><br />
Das glaub ich auch nicht … aber was löst die Fehlermeldung im IoBroker aus?</p>
]]></description><link>https://forum.iobroker.net/post/1186671</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186671</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 09:45:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterk34" aria-label="Profile: peterk34">@<bdi>peterk34</bdi></a> sagte in <a href="/post/1186619">Wichtiger Hinweis für Redis Installationen!</a>:</p>
<blockquote>
<p dir="auto">der raspi hat sich aber bereits mehrmals aufgehängt</p>
</blockquote>
<p dir="auto">Das wird aber sicherlich nicht mit der Locale zusammenhängen.</p>
]]></description><link>https://forum.iobroker.net/post/1186632</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186632</guid><dc:creator><![CDATA[haus-automatisierung]]></dc:creator><pubDate>Sat, 03 Aug 2024 09:45:44 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Sat, 03 Aug 2024 09:15:14 GMT]]></title><description><![CDATA[<p dir="auto">ich bekomme wieder den Redis Fehler obwohl die locale stimmt und beim Test Nil im Redis Client wie im Forum beschrieben als Ergebnis rauskommt</p>
<p dir="auto"><img src="/assets/uploads/files/1722676304926-1722672389645-img_9781-resized.png" alt="1722672389645-img_9781.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1722676322004-1722672402497-img_9780-resized.png" alt="1722672402497-img_9780.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1722676373195-bildschirmfoto-2024-08-03-um-11.12.38.png" alt="Bildschirmfoto 2024-08-03 um 11.12.38.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1722676444712-bildschirmfoto-2024-08-03-um-11.13.50.png" alt="Bildschirmfoto 2024-08-03 um 11.13.50.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1722676510878-bildschirmfoto-2024-08-03-um-11.14.59.png" alt="Bildschirmfoto 2024-08-03 um 11.14.59.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Die Objects werden offenbar normal verarbeitet, der raspi hat sich aber bereits mehrmals aufgehängt wobei ich ziemlich sicher bin, dass das ioBroker auslöst.</p>
<p dir="auto">Hat wer eine Idee?</p>
<p dir="auto">Dankeschön</p>
]]></description><link>https://forum.iobroker.net/post/1186619</link><guid isPermaLink="true">https://forum.iobroker.net/post/1186619</guid><dc:creator><![CDATA[peterk34]]></dc:creator><pubDate>Sat, 03 Aug 2024 09:15:14 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 17 Jan 2024 11:08:46 GMT]]></title><description><![CDATA[<p dir="auto">Kurzer Hinweis: Das Ganze geht auch über die normale Redis-Konfiguration (<code>sudo nano /etc/redis/redis.conf</code>)</p>
<p dir="auto">Standard-Abschnitt unter "GLOBAL":</p>
<pre><code># Set the local environment which is used for string comparison operations, and 
# also affect the performance of Lua scripts. Empty String indicates the locale 
# is derived from the environment variables.
locale-collate ""
</code></pre>
<p dir="auto">Angepasst zu:</p>
<pre><code>locale-collate "C"
</code></pre>
<p dir="auto">Funktioniert (und spart den Weg über die Environment-Variables). <em>Getestet mit Redis 7.2.4</em></p>
]]></description><link>https://forum.iobroker.net/post/1114246</link><guid isPermaLink="true">https://forum.iobroker.net/post/1114246</guid><dc:creator><![CDATA[haus-automatisierung]]></dc:creator><pubDate>Wed, 17 Jan 2024 11:08:46 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Thu, 04 Jan 2024 09:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkiop" aria-label="Profile: darkiop">@<bdi>darkiop</bdi></a> Naja ok,ich hab pro Host 2+Sentinel ... aber jupp</p>
]]></description><link>https://forum.iobroker.net/post/1106363</link><guid isPermaLink="true">https://forum.iobroker.net/post/1106363</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Thu, 04 Jan 2024 09:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 19:50:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> sagte in <a href="/post/1105972">Wichtiger Hinweis für Redis Installationen!</a>:</p>
<blockquote>
<p dir="auto">Das ideale Setup in meinen Augen sind zwei Redis ... einen für States und einen für Objekts ... hier kann man dann viel besser die Schreiblast austarieren das "Objects" SEEHRR gross ist aber sich seltener ändert und States klein ist und sich viel öfter ändert</p>
</blockquote>
<p dir="auto">dann also 6 redis‘e im sentinel betrieb 😳😂</p>
]]></description><link>https://forum.iobroker.net/post/1106138</link><guid isPermaLink="true">https://forum.iobroker.net/post/1106138</guid><dc:creator><![CDATA[darkiop]]></dc:creator><pubDate>Wed, 03 Jan 2024 19:50:56 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 19:50:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/apollon77" aria-label="Profile: apollon77">@<bdi>apollon77</bdi></a> sagte in <a href="/post/1105351">Wichtiger Hinweis für Redis Installationen!</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/darkiop" aria-label="Profile: darkiop">@<bdi>darkiop</bdi></a> Am Ende hängt es von der Hardware und dem System und der Festplatte/SSD/SD ab.</p>
</blockquote>
<p dir="auto">Ja. Hatte bei dem Versuch auch nichts anderes erwartet.  😂</p>
]]></description><link>https://forum.iobroker.net/post/1106136</link><guid isPermaLink="true">https://forum.iobroker.net/post/1106136</guid><dc:creator><![CDATA[darkiop]]></dc:creator><pubDate>Wed, 03 Jan 2024 19:50:03 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 15:37:08 GMT]]></title><description><![CDATA[<p dir="auto">Das ideale Setup in meinen Augen sind zwei Redis ... einen für States und einen für Objekts ... hier kann man dann viel besser die Schreiblast austarieren das "Objects" SEEHRR gross ist aber sich seltener ändert und States klein ist und sich viel öfter ändert</p>
]]></description><link>https://forum.iobroker.net/post/1105972</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105972</guid><dc:creator><![CDATA[apollon77]]></dc:creator><pubDate>Wed, 03 Jan 2024 15:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 15:24:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliverio" aria-label="Profile: oliverio">@<bdi>oliverio</bdi></a> mir ging es m @Dr-Bakterius</p>
<p dir="auto">Ro75.</p>
]]></description><link>https://forum.iobroker.net/post/1105964</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105964</guid><dc:creator><![CDATA[Ro75]]></dc:creator><pubDate>Wed, 03 Jan 2024 15:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 15:22:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ro75" aria-label="Profile: ro75">@<bdi>ro75</bdi></a></p>
<p dir="auto">Du hattest gefragt, wie ich darauf komme</p>
]]></description><link>https://forum.iobroker.net/post/1105963</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105963</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Wed, 03 Jan 2024 15:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 14:06:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliverio" aria-label="Profile: oliverio">@<bdi>oliverio</bdi></a> Aber ich habe doch gar kein Problem mit Redis. Ich hatte doch nur auf eine "Hilfeanfrage" geantwortet.</p>
<p dir="auto">Ro75.</p>
]]></description><link>https://forum.iobroker.net/post/1105933</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105933</guid><dc:creator><![CDATA[Ro75]]></dc:creator><pubDate>Wed, 03 Jan 2024 14:06:30 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 13:36:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ro75" aria-label="Profile: ro75">@<bdi>ro75</bdi></a><br />
Hm, ich schaue in meine syslogs?<br />
Ich sehe wie oft da log Einträge drin stehen?<br />
Gehen wir mal davon aus, das linux maximal 1000ms cached, dann ist das vernachlässigbar und du kannst direkt am timestamp ablesen wie oft am Tag in die Datei geschrieben wird. Dazu dann auch immer in den gleichen Speicherblock.<br />
Jeder Block hat aber nur eine maximale Anzahl wie oft geschrieben werden darf. Wahrscheinlich hat die Hardware auch noch ein caching die versucht das zu optimieren, aber immer hinsichtlich der ausfallsicherheit nicht sehr lange.<br />
Wenn dann eine gewisse Anzahl an schreiboperationen erreicht ist, verschiebt der sd Controller den Block auf einen weniger benutzten (wear leveling)<br />
Daher gehört es zu einer der Optimierungen bei sd Karten (hilft auch bei ssd Platten, aber da gibt mehr Reserve Blöcke) die Bereiche mit hohen schreiboperationen in das RAM zu verlagern.</p>
<p dir="auto">Das Thema mit sterbenden sd Karten kannst du häufig, im speziellen in Verbindung mit dem raspberry, auf vielen Seiten finden.</p>
<p dir="auto">Nachtrag<br />
Hab den Wert gefunden. Er ist bei 30 Sekunden<br />
<a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s3-proc-sys-vm#" rel="nofollow ugc">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s3-proc-sys-vm#</a></p>
<p dir="auto">dirty_expire_centisecs</p>
]]></description><link>https://forum.iobroker.net/post/1105908</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105908</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Wed, 03 Jan 2024 13:36:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 12:36:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliverio" aria-label="Profile: oliverio">@<bdi>oliverio</bdi></a> sagte in <a href="/post/1105848">Wichtiger Hinweis für Redis Installationen!</a>:</p>
<blockquote>
<p dir="auto">Dann hast du syslog und die anderen logausgaben auch ins RAM verlegt?</p>
</blockquote>
<p dir="auto">Nein.</p>
<blockquote>
<p dir="auto">Da liegt das größte Risiko für viele schreiboperationen</p>
</blockquote>
<p dir="auto">Wie kommst du darauf?</p>
<p dir="auto">Ro75.</p>
]]></description><link>https://forum.iobroker.net/post/1105862</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105862</guid><dc:creator><![CDATA[Ro75]]></dc:creator><pubDate>Wed, 03 Jan 2024 12:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 12:14:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ro75" aria-label="Profile: ro75">@<bdi>ro75</bdi></a></p>
<p dir="auto">Dann hast du syslog und die anderen logausgaben auch ins RAM verlegt?<br />
<a href="https://linuxblog.io/increase-performance-lifespan-ssds-sd-cards/" rel="nofollow ugc">https://linuxblog.io/increase-performance-lifespan-ssds-sd-cards/</a></p>
<p dir="auto">Da liegt das größte Risiko für viele schreiboperationen</p>
]]></description><link>https://forum.iobroker.net/post/1105848</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105848</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Wed, 03 Jan 2024 12:14:36 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtiger Hinweis für Redis Installationen! on Wed, 03 Jan 2024 10:22:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oliverio" aria-label="Profile: oliverio">@<bdi>oliverio</bdi></a> sagte in <a href="/post/1105151">Wichtiger Hinweis für Redis Installationen!</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ro75" aria-label="Profile: ro75">@<bdi>ro75</bdi></a></p>
<p dir="auto">Die Zeit bis zur nächsten Speicherung ist das Risiko des Verlust der Informationen, falls der Prozess oder der Rechner abstürzt.</p>
</blockquote>
<p dir="auto">Da ich mir des Risikos bewusst bin, habe ich das bei mir so konfiguriert, dass nur 2 mal pro Tag etwa auf die SSD geschrieben wird. Wie gesagt, nutzte das System mit der Redis DB so seit 2 Jahren und mit meiner Konfig noch kein Datenverlust gehabt.</p>
<p dir="auto">Ro75.</p>
]]></description><link>https://forum.iobroker.net/post/1105754</link><guid isPermaLink="true">https://forum.iobroker.net/post/1105754</guid><dc:creator><![CDATA[Ro75]]></dc:creator><pubDate>Wed, 03 Jan 2024 10:22:37 GMT</pubDate></item></channel></rss>