udpate prod mongo
parent
51a578a801
commit
254e907bda
|
@ -24,6 +24,10 @@ spec:
|
|||
sysctl -w net.ipv4.tcp_keepalive_time=300
|
||||
sysctl -w net.ipv4.tcp_keepalive_intvl=10
|
||||
sysctl -w net.ipv4.tcp_keepalive_probes=3
|
||||
sysctl -w /sys/kernel/mm/transparent_hugepage/enabled
|
||||
sysctl -w vm.max_map_count=262144
|
||||
echo never > /sys/kernel/mm/transparent_hugepage/enabled
|
||||
echo never > /sys/kernel/mm/transparent_hugepage/defrag
|
||||
cp /etc/keyfile.0 /etc/mongodb/keyfile.0
|
||||
chown 999 /etc/mongodb/keyfile.0
|
||||
chmod 400 /etc/mongodb/keyfile.0
|
||||
|
|
Loading…
Reference in New Issue