Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2985

VDB deployment leaves with too many open files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 5.1.0 GA
    • Fix Version/s: 5.2.0 ER1
    • Component/s: EDS
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Use the admin api to deploy/undeploy a large number of times, for example in adminshell

      for (i = 0; i < 300; i++)

      { deployVDB("foo.vdb"); undeployVDB("foo", 1); }

      There will be well over 300 new open sockets at the end of the run. Prior to the previous commit on this issue in 7.4, at most 64 of them can be buffer files that will get auto cleaned up, but the rest of them will be remoting serversockets that do not seem to be limited by the suggestion in JBAS-6665.

      Show
      Use the admin api to deploy/undeploy a large number of times, for example in adminshell for (i = 0; i < 300; i++) { deployVDB("foo.vdb"); undeployVDB("foo", 1); } There will be well over 300 new open sockets at the end of the run. Prior to the previous commit on this issue in 7.4, at most 64 of them can be buffer files that will get auto cleaned up, but the rest of them will be remoting serversockets that do not seem to be limited by the suggestion in JBAS-6665 .
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Use an alternative deployment mechanism, such as a local file drop into the deploy directory, or through RHQ.

      Show
      Use an alternative deployment mechanism, such as a local file drop into the deploy directory, or through RHQ.
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/SOA-2985

      VDB deployments through the AdminApi caused the application server to leak server sockets and listening threads, which could cause failures due to too many file handles being opened. A patch has been applied to fix this issue. As a result, server sockets and listening threads are no longer leaked so users will no longer encounter these failures.
      Show
      https://issues.jboss.org/browse/SOA-2985 VDB deployments through the AdminApi caused the application server to leak server sockets and listening threads, which could cause failures due to too many file handles being opened. A patch has been applied to fix this issue. As a result, server sockets and listening threads are no longer leaked so users will no longer encounter these failures.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      After deploying a VDB using Admn API or AdminShell a temporary file handle is open and does not seem to be closed. After deploying the VDB run

      lsof

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  van.halbert Van Halbert
                  Reporter:
                  rareddy Ramesh Reddy
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: