Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1669

maxadmin "show threads" counters are probably incorrect

    XMLWordPrintable

Details

    Description

      One may get the output like this from show threads command in maxadmin:

      Polling Threads.
       
      Historic Thread Load Average: -2.46.
      Current Thread Load Average: 1.00.
      15 Minute Average: 1.00, 5 Minute Average: 1.00, 1 Minute Average: 1.00
       
      Pending event queue length averages:
      15 Minute Average: 0.00, 5 Minute Average: 0.00, 1 Minute Average: 0.00
       
       ID | State      | # fds  | Descriptor       | Running  | Event
      ----+------------+--------+------------------+----------+---------------
        0 | Processing |      1 | 0x7fed5004b600   | <3017963900ms | IN|OUT
        1 | Polling    |        |                  |          |
        2 | Polling    |        |                  |          |
      

      Note negative "Historic Thread Load Average" and huge value in Running column: "<3017963900ms"

      MaxScale instance itself is from testing environment and is not under any high load. From ps aux we see:

      maxscale 39282  1.3  0.7 438192 29296 ?        Ssl  Jan10 660:22 /usr/bin/maxscale
      

      With 2.0.x this kind of values were not noted.

      Attachments

        Activity

          People

            markus makela markus makela
            valerii Valerii Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.