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

CPU Usage increases over time

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 1.4.3
    • N/A
    • N/A
    • None
    • Debian GNU/Linux 8.4 (jessie)
      MySQL 5.7

    Description

      Running Maxscale for a few days result in high CPU usage. It starts out at 1-3% CPU, after a day its 15-20% and after a week it runs at 90% CPU.

      The same configuration is on two servers, one of those is the master and receives some testing traffic, while the other only executes internal database tasks. Both servers show this behaviour. Servers are Xen VMs with 4CPUs, 6GB memory and show no signs of high disk IO or running out of memory. Configuration currently uses one thread, however behaviour is also visible with 4 threads or more.

      I restarted server-201, while keeping server-101 running at 90% CPU. Via maxadmin I extracted as much information as I could and they are attached in the text files.

      Logs for server-201 contain nothing interesting since its last reboot (running 20%)

      Server-101 has some errors about a master going down (and repeats them 30 times a second), since then no new logs but CPU has been increasing from a few percent to its current 90% so I don't expect this to be an issue.

      I restarted server-201 with debug logging which I could include if needed.

      Application using maxscale has problems and slows down when CPU usage is too high.

      Attachments

        1. maxscale.cnf
          2 kB
          Onno Steenbergen
        2. server-101.log
          274 kB
          Onno Steenbergen
        3. server-101.txt
          26 kB
          Onno Steenbergen
        4. server-201.log
          3 kB
          Onno Steenbergen
        5. server-201.txt
          21 kB
          Onno Steenbergen

        Activity

          People

            tturenko Timofey Turenko
            osteenbergen Onno Steenbergen
            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.