MariaDB [pdns]> SHOW VARIABLES LIKE 'version_malloc_library';
+------------------------+------------------------------------------------------------+
| Variable_name | Value |
+------------------------+------------------------------------------------------------+
| version_malloc_library | jemalloc 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756 |
+------------------------+------------------------------------------------------------+
1 row in set (0.001 sec)
[mysqld_safe]
malloc-lib = /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
[Service]
Environment="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"
Fri Apr 7 08:17:01 UTC 2023
Active: active (running) since Fri 2023-04-07 07:38:56 UTC; 38min ago
Memory: 109.4M
...
Fri Apr 7 15:17:01 UTC 2023
Active: active (running) since Fri 2023-04-07 07:38:56 UTC; 7h ago
Memory: 156.5M
Fri Apr 7 16:17:01 UTC 2023
Active: active (running) since Fri 2023-04-07 07:38:56 UTC; 8h ago
Memory: 162.3M
Fri Apr 7 17:17:01 UTC 2023
Active: active (running) since Fri 2023-04-07 07:38:56 UTC; 9h ago
Memory: 167.3M
# free -h
total used free shared buff/cache available
Mem: 1.8Gi 395Mi 151Mi 29Mi 1.3Gi 1.3Gi
Swap: 0B 0B 0B
# systemctl status mysql
● mariadb.service - MariaDB 10.5.18 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-04-06 09:09:33 CEST; 12h ago
...
Memory: 242.6M