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

Possible memory leak with 0 active connection , Memory utilization is high

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Incomplete
    • 10.5.22
    • N/A
    • Server

    Description

      With no active connection to (idle) MariaDB server 10.5.22 still the memory usage is high:-

      Checking on the OS side we it goes up to 45GB aprox. There is like 10GB no explanations.

      cat /proc/$mariadb_pid/status

      VmPeak: 56917272 kB        54 GB
      VmSize: 55658852 kB        53 GB
      VmHWM:  49557112 kB     47 GB 
      VmRSS:  48393924 kB        46 GB
       
      While Total large memory allocated 35433480192        35 GB
      
      

      While testing with other versions with default parameters fresh installation without any user's DB/Tables :-

      MariaDB 10.5.9

      [root@mariadb_stand ~]# cat /proc/3240/smaps | grep -i pss |  awk '{Total+=$2} END {print Total/1024" MB"}'
       
      75.8076 MB
       
      Total large memory allocated 160 MB 
      Buffer pool  128 MB 
       
       
      After doing some transactions , bulk insert :- 
       
      [root@mariadb_stand ~]# cat /proc/3240/smaps | grep -i pss |  awk '{Total+=$2} END {print Total/1024" MB"}'
      291.79 MB
      

      10.5.17

      [root@mariadb_stand ~]# cat /proc/2407/smaps | grep -i pss |  awk '{Total+=$2} END {print Total/1024" MB"}'
       
      292.969 MB
       
      Total large memory allocated  160 MB 
      Buffer pool  128 MB 
      

      10.5.22

      [root@mariadb_stand ~]# cat /proc/3587/smaps | grep -i pss |  awk '{Total+=$2} END {print Total/1024" MB"}'
      206.811 MB
       
      Total large memory allocated 160 MB 
      Buffer pool  128 MB 
      

      Attachments

        Activity

          People

            kb Kwangbock Lee
            pramod.mahto@mariadb.com Pramod Mahto
            Votes:
            0 Vote for this issue
            Watchers:
            11 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.