0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-88229 Configure glibc tunables in mongod.service for new tcmalloc (#20977)

GitOrigin-RevId: f754ec3179f17ed2848b2e004420dc406ac622ea
This commit is contained in:
Mark Benvenuto 2024-04-16 15:41:14 -04:00 committed by MongoDB Bot
parent f11b02f217
commit 62c74f042a
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ User=mongodb
Group=mongodb
EnvironmentFile=-/etc/default/mongod
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
RuntimeDirectory=mongodb
# file size

View File

@ -9,6 +9,7 @@ User=mongod
Group=mongod
Environment="OPTIONS=-f /etc/mongod.conf"
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
EnvironmentFile=-/etc/sysconfig/mongod
ExecStart=/usr/bin/mongod $OPTIONS
RuntimeDirectory=mongodb