OpenTSDB / opentsdb

A scalable, distributed Time Series Database.
http://opentsdb.net
GNU Lesser General Public License v2.1
4.99k stars 1.25k forks source link

Graph request locking up in 2.1.0 #530

Open mjameson-se opened 9 years ago

mjameson-se commented 9 years ago

For reasons unknown, some requests I make for graphs are blocking indefinitely waiting for a response -- generally from the web UI, and usually for large sets of data. If I forcefully refresh the browser, I can attempt to make other requests. Eventually, if enough requests are permanently blocked, the service completely ceases to service requests. Once I hit this state, a restart of the service is required. While blocked, memory and CPU consumption are stable and at normal levels. Below is a stack trace generated by jstack of one of the blocked threads (which has been waiting for more than 10 minutes at this point). I should also note that there were no threads at all in a running state in the thread dump; all blocked either at this point or in executors waiting for tasks, or in epoll.

Thread 2065: (state = BLOCKED)

manolama commented 9 years ago

Which version of TSD were you using? Also were there any problems with HBase when this happened, e.g. a region server fell over or anything like that?

mjameson-se commented 9 years ago

I don't know the exact version, the title I used for the issue suggests some 2.1.0 build. As for the state of HBase, I wouldn't know where to start diagnosing issues with it. The only thing I can add at this point is that I was running in pseudo-distributed (single node) mode. I have since moved on to using a different tsd product for my purposes.

manolama commented 9 years ago

Thanks for the heads up, I'll check it out.