proxies: Override the httpd systemd unit file to up file limit and restart on failure
The proxies seem to be hitting file limits, so try increasing them. Also, set httpd to restart on failure, this should help mask the problem if it persists with the higher limit. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
49e6526151
commit
8a4a4469e4
2 changed files with 19 additions and 0 deletions
3
roles/httpd/proxy/files/httpdoverride.conf
Normal file
3
roles/httpd/proxy/files/httpdoverride.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Service]
|
||||
LimitNOFILE=98304
|
||||
Restart=on-failure
|
|
@ -97,3 +97,19 @@
|
|||
- httpd
|
||||
- httpd/proxy
|
||||
- disablesystemdoomd
|
||||
|
||||
- name: create systemd drop in dir for httpd
|
||||
file: path=/etc/systemd/system/httpd.service.d/ state=directory
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/proxy
|
||||
- httpdoverride
|
||||
|
||||
- name: create systemd drop in dir for httpd
|
||||
copy: src=httpdoverride.conf dest=/etc/systemd/system/httpd.service.d/httpdoverride.conf
|
||||
tags:
|
||||
- httpd
|
||||
- httpd/proxy
|
||||
- httpdoverride
|
||||
notify:
|
||||
- reload systemd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue