Karaf becomes unresponsive with high CPU usage, when undeploying a bundle that was installed from a feature

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content