Profile Image
Sandeep Sudheer

Why are there multiple 'File Reaper' threads causing application unresponsiveness?

My application is becoming unresponsive very frequently. When analyzing thread dump through fastThread it points out that there are 344 'File Reaper' threads in the application. All of them are in WAITING state and they have the following stack trace. Why are there so many 'File Repear' threads? Can it make my application unresponsive? Any input will be appreciated. Thanks.

 


stackTrace:

java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
- locked <0x00007f50400001f0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at org.apache.commons.io.FileCleaningTracker$Reaper.run(FileCleaningTracker.java:220)

  • filereaper

  • multiplefilereaperthreads

  • applicationunresponsiveness

  • waitingstate

Please Sign In or to post your comment or answer

Got something else on mind? Post Your Question

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

  • multiplefilereaperthreads

  • applicationunresponsiveness

  • waitingstate