Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-512

sendsync from a service to another service seems to cause a deadlock under load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0-M2
    • 3.0
    • None
    • None
    • Windows 2003, Intel 2.8 xeon processor. Java 1.5 3.0-M2

    Description

      We have 2 services A and B. A makes sync requests to B. We have a JMS client that feeds requests to A and that triggers a sync request to B. We are trying to push some 5000 requests (not sequential). Now
      With st flow - A gets all the responses from B and we are good
      with Seda flow - A gets some responses from B (sometimes none) and then all the threads are blocked (seen using JMX) on syncsend(), looks like B has no threads to service requests.
      with JMS flow ( A and B on different VMs), we see the similar behavior as with seda flow

      With async requests everything works just fine. We have tried increasing seda capacity and workmanager thread count, that did not help. I am attaching service A and B code along with configuration files

      Also it would be nice to have all the tunable features documented with some explaination somewhere ( I could not find it anywhere)

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            gnodet Guillaume Nodet
            anandhs anand somani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: