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

query_classifier_cache_size=0 with short connections appears to leak memory

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Incomplete
    • 6.4.14
    • N/A
    • readwritesplit
    • None
    • MXS-SPRINT-211

    Description

      If MaxScale is configured with query_classifier_cache_size=0 and there are many short connections to the service, the MaxScale instance appears to leak memory. This goes on until the process is killed by the OOM killer.

      So far there's been no way to reproduce this outside of the system in question and the number one theory at this point is memory fragmentation that happens somewhere in the SQLite library.

      Attachments

        Issue Links

          Activity

            markus makela markus makela created issue -
            markus makela markus makela made changes -
            Field Original Value New Value
            markus makela markus makela made changes -
            Fix Version/s 6.4 [ 26119 ]
            markus makela markus makela made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markus makela markus makela made changes -
            Status In Progress [ 3 ] Needs Feedback [ 10501 ]
            johan.wikman Johan Wikman made changes -
            Rank Ranked higher
            julien.fritsch Julien Fritsch made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            markus makela markus makela made changes -
            Priority Critical [ 2 ] Blocker [ 1 ]
            markus makela markus makela made changes -
            Sprint MXS-SPRINT-211 [ 762 ]
            markus makela markus makela made changes -
            Rank Ranked lower
            johan.wikman Johan Wikman made changes -
            Rank Ranked higher
            markus makela markus makela made changes -
            Summary lazy_connect=true with short connections appears to leak memory query_classifier_cache_size=0 with short connections appears to leak memory
            markus makela markus makela made changes -
            Description If readwritesplit is configured with {{lazy_connect=true}} and there are many short connections to the service, the MaxScale instance appears to leak memory. This goes on until the process is killed by the OOM killer.
            If MaxScale is configured with {{query_classifier_cache_size=0}} and there are many short connections to the service, the MaxScale instance appears to leak memory. This goes on until the process is killed by the OOM killer.

            So far there's been no way to reproduce this outside of the system in question and the number one theory at this point is memory fragmentation that happens somewhere in the SQLite library.
            markus makela markus makela made changes -
            Fix Version/s N/A [ 22001 ]
            Fix Version/s 21.06 [ 26119 ]
            Resolution Incomplete [ 4 ]
            Status Needs Feedback [ 10501 ] Closed [ 6 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 201723
            Zendesk active tickets 201723
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk active tickets 201723

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              0 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.