Skip to content
Snippets Groups Projects
Commit 4b8a7783 authored by Florent Thiery's avatar Florent Thiery
Browse files

raise max open files for nginx caches, fixes #20542

parent b07aba69
No related branches found
No related tags found
No related merge requests found
...@@ -8,5 +8,6 @@ def setup(interactive=True): ...@@ -8,5 +8,6 @@ def setup(interactive=True):
cmds = [ cmds = [
'mkdir -p /var/www/cache', 'mkdir -p /var/www/cache',
'cp %s/index.html /var/www/cache/index.html' % dir_path, 'cp %s/index.html /var/www/cache/index.html' % dir_path,
'cp %s/nginx-limits.conf /etc/security/limits.d/nginx.conf' % dir_path,
] ]
utils.run_commands(cmds) utils.run_commands(cmds)
nginx soft nofile 20000
nginx hard nofile 40000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment