Add possibility to change ulimit for Apache #117

Open
mtrossevin wants to merge 5 commits from mtrossevin/ansible-roles:apache_file_open into unstable
Owner

Linked to EVOQA
cf. https://wiki.evolix.org/HowtoApache#too-many-open-files

It shouldn't be necessary (or even useful thanks to it being taken care of by systemd) for buster, but I don't see any reason to exclude it.

It add the following variables:

  • apache_change_ulimit (boolean): If true it add the line to change the ulimit, if false it doesn't touch this line at all (doesn't add it, change it or remove it). Default to True.
  • apache_ulimit_max (integer or string): Value of the new ulimit (assuming that the previous variable is true). Default to 65536.
Linked to EVOQA cf. https://wiki.evolix.org/HowtoApache#too-many-open-files It shouldn't be necessary (or even useful thanks to it being taken care of by systemd) for buster, but I don't see any reason to exclude it. It add the following variables: - apache_change_ulimit (boolean): If true it add the line to change the ulimit, if false it doesn't touch this line at all (doesn't add it, change it or remove it). Default to True. - apache_ulimit_max (integer or string): Value of the new ulimit (assuming that the previous variable is true). Default to 65536.
mtrossevin added the
enhancement
label 2020-10-20 15:47:42 +02:00
mtrossevin added 1 commit 2020-12-09 09:12:22 +01:00
continuous-integration/drone/pr Build is failing Details
640414c7c8
Merge branch 'unstable' into apache_file_open
mtrossevin added 1 commit 2020-12-23 14:53:49 +01:00
continuous-integration/drone/pr Build is failing Details
029857723d
Merge remote-tracking branch 'origin/unstable' into apache_file_open
Update changelog following release
jlecour reviewed 2022-06-06 18:24:51 +02:00
@ -15,2 +15,4 @@
apache_serverstatus_suffix_file: "/etc/evolinux/apache_serverstatus_suffix"
# Change Apache's ulimit through APACHE_ULIMIT_MAX_FILES
apache_change_ulimit: True
Owner

I'd rather find the current default value, set it as the default value in Ansible and remove the boolean.

I'd rather find the current default value, set it as the default value in Ansible and remove the boolean.
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
  • CHANGELOG.md
  • apache/tasks/main.yml
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b mtrossevin-apache_file_open unstable
git pull apache_file_open

Step 2:

Merge the changes and update on Forgejo.
git checkout unstable
git merge --no-ff mtrossevin-apache_file_open
git push origin unstable
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#117
No description provided.