Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1511

VDB deployment leaves with too many open files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.4
    • 7.1, 7.2, 7.3
    • Server
    • Hide

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

      for (i = 0; i < 200; 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 < 200; 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 Exists
    • 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.

    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

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: