I’ve not had chance to look properly until now, but I don’t think InfluxDB has been stable for me for a while. It will start OK, but stops again for no obvious reason soon afterwards. Initially it would run for a few hours, but now it is pretty much stopping again as soon as it starts. I suspect this may have been the case since upgrading the add-on to the current version (3.6.2). This is what I see in the log view:
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1191 +0xec
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).combineFloat(0x133eee60, 0x1ce3d501, 0x1e, 0x1ce3d500, 0x2)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1108 +0x874
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).mergeFloat(0x133eee60)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1034 +0x260
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).merge(0x133eee60)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1827 +0x34
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).Next(0x133eee60, 0x1ddbf8a)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1687 +0xf44
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).write(0x4582fc0, 0xa1639f0, 0x42, 0x1abb930, 0x133eee60, 0xe95d01, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1140 +0x148
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).writeNewFiles(0x4582fc0, 0x13, 0x2, 0xae18720, 0x3, 0x4, 0x1abb930, 0x133eee60, 0x1, 0x1abb930, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1044 +0x144
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).compact(0x4582fc0, 0x18e5000, 0xae18720, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:952 +0x4f4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).CompactFull(0x4582fc0, 0xae18720, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:970 +0x108
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).compactGroup(0x139ef040)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2158 +0xdf4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).Apply(0x139ef040)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2135 +0x2c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull.func1(0xb70c140, 0x4c9ce40, 0x139ef040)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2104 +0xac
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2100 +0xd0
goroutine 611 [select]:
net/http.setRequestCancel.func3(0x0, 0x471e200, 0xd1b75c0, 0xb70c30c, 0x109c2c40)
/usr/local/go/src/net/http/client.go:321 +0x78
created by net/http.setRequestCancel
/usr/local/go/src/net/http/client.go:320 +0x21c
goroutine 858 [runnable]:
github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b.canPack(0x4715e00, 0x30, 0x30, 0x14, 0x3, 0x6e000)
/go/src/github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b/encoding.go:444 +0x184
github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b.Encode(0x4715e00, 0x30, 0x30, 0x321c0ea1, 0xf0000002, 0x1, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b/encoding.go:315 +0x1bc
github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b.(*Encoder).flush(0x44835f0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b/encoding.go:101 +0x68
github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b.(*Encoder).Bytes(0x44835f0, 0x43f28c60, 0x2, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/vendor/github.com/jwilder/encoding/simple8b/encoding.go:128 +0x28
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*encoder).encodePacked(0x47f0d80, 0x1, 0x0, 0x474e000, 0x3e8, 0x3e8, 0x474e000, 0x3e8, 0x3e8, 0x40, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/timestamp.go:158 +0x138
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*encoder).Bytes(0x47f0d80, 0x64d4e00, 0x40, 0x4951220, 0x11f4c, 0x9fb70)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/timestamp.go:138 +0xec
github.com/influxdata/influxdb/tsdb/engine/tsm1.encodeStringBlockUsing(0x0, 0x0, 0x0, 0x17d7c000, 0x3e8, 0xc00, 0x1ab3610, 0x47f0d80, 0xbe2a6000, 0xfde8, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/encoding.go:870 +0xd8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*cacheKeyIterator).encode.func1(0x1428ba20, 0x1, 0x462, 0x4edd880)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1987 +0x654
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*cacheKeyIterator).encode
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1941 +0x80
goroutine 646 [runnable]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.FloatArrayDecodeAll(0x54867739, 0x896, 0x502d1eb, 0x0, 0x0, 0x0, 0xbe3f6000, 0x3e8, 0x3e8, 0x0, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/batch_float.go:507 +0x438
github.com/influxdata/influxdb/tsdb/engine/tsm1.DecodeFloatArrayBlock(0x54864ef4, 0x30db, 0x502f12f, 0x1a01174c, 0x4, 0xbd81e1ac)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/array_encoding.go:47 +0x1f0
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).combineFloat(0x14440000, 0x1ce3d601, 0x25, 0x1ce3d620, 0x2)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1074 +0x4f0
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).mergeFloat(0x14440000)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.gen.go:1034 +0x260
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).merge(0x14440000)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1827 +0x34
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*tsmBatchKeyIterator).Next(0x14440000, 0x5eb58f9)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1695 +0xe8c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).write(0x4494ae0, 0x8db6050, 0x42, 0x1abb930, 0x14440000, 0xe95d01, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1140 +0x148
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).writeNewFiles(0x4494ae0, 0x15, 0x2, 0x47a9e00, 0x3, 0x4, 0x1abb930, 0x14440000, 0x1, 0x1abb930, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1044 +0x144
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).compact(0x4494ae0, 0x18e5000, 0x47a9e00, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:952 +0x4f4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).CompactFull(0x4494ae0, 0x47a9e00, 0x3, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:970 +0x108
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).compactGroup(0x51d9e00)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2158 +0xdf4
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*compactionStrategy).Apply(0x51d9e00)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2135 +0x2c
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull.func1(0xb70c120, 0x4e0c480, 0x51d9e00)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2104 +0xac
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactFull
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2100 +0xd0
goroutine 854 [chan receive]:
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*cacheKeyIterator).Next(0x4edd880, 0xa21a12)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:2026 +0xe8
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).write(0x45e69c0, 0x9d30690, 0x42, 0x1abb8e0, 0x4edd880, 0xe95d01, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1140 +0x148
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).writeNewFiles(0x45e69c0, 0x8, 0x1, 0x0, 0x0, 0x0, 0x1abb8e0, 0x4edd880, 0x1, 0x0, ...)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:1044 +0x144
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).WriteSnapshot.func1(0x10d03400, 0x45e69c0, 0x1030caec, 0x4edd480, 0x55be380)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:859 +0x94
created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Compactor).WriteSnapshot
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:857 +0x16c
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Here are the version details:
Add-on version: 3.6.2
You are running the latest version of this add-on.
System: Raspbian GNU/Linux 10 (buster) (armv7 / raspberrypi3)
Home Assistant Core: 0.109.6
Home Assistant Supervisor: 224
(I’m actually on a Pi4 with 4GB RAM)
It’s not obvious to me what the acutal error in there is!
Can anyone help me debug this?