Skip to content

Commit a4b434f

Browse files
author
Sebastian
committed
introduce ulimit
1 parent 7dcba4e commit a4b434f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/main.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ jobs:
1212
- name: Debug
1313
run: |
1414
cat /proc/sys/fs/file-max
15-
sudo sysctl -w fs.file-max=500000
16-
cat /proc/sys/fs/file-max
17-
sudo prlimit --pid $$ --nofile=1048576:1048576
18-
sudo sysctl fs.inotify.max_user_instances=1280
19-
sudo sysctl fs.inotify.max_user_watches=655360
15+
ulimit -Sn # Shows the soft limit
16+
ulimit -Hn # Shows the hard limit
17+
sudo ulimit -n 10485760
18+
sudo prlimit --pid $$ --nofile=10485760:10485760
2019
sudo sysctl -p
2120
cat /proc/sys/fs/file-max
21+
ulimit -Sn # Shows the soft limit
22+
ulimit -Hn # Shows the hard limit
2223
2324
- name: Checkout
2425
uses: actions/checkout@v4

0 commit comments

Comments
 (0)