In short using influxdb 1.7.2 where I have set following query limits:
log-queries-after = “60s”
query-timeout = “120s”
Now after running large query (from influx cli) following occurs:
ts=2019-02-25T04:09:09.400134Z lvl=warn msg=“Detected slow query: SELECT * FROM WHERE id = LIMIT 1 (qid: 123456789, database: , threshold: 1m0s)” log_id= service=query
However query-timeout is never triggered (which I would assume happening after 2min) and in the end influx query eats all memory, system swaps and 10min from there OOM occurs.