influxdb
influxdb copied to clipboard
[0.9.3-rc2]: Timeouts around WAL flushing periods
With 0.9.3 rc2, I see timeouts especially in WAL flusing periods:
[wal] 2015/08/24 13:19:38 Flush due to memory. Compacting 10821 series from partition 1
[http] 2015/08/24 13:19:38 1.2.3.4 - - [24/Aug/2015:13:19:37 +0000] POST /write?db=db&precision=s HTTP/1.1 204 0 - python-requests/2.2.1 946.42833ms
[wal] 2015/08/24 13:19:38 Flush due to memory. Compacting 10936 series from partition 4
[http] 2015/08/24 13:19:43 1.2.3.4 - - [24/Aug/2015:13:19:38 +0000] POST /write?db=db&precision=s HTTP/1.1 500 32 - python-requests/2.2.1 5.033966007s
[http] 2015/08/24 13:19:44 2.2.3.4 - - [24/Aug/2015:13:19:39 +0000] POST /write?db=db2&precision=s HTTP/1.1 500 32 - python-requests/2.4.3 5.015456407s
[http] 2015/08/24 13:19:47 2.2.3.4 - - [24/Aug/2015:13:19:43 +0000] POST /write?db=db3&precision=s HTTP/1.1 204 0 - python-requests/2.4.3 4.514520491s
[http] 2015/08/24 13:19:47 2.2.3.4 - - [24/Aug/2015:13:19:47 +0000] POST /write?db=db3&precision=s HTTP/1.1 204 0 - python-requests/2.4.3 319.76531ms
Right now, if a write fails I will try to rewrite two more times with 1s delay which ultimately seems to work.
Config: max-wal-size = 104857600 # Maximum size the WAL can reach before a flush. Defaults to 100MB. wal-flush-interval = "10m" # Maximum time data can sit in WAL before a flush. wal-partition-flush-delay = "2s" # The delay time between each WAL partition being flushed.
Closing for the time being; not sure whether running this virtualized added an issue here. Investigating further.