Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegraf repeatedly panics #2344

Closed
f1erro opened this issue Jan 31, 2017 · 1 comment
Closed

Telegraf repeatedly panics #2344

f1erro opened this issue Jan 31, 2017 · 1 comment

Comments

@f1erro
Copy link

f1erro commented Jan 31, 2017

Directions

GitHub Issues are reserved for actionable bug reports and feature requests.
General questions should be sent to the InfluxDB mailing list.

Before opening an issue, search for similar bug reports or feature requests on GitHub Issues.
If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below.
Erase the other section and everything on and above this line.

Bug report

Telegraf is continually crashing

Relevant telegraf.conf:

https://gist.github.com/F1ERRO/3746486081dddd52aff14fb4bcc8cf67

System info:

Running telegraf in docker

Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x654edb]
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: goroutine 120 [running]:
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: panic(0xf2a2e0, 0xc42000c070)
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /usr/local/go/src/runtime/panic.go:500 +0x1a1
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: github.com/influxdata/influxdb/client/v2.(*client).Write(0xc420012180, 0x18fd660, 0xc42066d8c0, 0x0, 0x0)
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/influxdb/client/v2/client.go:354 +0xfb
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: github.com/influxdata/telegraf/plugins/outputs/influxdb.(*InfluxDB).Write(0xc42000a700, 0xc42066b000, 0x7b, 0x7b, 0xc42001ee58, 0x6b3911
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/plugins/outputs/influxdb/influxdb.go:202 +0x27b
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: github.com/influxdata/telegraf/internal/models.(*RunningOutput).write(0xc420190a00, 0xc42066b000, 0x7b, 0x7b, 0x7b, 0x30)
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/internal/models/running_output.go:170 +0xa1
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: github.com/influxdata/telegraf/internal/models.(*RunningOutput).Write(0xc420190a00, 0x11562e0, 0xc420686d00)
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/internal/models/running_output.go:154 +0x49c
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: github.com/influxdata/telegraf/agent.(*Agent).flush.func1(0xc420686d00, 0xc420190a00)
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/agent/agent.go:232 +0x68
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]: created by github.com/influxdata/telegraf/agent.(*Agent).flush
Jan 31 23:11:30 ip-172-31-8-38.ec2.internal docker[3176]:         /home/ubuntu/telegraf-build/src/github.com/influxdata/telegraf/agent/agent.go:237 +0xb4```

[Include Telegraf version, operating system name, and other relevant details]
running latest telegraf docker image on coreOS

Steps to reproduce:

  1. Run docker run --rm --name telegraf -p 8125:8125/udp -v /home/core/tele.conf:/etc/telegraf/telegraf.conf:ro --env-file /etc/profile.d/vars -e HOSTNAME=${COREOS_PRIVATE_IPV4} -v /var/run/docker.sock:/var/run/docker.sock telegraf

  2. ...

Expected behavior:

Starts up and runs without crashing

Actual behavior:

Starts up then crashes frequently

@sparrc
Copy link
Contributor

sparrc commented Feb 1, 2017

thanks for the report, this is a dupe of #2317

@sparrc sparrc closed this as completed Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants