Skip to content

Commit

Permalink
increase per-process file descriptor limit
Browse files Browse the repository at this point in the history
  • Loading branch information
swapdisk committed Aug 22, 2024
1 parent ad05898 commit afb02bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/fix_ulimit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
bugfixes:
- Run leapp with increased per-process file descriptor limit
...
1 change: 1 addition & 0 deletions roles/analysis/tasks/analysis-leapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
ansible.builtin.shell: >
set -o pipefail;
export PATH={{ os_path }};
ulimit -n 16384;
leapp preupgrade --report-schema=1.2.0
{{ leapp_preupg_opts }}
{{ leapp_enable_repos_args }}
Expand Down
1 change: 1 addition & 0 deletions roles/upgrade/tasks/leapp-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
ansible.builtin.shell: >
set -o pipefail;
export PATH={{ os_path }};
ulimit -n 16384;
leapp upgrade --report-schema=1.2.0
{{ leapp_upgrade_opts }}
{{ leapp_enable_repos_args }}
Expand Down

0 comments on commit afb02bd

Please sign in to comment.