summaryrefslogtreecommitdiff
path: root/redis-limit-systemd
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-05 13:31:33 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-05 13:31:33 +0000
commite31a6ee039c2e60004dc70e8730217ee5d668ed4 (patch)
tree34fdbcf5714dac642c25d03e16df9a7b9cc913d9 /redis-limit-systemd
parentbeeb6f46004a1a692c2c159de97e99b192b58df1 (diff)
automatic import of redisopeneuler22.03_LTS_SP4
Diffstat (limited to 'redis-limit-systemd')
-rw-r--r--redis-limit-systemd14
1 files changed, 14 insertions, 0 deletions
diff --git a/redis-limit-systemd b/redis-limit-systemd
new file mode 100644
index 0000000..a792937
--- /dev/null
+++ b/redis-limit-systemd
@@ -0,0 +1,14 @@
+# If you need to change max open file limit
+# for example, when you change maxclient in configuration
+# you can change the LimitNOFILE value below.
+# See "man systemd.exec" for more information.
+
+# Slave nodes on large system may take lot of time to start.
+# You may need to uncomment TimeoutStartSec and TimeoutStopSec
+# directives below and raise their value.
+# See "man systemd.service" for more information.
+
+[Service]
+LimitNOFILE=10240
+#TimeoutStartSec=90s
+#TimeoutStopSec=90s