Karaf becomes unresponsive with high CPU usage, when undeploying a bundle that was installed from a feature
Issue
In some circumstances, undeploying a bundle using osgi:uninstall that was earlier installed using features:install can be problematic. The selected bundle is never completely uninstalled, and threads dumps of the JVM show an ongoing bundle shut-down procedure. CPU usage can rise to 100%. The situation appears to persist until the Fuse server is restarted.
Environment
- Red Hat Fuse on Karaf
- 7.6
It is likely that versions 7.7-7.9 are also affected.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.