Profile Image
Harish Malavade

Too many threads in WAITING and TIMED_WAITING status

we have too many threads in WAITING and TIMED_WAITING status, not sure how to identify what they are waiting on. These threds are from lettuce library which is used in our application to push/pull key values from redis



Report URL - https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjEvMDIvMTkvLS10aHJlYWRfZHVtcF8xXzAyMTlfdWF0LS0xNS01OC0yOQ==

  • waiting

  • timedwaiting

  • threaddump

  • redis

  • lettucelibrary

Please Sign In or to post your comment or answer

Profile Image

Ram Lakshmanan

Hello Harish!

 

 We have seen similar type of problem earlier when an application was connecting to NoSQL Apache cassandra. We saw few thosands of threads in WAITING state (similar to yours) from netty library. Apparently it turned out that one of the node in the cassandra cluster ran out of disk space. Can you check whether Redis nodes are healthy?  

Profile Image

Harish Malavade

Hi Ram, Thanks for the response, everything appear to be healthy on redis cluster in terms of diskspace, memory and CPU. Could it be something else post connection to redis

Profile Image

Ram Lakshmanan

Hello Harish! Does these WAITING, TIMED_WATING threads that we see in the thread report, grows over period of time OR are they static? Looks like you captured the above thread dump at 2021-02-19 10:21:49am? May be you can try capture one more snapshot of thread dump now from the same JVM instance and see whether this count is growing or fairly constant. That might give us some more clues.



Got something else on mind? Post Your Question

Not the answer you're looking for? Browse other questions tagged
  • waiting

  • timedwaiting

  • threaddump

  • redis

  • lettucelibrary