Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6756

map a linux pid (child pid) to a connection id shown in the output of SHOW PROCESSLIST

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1.8
    • OTHER
    • None
    • 10.1.6-1, 10.1.6-2, 10.1.8-1, 10.1.8-2

    Description

      We have have a multi-threaded program with multiple connections to the database. While this program is running, we often get a single child process (pid) that just hangs. This particular child process consumes 100% of any given CPU. We are trying to troubleshoot this and trying to determine which child pid maps to the SHOW PROCESSLIST Id.

      With that in mind, we would like to know if there is a way to map a linux child pid that's associated with the linux parent pid (ppid) of the mysqld process to the Id shown in the output of SHOW PROCESSLIST.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Oleksandr Byelkin made transition -
            Open In Progress
            327d 13h 37m 1
            Oleksandr Byelkin made transition -
            In Progress Stalled
            13h 16m 1
            Oleksandr Byelkin made transition -
            Stalled In Progress
            1d 13h 42m 1
            Oleksandr Byelkin made transition -
            In Progress In Review
            1h 31m 1
            Oleksandr Byelkin made transition -
            Stalled In Review
            6h 30m 2
            Sergei Golubchik made transition -
            In Review Stalled
            33d 12m 3
            Oleksandr Byelkin made transition -
            Stalled Closed
            17h 24m 1

            People

              sanja Oleksandr Byelkin
              hhiggs Harry Higgs
              Votes:
              4 Vote for this issue
              Watchers:
              9 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.