summaryrefslogtreecommitdiffstats
path: root/redis-limit-init
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-12-14 10:06:02 +0100
committerRemi Collet <fedora@famillecollet.com>2014-12-14 10:06:02 +0100
commit09b9cadf0ca1b2b386e1c7af569595c27888e661 (patch)
treef989b1e3e3e53c83c1024763565fd26e95b00348 /redis-limit-init
parent7ec0ffaaae344e278a7f4f483c712ff7b5be4340 (diff)
redis: add /etc/security/limits.d/95-redis.conf (for EL <= 6)
Diffstat (limited to 'redis-limit-init')
-rw-r--r--redis-limit-init6
1 files changed, 6 insertions, 0 deletions
diff --git a/redis-limit-init b/redis-limit-init
new file mode 100644
index 0000000..2986bfd
--- /dev/null
+++ b/redis-limit-init
@@ -0,0 +1,6 @@
+# If you need to change max open file limit
+# for example, when you change maxclient in configuration
+# you can change the value below
+# see "man limits.conf" for information
+redis soft nofile 10240
+redis hard nofile 10240