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:
parent
f11b02f217
commit
62c74f042a
1
debian/mongod.service
vendored
1
debian/mongod.service
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user