[vz-dev] vzlogger.log läuft voll

Christian Wulff christianwulff at gmx.de
Sun Jan 22 23:17:17 CET 2017


Hi,

 

mein vzlogger.log läuft mit folgendem Fehler voll (verbosity = 0):

 

[Jan 16 22:41:57][main] vzlogger v0.6.0 based on heads/master-0-g1484f9aad1
from Mon, 22 Aug 2016 22:32:51 +0200 started.

[Jan 16 22:41:57][main] log level is 0

[Jan 16 22:42:45][d0]   nothing received for more than 30 seconds

[Jan 16 22:42:45][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:42:45][d0]   nothing received for more than 30 seconds

[Jan 16 22:42:45][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:43:21][d0]   nothing received for more than 30 seconds

[Jan 16 22:43:21][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:43:24][d0]   nothing received for more than 30 seconds

[Jan 16 22:43:24][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:43:57][d0]   nothing received for more than 30 seconds

[Jan 16 22:43:57][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:44:01][d0]   nothing received for more than 30 seconds

[Jan 16 22:44:01][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:44:39][d0]   nothing received for more than 30 seconds

[Jan 16 22:44:39][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:44:41][d0]   nothing received for more than 30 seconds

[Jan 16 22:44:41][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:45:16][d0]   nothing received for more than 30 seconds

[Jan 16 22:45:16][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:45:20][d0]   nothing received for more than 30 seconds

[Jan 16 22:45:20][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:45:53][d0]   nothing received for more than 30 seconds

[Jan 16 22:45:53][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:46:00][d0]   nothing received for more than 30 seconds

[Jan 16 22:46:00][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:46:36][d0]   nothing received for more than 30 seconds

[Jan 16 22:46:36][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:46:43][d0]   nothing received for more than 30 seconds

[Jan 16 22:46:43][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:47:14][d0]   nothing received for more than 30 seconds

[Jan 16 22:47:14][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:47:19][d0]   nothing received for more than 30 seconds

[Jan 16 22:47:19][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

[Jan 16 22:47:51][d0]   nothing received for more than 30 seconds

[Jan 16 22:47:51][d0]   read timed out!, context: 0, bytes read: 0, last
byte 0x7f

 

Innerhalb von 6 Tagen sammeln sich so rund 3,8MB bei einem timeout von 30s
an.

Nach rund 45 Tagen sind dann die 30MB /tmp voll und das Frontend macht
Probleme.

Ich habe zwei Stromzähler ltron ACE3000 Typ 260 im Einsatz.

An jedem hängt ein USB IR-Lesekopf von Udo.

Der 1.8.0 ist der für den Hausstrom

Der 1.8.1 und der 1.8.2 sind Haupt- und Nebentarif für die Wärmepumpe.

Ich hatte den zunächst auf der Standardeinstellung "read_timeout": 10,

Dann habe ich die Zeile gelöscht, dann benutzt der vzlogger die
Standardeinstellung 10s

Dann habe ich auf 30 geändert, dann auf 60 und aktuell läuft er auf 300
Sekunden.

Das alles ändert aber nur das Intervall der Fehlermeldungen.

 

Ich würde den Fehler gerne beseitigen.

Hat jemand eine Idee woran das liegen kann und was man dagegen tun kann?

 

Danke und lieben Gruß,

Chris

 

Hier meine vzlogger.conf:

 

{

  "retry": 0,

  "daemon": true,

  "verbosity": 0,

  "log": "/tmp/vzlogger.log",

  "local": {

    "enabled": false,

    "port": 8080,

    "index": false,

    "timeout": 0,

    "buffer": 0

  },

  "meters": [

    {

      "enabled": true,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "0f45a600-97c8-11e6-a98b-f94fff86df2b",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 4,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": false,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "16340d60-84d3-11e6-b24c-75867e2891aa",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 18,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": false,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "2385ffa0-84d3-11e6-8416-017f16048226",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 17,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": false,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "305d4c40-84d3-11e6-818e-83db890e7cf1",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 23,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": false,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "3d1f1cf0-84d3-11e6-bb3e-21923d7f4506",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://localhost/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 27,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": false,

      "allowskip": false,

      "interval": -1,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "4dab53c0-84d3-11e6-9a46-21974baccae6",

          "identifier": "Impulse",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "s0",

      "gpio": 22,

      "configureGPIO": true,

      "debounce_delay": 0

    },

    {

      "enabled": true,

      "allowskip": false,

      "interval": -1,

      "aggtime": 60,

      "aggfixedinterval": false,

      "channels": [

       {

          "uuid": "89c0c960-8e59-11e6-81d7-efe19b94c4aa",

          "identifier": "1.8.0",

          "api": "volkszaehler",

          "middleware": "http://localhost/middleware.php",

          "aggmode": "none",

          "duplicates": 3600

        }

      ],

      "protocol": "d0",

      "device": "/dev/ttyUSB1",

      "pullseq": "2F3F210D0A",

      "baudrate": 300,

      "parity": "7e1",

      "read_timeout": 30,

    },

    {

      "enabled": true,

      "allowskip": false,

      "interval": -1,

      "aggtime": 60,

      "aggfixedinterval": false,

      "channels": [

       {

          "uuid": "b672f2c0-8e59-11e6-be34-2f0c157b74af",

          "identifier": "1.8.1",

          "api": "volkszaehler",

          "middleware": "http://localhost/middleware.php",

          "aggmode": "none",

          "duplicates": 3600

        },

      {

          "uuid": "0f619f10-97e7-11e6-88bd-e79ee73590e6",

          "identifier": "1.8.2",

          "api": "volkszaehler",

          "middleware": "http://localhost/middleware.php",

          "aggmode": "none",

          "duplicates": 3600

        }

      ],

      "protocol": "d0",

      "device": "/dev/ttyUSB0",

      "pullseq": "2F3F210D0A",

      "baudrate": 300,

      "parity": "7e1",

      "read_timeout": 30,

    },

    {

      "enabled": true,

      "allowskip": false,

      "interval": 30,

      "aggtime": -1,

      "aggfixedinterval": false,

      "channels": [

        {

          "uuid": "05ce3700-97c7-11e6-acf4-754d9577033c",

          "identifier": "28-021573bfdbff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "60b75820-97d9-11e6-8c9e-ed7c96d54c3f",

          "identifier": "28-021573c05eff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "b2824a90-97d9-11e6-b609-d532b9f87f7d",

          "identifier": "28-0215735cffff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

       {

          "uuid": "e7345f40-9898-11e6-b7f6-7df31c77cfb3",

          "identifier": "28-000007b1805c",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "404b24a0-97e3-11e6-a306-c55a9124fa54",

          "identifier": "28-000007b38263",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "d08a8390-97e3-11e6-bb10-e9877a1c482b",

          "identifier": "28-000007b19d17",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "18975770-97e4-11e6-a22a-6910830732b4",

          "identifier": "28-000007b2c945",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "29e5dc90-97e4-11e6-9f0c-5f5df93981c9",

          "identifier": "28-000007b365ea",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "3a462ee0-97e4-11e6-b8e3-13bed4414795",

          "identifier": "28-021573aaeeff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "4b321920-97e4-11e6-8968-99af1eb4a84a",

          "identifier": "28-000007b1a9ca",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "5b3ee5c0-97e4-11e6-8d2b-a7ddd4fb35ad",

          "identifier": "28-000007b34e06",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "7a5bd950-97e4-11e6-b969-8fbfb0d412d6",

          "identifier": "28-000007b375c3",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "b64be660-9915-11e6-84ac-37f3f084194e",

          "identifier": "28-000007b29094",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "17557a00-a8ef-11e6-8ba3-817f43e5aeb6",

          "identifier": "28-000007b35c87",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "0d97bd00-aeae-11e6-b4a0-83e63dee3db9",

          "identifier": "28-0215733893ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "20b777e0-aeae-11e6-9ee3-09b35268fb71",

          "identifier": "28-021573c015ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "5af78cb0-af37-11e6-9c38-0d0c78d84fe0",

          "identifier": "28-0315747783ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "744bf580-af37-11e6-a950-21d0a5cfcad3",

          "identifier": "28-0115736c5eff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "891c02b0-af37-11e6-a3b9-f1362b7f945a",

          "identifier": "28-0215733879ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "99d00530-af37-11e6-aee9-0d25b8ffa1da",

          "identifier": "28-021573bef0ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "ac506080-c531-11e6-827a-fda5c3b87cf8",

          "identifier": "28-0416915d81ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "c07a4780-c531-11e6-b10e-4b2c78ad669b",

          "identifier": "28-0416912c97ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        },

        {

          "uuid": "d3d9b6a0-c531-11e6-a9ca-a5704f6af2bc",

          "identifier": "28-0516905521ff",

          "api": "volkszaehler",

          "middleware": "http://127.0.0.1/middleware.php",

          "aggmode": "none",

          "duplicates": 0

        }

      ],

      "protocol": "w1therm"

    }

  ]

}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20170122/ff17cb56/attachment-0001.html>


More information about the volkszaehler-dev mailing list