|
|
|
|
|
by braggerxyz
588 days ago
|
|
> It would also be nice to know why: 1. Killing was quicker than restarting. If you happen to restart one of the instances that was hanging in the infinite thread, you can wait a very long time until the Java container actually decides to kill itself because it did not finish its graceful shutdown within the alotted timeout period. Some Java containers have a default of 300s for this.
In this circumstance kill -9 is faster by a lot ;) Also we had circumstances where the affected Java container did not stop even if the timeout was reached because the misbehaving thread did consume the whole cpu and none was left for the supervisor thread. Then you can only kill the host process of the JVM. |
|