After stopping, undeploying or redeploying a Hystrix-powered webapp in Tomcat we find some errors as the following
SEVERE: The web application [/api-0.0.1-SNAPSHOT] appears to have started a thread named [hystrix-ProductsGroup-1] but has failed to stop it. This is very likely to create a memory leak.
Additionally, using JConsole we can see the threads, i.e. hystrix-ProductsGroup-1, are still alive.
We have tried to take control of the thread destruction setting withKeepAliveTimeMinutes as described here https://github.com/Netflix/Hystrix/wiki/Configuration , but found that the parameter is no longer available (1.2.5).
As a result, after a number of deploys, Tomcat ends with a PermGen error.
Can Hystrix remove these threads? Is there an alternative way we can get rid of the old threads?
Thanks in advance.
After stopping, undeploying or redeploying a Hystrix-powered webapp in Tomcat we find some errors as the following
SEVERE: The web application [/api-0.0.1-SNAPSHOT] appears to have started a thread named [hystrix-ProductsGroup-1] but has failed to stop it. This is very likely to create a memory leak.
Additionally, using JConsole we can see the threads, i.e. hystrix-ProductsGroup-1, are still alive.
We have tried to take control of the thread destruction setting withKeepAliveTimeMinutes as described here https://github.com/Netflix/Hystrix/wiki/Configuration , but found that the parameter is no longer available (1.2.5).
As a result, after a number of deploys, Tomcat ends with a PermGen error.
Can Hystrix remove these threads? Is there an alternative way we can get rid of the old threads?
Thanks in advance.