EOS Alma9 libjemalloc

Hello everyone,

We are currently testing the upgrade from CentOS7 to Alma9 on our EOS test instance. Everything looks ok beside an issue with the libjemalloc

In our configuration we have


# Preload jemalloc
LD_PRELOAD=/usr/lib64/libjemalloc.so.1

But in Alma9 the jemalloc is 5.x series and we have /usr/lib64/libjemalloc.so.2


Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273588]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273587]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273586]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273585]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273584]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273583]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273582]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jan 13 16:58:48 eos-fst-test-003.cidsn.jrc.it sh[273581]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

We’ve changed the config to use /usr/lib64/libjemalloc.so.2 and everything looks ok but we want to double check with you if this is safe .

Many thanks
Silviu

Hi Silviu,

Yes, that’s the correct thing to do for Alama9.

Cheers,
Elvin

Hi! We are using LD_PRELOAD=/usr/lib64/libjemalloc.so as it is valid on both platforms and points to the actual valid libs

Hi Elvin, Adrian

Many thanks for the quick response.

Cheers
Silviu