<div dir="ltr"><div>Ich betreibe seit vielen Jahren zwei vzlogger-Instanzen (vzloggerS0 und vzloggerSML) auf einem Beaglebone (aktuell mit Debian v11.7) ohne nennenswerte Probleme. Seit ein paar Wochen stellt die SML-Meter-Instanz regelmäßig nach einer Zeit von ca. 1 bis 2 Wochen ihren Dienst ein. Es werden keine Werte mehr gelesen. Nach einem Service-Restart liefert der Service wieder Daten, bis er nach besagtem Zeitraum seinen Dienst wieder einstellt. Die Service-Instanz meines S0 meters macht keine Probleme und läuft durch. Das vzlogger-Upgrade auf v0.8.2 hat das Problem leider nicht beseitigt.<br></div><div>Mein Verbose 10-Log zeigt folgende Einträge:</div><div>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:18][http] Local request received: method=GET url=/180
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:18][180]<span> </span>==>
number of tuples: 1<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:20][http] Local request received: method=GET url=/167
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:20][167]<span> </span>==>
number of tuples: 1<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:20][http] Local request received: method=GET url=/280
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:12:20][280]<span> </span>==>
number of tuples: 1<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:18][http] Local request received: method=GET url=/180
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:18][180]<span> </span>==>
number of tuples: 1<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:20][http] Local request received: method=GET url=/167
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:20][167]<span> </span>==>
number of tuples: 1<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:20][http] Local request received: method=GET url=/280
mode=(null)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">[Jun 22 22:14:20][280]<span> </span>==>
number of tuples: 1<span></span></span></p>
</div><div><br></div><div>Hier mein, bis auf den hohen Ressourcenbedarf, unauffälligen Service-Status:</div><div>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">debian@bbb2:~$ sudo systemctl status vzloggerSML<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US">● vzloggerSML.service - vzloggerSML<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>Loaded: loaded
(/etc/systemd/system/vzloggerSML.service; enabled; vendor preset: enabled)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>Active: active (running)
since Thu 2023-06-08 14:20:22 CEST; 2 weeks 0 days ago<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>Main PID: 3710 (vzlogger)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>Tasks: 6 (limit: 1026)<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>Memory: 112.1M<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>CPU: 13h 28min 52.150s<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>CGroup:
/system.slice/vzloggerSML.service<span></span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 35.45pt;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span style="font-size:9pt" lang="EN-US"><span> </span>└─3710
/usr/local/bin/vzlogger -c /etc/vzloggerSML.conf<span></span></span></p>
</div><div>Hier meine vzloggerSML-Konfiguration:</div><div>
<p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US">// vzlogger.conf with sml (Strom)<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US">{<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"daemon": true,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"verbosity": 10,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"log":
"/var/log/vzloggerSML.log",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"retry": 30,<span> </span>// http retry delay in
seconds<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>// Build-in HTTP server<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"local": {<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"enabled": true,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"port": 8081,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"index": true,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"timeout": 30,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"buffer": -1<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>},<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>// Meter configuration<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"meters": [<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>// sml meter (Strom)<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>{<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"enabled": true,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"protocol":
"sml",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"device":
"/dev/ttyUSB0",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"baudrate": 9600,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"parity":
"8n1",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"use_local_time":
true,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"skip": false,<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"channels": [<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>{<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"uuid":
"180",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"identifier":
"<b>1-0:1.8.0</b>",<span> </span>// counter 1-0:1.8.0 Zaehlerstand Bezug
[Wh]<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"api":
"null",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"duplicates":
300<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span></span>},<span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span> </span>{<span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span> </span>"uuid": "167",<span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span> </span>"identifier": "<b>1-0:16.7.0</b>",<span> </span>// 1-0:16.7.0 Momentanleistung [W]<span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span> </span>"api": "null",<span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span> </span><span lang="EN-US">"duplicates": 300<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>},<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>{<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"uuid":
"280",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"identifier":
"<b>1-0:2.8.0</b>",<span> </span>// counter-out 1-0:2.8.0 Zaehlerstand Einspeisung
[Wh]<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"api":
"null",<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>"duplicates":
3600<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>}<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>]<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>}<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US"><span> </span>]<span></span></span></p><div style="margin-left:40px">
</div><p class="MsoNormal" style="margin:0cm 0cm 0cm 40px;text-align:justify;font-size:10pt;font-family:"Arial",sans-serif"><span lang="EN-US">}<span></span></span></p>
</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div><div>Hat jemand eine Idee, was das Problem ist oder wie ich das Problem weiter eingrenzen kann?</div><div>Ich bin für jeden Tipp dankbar.</div><div><br></div><div>Viele Grüße</div><div>Winfried<br></div></div></div></div></div></div></div>