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-5341

VM connector thread exhaustion leads to application hang with no reason logged

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 3.0.0, 3.1.0
  • Fix Version/s: Bug Backlog
  • Component/s: Transport: VM
  • Labels:
    None
  • Environment:

    java 1.6.0_22, Linux

  • User impact:
    High
  • Log Output:
    None
  • Similar Issues:
    None

Description

Once an application exceeds a number of vm endpoints it stops mid-flow for no obvious reason.

This seems to be due to thread exhaustion on the vm connector, as increasing the number of threads eliminates the problem, e.g.:

 <vm:connector name="vm.connector">
        <receiver-threading-profile maxBufferSize="100" maxThreadsActive="1000" maxThreadsIdle="100" threadWaitTimeout="2000" poolExhaustedAction="WAIT" />
        <dispatcher-threading-profile maxBufferSize="100" maxThreadsActive="1000" maxThreadsIdle="100" poolExhaustedAction="WAIT" />
   </vm:connector>

The issue is that Mule gives no indication of what's wrong, which is potentially very confusing for inexperienced developers.

It seems reasonable to have the VM Connector default to as many threads as necessary for the endpoints defined in the application. Failing that, something should be logged to help the user (e.g. thread exhaustion).

See attached application, and http://forums.mulesoft.org/thread.jspa?threadID=4539

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. GZip Archive
    demo-unexpected-stop.tar.gz
    17/Jan/11 06:08 AM
    1.0 kB
    Cliff Redmond

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Cliff Redmond added a comment - 17/Jan/11 06:08 AM

As referenced in problem description

Show
Cliff Redmond added a comment - 17/Jan/11 06:08 AM As referenced in problem description

People

  • Assignee:
    Unassigned
    Reporter:
    Cliff Redmond
Vote (0)
Watch (1)

Dates

  • Created:
    17/Jan/11 06:07 AM
    Updated:
    31/Jan/11 10:53 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.