summaryrefslogtreecommitdiff
path: root/redis-limit-systemd
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-06 12:46:57 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-06 12:46:57 +0000
commiteb096e1a97e3061ec76e07491aaab5a52c544456 (patch)
tree06bbe5964afaeeff7c0d44b0e7861e70dd579a32 /redis-limit-systemd
parent618ff6ef2dd80424240ebfce5d100a6f836a2524 (diff)
automatic import of redisopeneuler24.03_LTS_SP1
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