Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3163

Tcp Pool Connection Not Returned to Pool After Error on Write

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6, 3.0 RC1
    • Component/s: TCP/UDP Support
    • Labels:
    • Environment:
      Red Hat Enterprise Linux Server release 5.8 (Tikanga)
      Linux 2.6.18-308.11.1.el5
      x86_64 GNU/Linux

      Description

      During the load tests we have found the issue that causes the application to freeze and after requires restart application. After a small load tests (100 requests amount, 1TPS) - CachingClientConnectionFactory can't get connection from pool than cause freeze application and this behavior you can see in the thread dump. Also this issue not as the handled and we not get exceptions.

      Thread dump in attachment. Summary:
      cat jstack | grep "CachingClientConnectionFactory.obtainConnection" -wc
      206

      206 Threads can not be released.

        Attachments

        1. beans.xml
          0.7 kB
        2. jstack
          1.44 MB
        3. pool-log
          717 kB
        4. ProviderConnectionFactory.java
          2 kB

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            eldariof Eldar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: