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

[0.9.50-nightly] Influxdb crash after several days (Graphite) #4901

Closed
nicolaskarp opened this Issue Nov 25, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@nicolaskarp

nicolaskarp commented Nov 25, 2015

Hello,

I'm using fastnetmon and I push data into influxdb. It's working fine for a day but stops working suddenly.

The data is about 13Gb :

root@fastnetmon:/var/opt/influxdb# du -sh *
13G data
4.0K hh
984K meta
26M wal

Here is the log :

Nov 25 01:57:17 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:17 failed to write point batch to database "graphite": timeout
Nov 25 01:57:21 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:21 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:57:21 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:21 write to index of partition 1 took 56.800301ms
Nov 25 01:57:22 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:22 failed to write point batch to database "graphite": timeout
Nov 25 01:57:27 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:27 failed to write point batch to database "graphite": timeout
Nov 25 01:57:31 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:31 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:57:31 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:31 write to index of partition 1 took 44.367493ms
Nov 25 01:57:32 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:32 failed to write point batch to database "graphite": timeout
Nov 25 01:57:37 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:37 failed to write point batch to database "graphite": timeout
Nov 25 01:57:41 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:41 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:57:41 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:41 write to index of partition 1 took 48.98681ms
Nov 25 01:57:42 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:42 failed to write point batch to database "graphite": timeout
Nov 25 01:57:47 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:47 failed to write point batch to database "graphite": timeout
Nov 25 01:57:51 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:51 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:57:52 fastnetmon influxd[1037]: [wal] 2015/11/25 01:57:52 write to index of partition 1 took 44.870403ms
Nov 25 01:57:52 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:52 failed to write point batch to database "graphite": timeout
Nov 25 01:57:58 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:57:58 failed to write point batch to database "graphite": timeout
Nov 25 01:58:02 fastnetmon influxd[1037]: [wal] 2015/11/25 01:58:02 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:58:02 fastnetmon influxd[1037]: [wal] 2015/11/25 01:58:02 write to index of partition 1 took 55.804247ms
Nov 25 01:58:03 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:58:03 failed to write point batch to database "graphite": timeout
Nov 25 01:58:08 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:58:08 failed to write point batch to database "graphite": timeout
Nov 25 01:58:08 fastnetmon influxd[1037]: [retention] 2015/11/25 01:58:08 retention policy shard deletion check commencing
Nov 25 01:58:08 fastnetmon influxd[1037]: [retention] 2015/11/25 01:58:08 retention policy enforcement check commencing
Nov 25 01:58:12 fastnetmon influxd[1037]: [wal] 2015/11/25 01:58:12 Flush due to idle. Flushing 19 series with 19 points and 1160 bytes from partition 1
Nov 25 01:58:13 fastnetmon influxd[1037]: [wal] 2015/11/25 01:58:13 write to index of partition 1 took 905.389119ms
Nov 25 01:58:13 fastnetmon influxd[1037]: [graphite] 2015/11/25 01:58:13 failed to write point batch to database "graphite": timeout
Nov 25 02:17:03 fastnetmon systemd[1]: influxdb.service: main process exited, code=killed, status=9/KILL
Nov 25 02:17:03 fastnetmon systemd[1]: Unit influxdb.service entered failed state.

FYI, here is a normal flush :

[wal] 2015/11/25 09:49:34 Flush due to idle. Flushing 12 series with 12 points and 636 bytes from partition 1
[wal] 2015/11/25 09:49:34 write to index of partition 1 took 51.840194ms

And the retention :

> SHOW RETENTION POLICIES ON graphite
name    duration    replicaN    default
default 0       1       false
twodays 48h0m0s     1       true

My version :
InfluxDB v0.9.5-nightly-6d4319d (git: master 6d4319d)

Thank you.

Nick

@beckettsean

This comment has been minimized.

Contributor

beckettsean commented Nov 25, 2015

@nicolaskarp the last two lines of the log suggest that systemd killed the influxd process, not that influxd crashed.

Did the instance run out of RAM?

@beckettsean beckettsean changed the title from Influxdb crash after several days (Graphite to [0.9.50-nightly] Influxdb crash after several days (Graphite) Nov 25, 2015

@gunnaraasen

This comment has been minimized.

Member

gunnaraasen commented Apr 2, 2016

@nicolaskarp The database has changed significantly since this issue was filed and we have not received any other reports of the Graphite plugin causing crashes. Feel free to comment if this issue reoccurs in v0.11 and we'll reopen.

@gunnaraasen gunnaraasen closed this Apr 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment