influxdata / influx-stress

New tool for generating artificial load on InfluxDB
MIT License
121 stars 43 forks source link

panic at program termination #32

Open Andreone opened 6 years ago

Andreone commented 6 years ago

Tested on Ubtuntu 16.04 and Windows 10 Pro, same behavior:

Using point template: ctr,some=tag n=0i <timestamp>
Using batch size of 10000 line(s)
Spreading writes across 100000 series
Output is unthrottled
Using 20 concurrent writer(s)
Running until ~18446744073709551615 points sent or until ~1m0s has elapsed
panic: send on closed channel

goroutine 49 [running]:
github.com/influxdata/influx-stress/cmd.(*multiSink).run(0xc04207c5a0)
        C:/Users/Andreone/go/src/github.com/influxdata/influx-stress/cmd/insert.go:306 +0x109
created by github.com/influxdata/influx-stress/cmd.(*multiSink).Open
        C:/Users/Andreone/go/src/github.com/influxdata/influx-stress/cmd/insert.go:298 +0x9b
foobar commented 5 years ago

i'm seeing the same issue on CentOS7

CoderSong2015 commented 5 years ago

same

chengshiwen commented 4 years ago

This issue has been fixed by chengshiwen/influx-stress