Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-397171: Replace libjemalloc.so.1 with libjemalloc.so.2 #5930

Merged

Conversation

stephenchengCloud
Copy link
Contributor

jemalloc was updated to version 5.3.0:

  • Provides libjemalloc.so.2 instead of libjemalloc.so.1
  • No longer supported lg_dirty_mult option

Note that part of the change is in the .spec file.

Tested that all .service files have been replaced:

[root@xrtmia-11-09 ~]# find / -type f  -name "*.service" | xargs grep "libjemalloc.so.1"
find: ‘/proc/4079’: No such file or directory
[root@xrtmia-11-09 ~]# find / -type f  -name "*.service" | xargs grep "libjemalloc.so.2"
/usr/lib/systemd/system/xcp-rrdd.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/xapi-nbd.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/xenopsd-xc.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/squeezed.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/xcp-networkd.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/xapi-storage-script.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/message-switch.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/xapi.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"
/usr/lib/systemd/system/forkexecd.service:Environment="LD_PRELOAD=/usr/lib64/libjemalloc.so.2"

No LD_PRELOAD errors in daemon.log:
[root@xrtmia-11-09 log]# grep "libjemalloc" /var/log/daemon.log

202861 Ring3: BVT passed

@stephenchengCloud
Copy link
Contributor Author

@edwintorok @lindig @psafont Could you please review this?

jemalloc was updated to version 5.3.0:
- Provides libjemalloc.so.2 instead of libjemalloc.so.1
- No longer supported `lg_dirty_mult` option

Signed-off-by: Stephen Cheng <stephen.cheng@cloud.com>
@edwintorok edwintorok merged commit 42d0418 into xapi-project:master Aug 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants