Add limits files for services
This commit is contained in:
parent
ba72a531e2
commit
309201a777
6
redis-limit-init
Normal file
6
redis-limit-init
Normal file
@ -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
|
7
redis-limit-systemd
Normal file
7
redis-limit-systemd
Normal file
@ -0,0 +1,7 @@
|
||||
# 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 information
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=10240
|
Loading…
Reference in New Issue
Block a user