try to fix part of ticket #9273 by increasing the number of open files allowed on log servers and people as they have a large number of files to deal with.

This commit is contained in:
Stephen Smoogen 2020-08-28 08:26:19 -04:00
parent 750dc6da45
commit 15348981f8
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$MaxOpenFiles 16384
$MaxOpenFiles 131072
[Service]
LimitNOFILE=16384
LimitNOFILE=131072

View file

@ -366,14 +366,14 @@
- name: rsyslogd make systemd limits directory for file handles
file: dest=/etc/systemd/system/rsyslog.service.d/ mode=0755 owner=root group=root state=directory
when: inventory_hostname.startswith('log')
when: inventory_hostname.startswith('log') or inventory_hostname.startswith('people')
tags:
- rsyslogd
- config
- name: rsyslogd put systemd limits directory for file handles
copy: src=rsyslog/rsyslog-limits-systemd dest=/etc/systemd/system/rsyslog.service.d/limits.conf mode=0644
when: inventory_hostname.startswith('log')
when: inventory_hostname.startswith('log') or inventory_hostname.startswith('people')
tags:
- rsyslogd
- config