Skip to content

Commit

Permalink
introduce ulimit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian committed Mar 7, 2024
1 parent 7dcba4e commit a4b434f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
- name: Debug
run: |
cat /proc/sys/fs/file-max
sudo sysctl -w fs.file-max=500000
cat /proc/sys/fs/file-max
sudo prlimit --pid $$ --nofile=1048576:1048576
sudo sysctl fs.inotify.max_user_instances=1280
sudo sysctl fs.inotify.max_user_watches=655360
ulimit -Sn # Shows the soft limit
ulimit -Hn # Shows the hard limit
sudo ulimit -n 10485760
sudo prlimit --pid $$ --nofile=10485760:10485760
sudo sysctl -p
cat /proc/sys/fs/file-max
ulimit -Sn # Shows the soft limit
ulimit -Hn # Shows the hard limit
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit a4b434f

Please sign in to comment.