Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If our application somehow loses connection with the memcached server all the threads are reported as hung after 10 minues or so

[28.04.11 16:50:15:831 CEST] 00000025 ThreadMonitor W   WSVR0605W: Thread "WebContainer : 4" (00000029) has been active for 764759 milliseconds and may be hung.  There is/are 15 thread(s) in total in the server that may be hung.

I can't find any information on how to fix this. Shouldn't all of these threads be killed by the web container?

share|improve this question

There is no safe way to forcefully stop a Thread in Java. Please see Why Are Thread.stop, Thread.suspend, Thread.resume and Runtime.runFinalizersOnExit Deprecated? for more details.

The correct solution would be to for the application to set socket timeouts and/or stop its threads properly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.