Skip to content

Commit

Permalink
tuning ulimit
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Aug 30, 2023
1 parent 9714806 commit d6946b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ jobs:
- name: Setting up limits
run: |
sudo prlimit --pid $$ --nofile=1048576:1048576
ulimit -Sa
ulimit -Ha
ulimit -Sn 1024
ulimit -Hn 1048576
sudo prlimit --pid $$ --nofile=65536:1048576
- name: Building environment
run: make buildenv BOARD=$BOARD NC=1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ _run: $(_BUILD_DIR) $(_TARGET_REPO_DIR)
$(DOCKER) run \
--rm \
--privileged \
--ulimit "nofile=1024:1048576" \
--ulimit "nofile=65536:1048576" \
--volume `pwd`/$(_TARGET_REPO_DIR):/repo:rw \
--volume `pwd`/$(_BUILD_DIR):/build:rw \
--volume `pwd`/packages:/packages:ro \
Expand Down

0 comments on commit d6946b8

Please sign in to comment.