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:
parent
750dc6da45
commit
15348981f8
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
$MaxOpenFiles 16384
|
$MaxOpenFiles 131072
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
LimitNOFILE=16384
|
LimitNOFILE=131072
|
||||||
|
|
|
@ -366,14 +366,14 @@
|
||||||
|
|
||||||
- name: rsyslogd make systemd limits directory for file handles
|
- 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
|
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:
|
tags:
|
||||||
- rsyslogd
|
- rsyslogd
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: rsyslogd put systemd limits directory for file handles
|
- 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
|
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:
|
tags:
|
||||||
- rsyslogd
|
- rsyslogd
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue