Open kkruzich opened 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@kkruzich sorry it looks like this issue fell through the cracks. Are you able to test and repro with influx 1.7.9?
@kkruzich
I have this error on X-Influxdb-Version: 1.7.10
I have tried to run these two commands:
> SELECT * INTO cm_phy_backup..:MEASUREMENT FROM /.*/ GROUP BY *
ERR: no data received
> SELECT * INTO "cm_phy_backup"."autogen".:MEASUREMENT FROM "cm_data_cm_phy"."autogen"./.*/ GROUP BY *
ERR: no data received
@kkruzich thanks for confirming. We will take a look.
Seems like I get corresponding memory error when this happens in /var/log/syslog
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: fatal error: runtime: out of memory
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime stack:
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.throw(0x153b878, 0x16)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/panic.go:617 +0x72
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.sysMap(0xc4a0000000, 0x4000000, 0x3168998)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/mem_linux.go:170 +0xc7
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.(*mheap).sysAlloc(0x314fa40, 0xe000, 0x314fa50, 0x7)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/malloc.go:633 +0x1cd
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.(*mheap).grow(0x314fa40, 0x7, 0x0)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/mheap.go:1222 +0x42
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.(*mheap).allocSpanLocked(0x314fa40, 0x7, 0x31689a8, 0xc001123701)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/mheap.go:1150 +0x37f
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.(*mheap).alloc_m(0x314fa40, 0x7, 0x3150067, 0xc000b1a401)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/mheap.go:977 +0xc2
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.(*mheap).alloc.func1()
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/mheap.go:1048 +0x4c
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.systemstack(0x7efe9a1e5b20)
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: /usr/local/go/src/runtime/asm_amd64.s:351 +0x66
Mar 2 13:40:49 OSS-SERVICES-03 influxd[3079]: runtime.mstart()
Late to the party but I also had this problem tonight. On a VM with 8GB of memory I tried to select 10 million values of a measurement into a new database from an imported database backup for migration purposes.
I watched in htop as the machine visibly ran out of memory and "ERR: no data received" appeared in the influx terminal on CentOS 8.
After bringing the virtual machine back online with 16G memory instead of 8 was able to import my data and delete the backup database just fine.
I'm trying the same with, with a large (~1TB) backup and Influx 1.8, and I've given the machine 72G of RAM and still am not having any luck.
Does anybody know if there's a way to instruct influx to uh, take it easy, and treat the process of side loading the backup as if it were a series of normal writes, even if that means that it takes a bit longer? Any help is greatly appreciated!
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
As suggested here: https://docs.influxdata.com/influxdb/v1.7/administration/backup_and_restore/#restore-examples
date +%Y%m%d-%H%M-%S