-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.11.1
-
Component/s: Monitoring
-
None
-
Environment:Windows 7 with sp1
Tomcat 7
a thread named "MongoCleanerXXX" still at sleep state when a web application is undeployed.
This cause a PermGen memory leak.
The close method in Mongo try to interrupt the cleaner thread. But, that doesn't work.
There's a try-catch block in the run() of CursorCleanerThread, it catch any Throwable, So, the interrupt may not let the thread die.