mirror of https://github.com/mongodb/mongo
SERVER-88229 Configure glibc tunables in mongod.service for new tcmalloc (#20977)
GitOrigin-RevId: f754ec3179f17ed2848b2e004420dc406ac622ea
This commit is contained in:
parent
f11b02f217
commit
62c74f042a
|
|
@ -9,6 +9,7 @@ User=mongodb
|
||||||
Group=mongodb
|
Group=mongodb
|
||||||
EnvironmentFile=-/etc/default/mongod
|
EnvironmentFile=-/etc/default/mongod
|
||||||
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
|
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
|
||||||
|
Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
|
||||||
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
|
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
|
||||||
RuntimeDirectory=mongodb
|
RuntimeDirectory=mongodb
|
||||||
# file size
|
# file size
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ User=mongod
|
||||||
Group=mongod
|
Group=mongod
|
||||||
Environment="OPTIONS=-f /etc/mongod.conf"
|
Environment="OPTIONS=-f /etc/mongod.conf"
|
||||||
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
|
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
|
||||||
|
Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
|
||||||
EnvironmentFile=-/etc/sysconfig/mongod
|
EnvironmentFile=-/etc/sysconfig/mongod
|
||||||
ExecStart=/usr/bin/mongod $OPTIONS
|
ExecStart=/usr/bin/mongod $OPTIONS
|
||||||
RuntimeDirectory=mongodb
|
RuntimeDirectory=mongodb
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue