Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Incomplete
-
10.5.22
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
|