]> git.proxmox.com Git - pve-qemu.git/commitdiff
disable jemalloc
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 10 Dec 2020 15:23:38 +0000 (16:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Dec 2020 13:43:34 +0000 (14:43 +0100)
jemalloc does not play nice with our Rust library (proxmox-backup-qemu),
specifically it never releases memory allocated from Rust to the OS.
This leads to a problem with larger caches (e.g. for the PBS block driver).

It appears to be related to this GitHub issue:
https://github.com/jemalloc/jemalloc/issues/1398

The background_thread solution seems weirdly hacky, so let's disable
jemalloc entirely for now.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
debian/rules

index c73d6a18a363a27d53a09c05b9ab6ab56556bdb2..57e1c91858d1a8239cbf5f6586566e303ea38490 100755 (executable)
@@ -60,7 +60,6 @@ config.status: configure
        --enable-docs \
        --enable-glusterfs \
        --enable-gnutls \
-       --enable-jemalloc \
        --enable-libiscsi \
        --enable-libusb \
        --enable-linux-aio \