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

After terminating long running queries remains CPU load > 100% on JBoss java process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 8.7.4
    • Server
    • None

      Once the request is submitted the CPU% load on the server remains > 100% despite cancelling the request and terminating the session. The only way I have found to bring the %CPU back to "normal" is to re-start the JDV instance.

      1. Created two files file1.csv (1M rows) and file2.csv (1M rows)
      2. Created two source and view models and VDB
      SQL statement is a carthesion product
      3. Deploy VDB
      4. select * from combinedcsv from SQL scrapbook on cancelLongRunningQueries VDB
      5. Goto admin console
      6. Go to the cancelLongRunningQueries VDB
      7. Goto tab Requests and select Terminate
      8. Goto tab Sessions and select Terminate JDBC session
      9. CPU% load on JBoss java process remains > 100%

        1. Archive.zip
          124 kB
        2. Case01593403.java
          1 kB
        3. heap.1
          12 kB
        4. heap.2
          13 kB
        5. heap.3
          12 kB
        6. heap.4
          13 kB
        7. heap.5
          13 kB
        8. highcpu-vdb.xml
          3 kB

            rhn-engineering-shawkins Steven Hawkins
            rhn-support-cmondesi Colin Mondesir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: