Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-834

PrimProc thread leak if ExeMgr dies

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.0.10, 1.1.0
    • None
    • None
    • 2017-15

    Description

      If the ExeMgr is processing queries and it dies then PrimProc can be left with a bunch of orphaned BPP threads.

      How to reproduce this:

      Step 1:

      sudo cat /proc/`pidof PrimProc`/status | grep Threads
       
      Threads:	117
      

      Step 2: Run a bunch of concurrent queries
      Step 3: Whilst the queries are running:

      sudo kill -9 `pidof ExeMgr`
      

      Step 4: Wait until CPU usage for PrimProc settles down to 0 and then re-run the thread count from step 1. If the bug exists then this will be higher (probably around 137). If it is fixed it will be similar to the first figure.

      Every time ExeMgr is killed the leak count will increase which also means RAM is being leaked.

      Attachments

        Activity

          People

            dleeyh Daniel Lee (Inactive)
            LinuxJedi Andrew Hutchings (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.