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

Undertow consuming many CPU cycles on idle server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha8
    • None
    • None
    • None

      I've noticed that after running the JBossWS-CXF testsuite against current AS8 master, which includes Undertow, the server CPU use is quite high. I've hence taken a thread dump: http://fpaste.org/IhH1/
      In particular, attaching a profiler to the server, it can be seen that after the testsuite completes the only 2 running threads are going through org.xnio.conduits.AbstractStreamSourceConduit:transferTo / io.undertow.conduits.ChunckedStreamSourceConduit:transferTo , which are called millions of times even if the server is idle.

        1. Screenshot-1.png
          152 kB
          Alessio Soldano

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: