Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-239

Linux Pipe Leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.0.8.Final
    • Core
    • None
    • Hide

      After deploying the sample WAR attached, invoke:

      wget "http://localhost:1099/leak-test/test-service/getBytes?size=2450000" -O /dev/null

      multiple times.

      Running:

      lsof -p <jboss-pid> | grep pipe | wc -l

      will show growth. For smaller byte sizes, we do not see the leak.

      Show
      After deploying the sample WAR attached, invoke: wget "http://localhost:1099/leak-test/test-service/getBytes?size=2450000" -O /dev/null multiple times. Running: lsof -p <jboss-pid> | grep pipe | wc -l will show growth. For smaller byte sizes, we do not see the leak.

    Description

      Hello,

      We have identified a leak that we believe is coming from undertow. Using the Wildlfy 8.1CR, we are able to cause the system to leak system pipes (and java.nio.channels.spi.AbstractSelector$1). This bug causes the system to run out of file handles and the server to stop servicing clients.

      Attachments

        1. CallStack.png
          CallStack.png
          83 kB
        2. leak-test.tgz
          2 kB

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              thammoud_jira Tarek Hammoud (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: