xmj, I managed to fix the issue by dropping that database, I am not sure why it was having issues
though I had to manualy delete the files in /var/opt/influxdb/meta and wal
then boot up the influxdb service again
xmj
lol
i had that one before..
Sora: how large was your WAL ?
Psi-Jack joined the channel
pomyk|w joined the channel
trj has quit
Sora
xmj I forgot to check, the database in question probably had around 5 mil entries (in a single measurement) other measurements in it probably had a few hundred thousand each (dont think that should have been a problem?)
xmj
dunno
Sora: at work we tried feeding influxdb lots and lots of metrics but eventually we always ran into an artificial bottleneck
Sora
xmj that doesnt sound particuarly good, may I ask what your workaround was?
xmj
well, the bottleneck wasn't as artificial -- it's that influxdb ended up eating all the machine's ram
so yes, chrischris and I have found a way to bring influx to its limits :->
Sora
well I will be adding roughly 100k enries into this measurement daily and then several other databases (originally planned to use the same influx instance) would be getting a total of a few mil entries daily
xmj
heh
we were feeding this one db somewhere between 25k and 50k metrics..
per second
Sora
for how long a period?
xmj
i'm sorry?
Sora
how long a period did you feed the db the data
xmj
you mean how long until the instance waved its hands and said "ok, bye" ?
pauldix
Sora: if you're seeing an issue in the web UI but not the CLI, I'm wondering if your query is just trying to pull back too many records? If so, that'll bring your browser to its knees
Sora
paauldix the shell should be able to handle a query of 4m-5m entries should it not?
xmj, yeah
xmj
Sora: I don't remember
I do remember patching out a thing that made it bottleneck earlier
blinkbot2k has quit
blinkbot2k joined the channel
blinkbot2k has quit
pauldix: how's the new backend engine coming along?
pauldix
xmj: I'm very much hoping to get it into a nightly build by Friday. That will be for testing purposes only, but I want to get it into people's hands as quickly as possible
we'll see, I was hacking away all weekend
xmj
cool
blinky42 joined the channel
i like the idea of taking it for a spin, hopefully it has better memory allocation than the boltdb one
Sora
btw, seems the right place to ask, how many entries would you recommend sending in a single write post?
pauldix
Sora: are you bringing back the raw records or doing an aggregate?
Sora
aggregating
pauldix
Sora: really depends on your ingestion rate. I run tests anywhere from 1 to 100,000 in a single request
with the latter obviously taking quite a bit more time
perf seems best with around 5-10k per, but right now the index won't be able to keep up with the ingestion rate that the WAL lets you hit
Sora
I currently have a script running which takes data from a mssql database, aggregates it and then pushes to the influxdb
xmj
you guys need to make the wal be faster
Sora
the main bottleneck being sending curl requests
xmj
seriously faster
pauldix
xmj: the new engine is MUCH faster
Sora
well not curl now, web requests sorry
originally ran it on curl for prototyping for simplicity
xmj
i was getting a little curious why i'd see wal growing, data thrown away, and yet -- CPU% in the low single digits, disk IO likewise, low single digits
jjmalina joined the channel
dancleinmark joined the channel
GianArb_ joined the channel
pauldix
xmj: really depends on which version of the WAL you were using. Also, were you batching writes? The WAL in 0.9.4 can handle hundreds of thousands of points per second
xmj
i dunno
pauldix
that is until the index gets backed up on flushing the WAL, then it starts rejecting writes
xmj
but we had 10'000 different servers feeding influx things
pauldix
the WAL fsyncs on every write
xmj
maybe
we'll see with the new version
pauldix
we can add an option to turn off fsyncing which would speed things up at the cost of potential data losss
xmj: how are the servers sending data?
UICTamale joined the channel
xmj
via the opentsdb plugin
pauldix
xmj: do you have batching enabled in the config?
xmj
in which?
yeah
-size 10k -pending 200 -timeout 60s
Melair joined the channel
Melair has quit
gstarck joined the channel
fp has quit
nefilim joined the channel
shafjac_ joined the channel
Melair joined the channel
harobed has quit
bmhatfield joined the channel
Aleks3Y joined the channel
spuder joined the channel
Melair has quit
SkyRocknRoll has quit
freeformz joined the channel
Melair joined the channel
fp joined the channel
Melair has quit
spuder joined the channel
freeformz has quit
Xevian joined the channel
kylemathews joined the channel
descrepes has quit
fp has quit
Sora
when sending multiple points to influx, should it be a new line or a space character that is sent between each point?
nvm, says in the first point
virtualvin has quit
kylequest joined the channel
koe has quit
koe1 joined the channel
nefilim has quit
vpol_ joined the channel
ParisHolley joined the channel
ParisHolley
pauldix: lowering tag cardinality lowered memory usage considerbly. up to 10gb of data, no crash, plenty of continuous queries and only 11gb of mem usage on bz storage
also no times out since running since last night :)
Arrgh joined the channel
xmj
cool
pauldix
ParisHolley: nice
vpol joined the channel
pomyk|w has left the channel
shafjac_ has quit
vpol has quit
vpol joined the channel
SkyRocknRoll joined the channel
vpol joined the channel
Sora
pauldix, I did a stupid and while clearing up my influxdb deleted the "test" db, is there any way to restore it?
vpol joined the channel
pauldix
Sora: not if you didn't back up the files
xmj
zfs rollback :->
Sora
Ill be honest, no clue what that is xmj
pauldix: so basically I need to reinstall the demux server to regain the functionality?
heydrick joined the channel
xmj
Sora: ZFS is a filesystem and 'zfs rollback' is the way to roll back to a snapshot previously taken
Sora
that would require that this machine had both ZFS and a previous snapshot :)
it may have ZFS, no clue about that, but it def doesnt have a previous snapshot
xmj
if the machine ran zfs you'd know about it :p
Sora
probably ^^
welp, to the reinstall
if I can figure out how to uninstall
danclein_ joined the channel
ParisHolley
pauldix: spoke too soon, the timeouts are back :( though at least I know it isn’t a memory issue
i’ll stop bugging ya though, i know you are cranking on the new storage :)
Sora
xmj, Pauldix: How do I delete influxdb from the server O.o I try erasing the rpm but after installing the rpm again it is just as it was before the erase