JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5276

processing.time.monitor thread leak

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1.0
  • Fix Version/s: 3.1.4 (EE only), 3.2.4 (EE only), 3.3.3 (EE only), 3.4.0 RC4, 3.4.0
  • Component/s: Core: Concurrency / Threading
  • Labels:
    None
  • User impact:
    High
  • Similar Issues:
    None

Description

Deploy loanbroker-bpm app, then stop it (e.g. via JMX -> MuleContext -> stop).

Expected: clean shutdown of an application
Actual: the processing time monitor thread stays behind (this applies to every app gathering stats), e.g. check out the threads list via jconsole, it has [loanbroker-bpm] app prefix. Note that there's another thread, which is ok (system Mule thread for this app, 'standby' mode handling management operations and notifications).

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MULE-6759 Http dispatcher thread leak

  • Blocker - Blocks development and/or testing work, production could not run.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Mike Schilling added a comment - 10/Dec/10 10:13 AM

This is intended to be a single system thread that reaps all references. It uses (and needs) no per-app context. Having multiple threads uses more resources to accomplish the same job.

Show
Mike Schilling added a comment - 10/Dec/10 10:13 AM This is intended to be a single system thread that reaps all references. It uses (and needs) no per-app context. Having multiple threads uses more resources to accomplish the same job.
Hide
Permalink
Ryan Scheidter added a comment - 13/Feb/13 04:07 PM

This has been inactive for quite a while; what is the plan for fixing this issue? This thread leak becomes a much more critical PermGen memory leak in shared environments such as Web/App Servers.

IMO, no part of Mule or any other framework should be appropriating system-wide resources that will outlive their context.

This affects the 3.2 branch as well...

Show
Ryan Scheidter added a comment - 13/Feb/13 04:07 PM This has been inactive for quite a while; what is the plan for fixing this issue? This thread leak becomes a much more critical PermGen memory leak in shared environments such as Web/App Servers. IMO, no part of Mule or any other framework should be appropriating system-wide resources that will outlive their context. This affects the 3.2 branch as well...
Hide
Permalink
Pablo Kraan added a comment - 27/Mar/13 08:08 AM

When Mule runs in standalone mode, there is only one processing.time.monitor thread (wrongly named using the name of the application that uses it first). But there is no leak as the redeployment does not increases the number of processing.time.monitor threads.

This is a problem when Mule runs in embedded mode: every time an app is redeployed will leak a processing.time.monitor thread.
This thread should have the same life scope that the Mule context.

Show
Pablo Kraan added a comment - 27/Mar/13 08:08 AM When Mule runs in standalone mode, there is only one processing.time.monitor thread (wrongly named using the name of the application that uses it first). But there is no leak as the redeployment does not increases the number of processing.time.monitor threads. This is a problem when Mule runs in embedded mode: every time an app is redeployed will leak a processing.time.monitor thread. This thread should have the same life scope that the Mule context.

People

  • Assignee:
    Pablo Kraan
    Reporter:
    Andrew Perepelytsya
Vote (3)
Watch (4)

Dates

  • Created:
    10/Dec/10 09:00 AM
    Updated:
    28/Mar/13 08:34 AM
    Resolved:
    28/Mar/13 08:34 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.