Skip to content

Commit 794cfaa

Browse files
author
Mason Morales
authored
Merge pull request #39 from splunk/add_systemd_ulimits
Add systemd ulimits settings
2 parents e221610 + 9521a28 commit 794cfaa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

roles/splunk/tasks/configure_systemd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@
1919
- { option: "User", value: "{{ splunk_nix_user }}" }
2020
- { option: "Group", value: "{{ splunk_nix_group }}" }
2121
- { option: "PIDFile", value: "{{ splunk_home }}/var/run/splunk/splunkd.pid" }
22+
- { option: "LimitNOFILE", value: "1024000" }
23+
- { option: "LimitNPROC", value: "512000" }
24+
- { option: "LimitFSIZE", value: "infinity" }
25+
- { option: "LimitDATA", value: "infinity" }
26+
- { option: "LimitCORE", value: "infinity" }
27+
- { option: "TasksMax", value: "infinity" }

0 commit comments

Comments
 (0)