Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. influxDB - influx_inspect nicht vorhanden

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    influxDB - influx_inspect nicht vorhanden

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MacPo last edited by

      Hallo zusammen,

      seit einiger Zeit läuft auf meinem Raspberry neben dem ioBroker die influxDB (1.6) und Grafana. Vor ein paar Tagen ist mir aufgefallen, dass in einer Serie nur noch ein Wert steht, den ich mit DROP SERIES FROM <serie> löschen wollte. influxDB hat dies mit einer vergessenen Fehlermeldung quittiert und sich beendet. Seitdem protokolliert immer influxdb immer wieder fatal error: out of memory beim Indizieren meiner ca. 700 MB großen Datenbank.
      Die im Speicher befindliche Indices habe ich schon auf TSI1 (index-version = “inmem” -> index-version = “tsi1”) umgestellt. Beim Versuch die Indices mit influx_inspect buildtsi -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal aufzubauen bzw. zu prüfen, kommt die Meldung -bash: influx_inspect: Kommando nicht gefunden..
      Muss ich noch etwas installieren? Wo finde ich die Datei? Tante Google hilft mir leider nicht weiter...

      Raspbian GNU/Linux 11 (bullseye) 32 Bit
      InfluxDB shell version: 1.6.7~rc0

      Vielen Dank vorab für die Hilfe.

      Auszug aus dem Protokoll:

      ...
      Sep 17 03:15:16 futBroker influxd[13768]: ts=2022-09-17T01:15:16.420933Z lvl=info msg="Opened file" log_id=0czG1i8G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/futStats/global/3914/000000003-000000002.tsm id>
      Sep 17 03:15:16 futBroker influxd[13768]: ts=2022-09-17T01:15:16.429433Z lvl=info msg="Opened shard" log_id=0czG1i8G000 service=store trace_id=0czG1iFl000 op_name=tsdb_open index_version=tsi1 path=/var/lib/influxdb/data/futS>
      Sep 17 03:15:16 futBroker influxd[13768]: ts=2022-09-17T01:15:16.434188Z lvl=info msg="Opened file" log_id=0czG1i8G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/futStats/global/3992/000000001-000000001.tsm id>
      Sep 17 03:15:16 futBroker influxd[13768]: ts=2022-09-17T01:15:16.434551Z lvl=info msg="Opened shard" log_id=0czG1i8G000 service=store trace_id=0czG1iFl000 op_name=tsdb_open index_version=tsi1 path=/var/lib/influxdb/data/futS>
      Sep 17 03:15:16 futBroker influxd[13768]: runtime: out of memory: cannot allocate 4194304-byte block (2300280832 in use)
      Sep 17 03:15:16 futBroker influxd[13768]: fatal error: out of memory
      Sep 17 03:15:16 futBroker influxd[13768]: runtime stack:
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.throw(0x97dca5, 0xd)
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/panic.go:1116 +0x5c
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.largeAlloc(0x10000, 0x2840101, 0x7b598)
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/malloc.go:1179 +0x174
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.mallocgc.func1()
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/malloc.go:1071 +0x38
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.systemstack(0x152)
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/asm_arm.s:347 +0x84
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.mstart()
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/proc.go:1116
      Sep 17 03:15:16 futBroker influxd[13768]: goroutine 3414 [running]:
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.systemstack_switch()
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/asm_arm.s:294 +0x4 fp=0x504f588 sp=0x504f584 pc=0x7b508
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.mallocgc(0x10000, 0x8933c8, 0xffffff01, 0x1)
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/malloc.go:1070 +0x8f8 fp=0x504f5ec sp=0x504f588 pc=0x1e628
      Sep 17 03:15:16 futBroker influxd[13768]: runtime.makeslice(0x8933c8, 0x10000, 0x10000, 0xbbbacc88)
      Sep 17 03:15:16 futBroker influxd[13768]:         runtime/slice.go:98 +0x6c fp=0x504f600 sp=0x504f5ec pc=0x5fedc
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/pkg/estimator/hll.(*Plus).toNormal(0xbd87c240)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/pkg/estimator/hll/hll.go:384 +0x44 fp=0x504f628 sp=0x504f600 pc=0x5404d0
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/pkg/estimator/hll.(*Plus).Merge(0xbd87c240, 0xa863d8, 0xbd87c2a0, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/pkg/estimator/hll/hll.go:211 +0x210 fp=0x504f698 sp=0x504f628 pc=0x53f404
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb/index/tsi1.(*FileSet).MeasurementsSketches(0xbcd6f860, 0xbcd6f860, 0x0, 0x0, 0xbd87c180, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/index/tsi1/file_set.go:417 +0x110 fp=0x504f6d4 sp=0x504f698 pc=0x676874
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb/index/tsi1.(*Partition).MeasurementsSketches(0x766f7720, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/index/tsi1/partition.go:680 +0xa4 fp=0x504f700 sp=0x504f6d4 pc=0x68e774
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb/index/tsi1.(*Index).updateMeasurementSketches(0x737fb900, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/index/tsi1/index.go:371 +0xa0 fp=0x504f72c sp=0x504f700 pc=0x678730
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb/index/tsi1.(*Index).Open(0x737fb900, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/index/tsi1/index.go:285 +0x4a0 fp=0x504f7e4 sp=0x504f72c pc=0x67813c
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb.(*Shard).Open.func1(0x74af8640, 0x0, 0x0)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/shard.go:309 +0x194 fp=0x504faa4 sp=0x504f7e4 pc=0x572958
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb.(*Shard).Open(0x74af8640, 0x289aba0, 0xbb67bf50)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/shard.go:339 +0x1c fp=0x504fad0 sp=0x504faa4 pc=0x55ddac
      Sep 17 03:15:16 futBroker influxd[13768]: github.com/influxdata/influxdb/tsdb.(*Store).loadShards.func1(0x28ee800, 0x28d8900, 0x2b82c30, 0x28ee840, 0x96e7c0, 0x291f5c0, 0x287e540, 0x2a2fc37, 0x8, 0x28addc0, ...)
      Sep 17 03:15:16 futBroker influxd[13768]:         github.com/influxdata/influxdb/tsdb/store.go:349 +0x4d8 fp=0x504ffb4 sp=0x504fad0 pc=0x573a40
      ...
      
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @MacPo last edited by

        @macpo sagte in influxDB - influx_inspect nicht vorhanden:

        die influxDB (1.6) und Grafana.

        sind keine Bestandteile von ioBroker.
        Hab daher den Thread nach OffTopic verschoben.

        M 1 Reply Last reply Reply Quote 0
        • M
          MacPo @Homoran last edited by

          Ich konnte das Problem ohne influx_inspect lösen, indem ich die Indexe rm -r /var/lib/influxdb/data/*/*/*/index gelöscht habe.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          849
          Online

          31.7k
          Users

          79.8k
          Topics

          1.3m
          Posts

          2
          3
          302
          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