Skip to content

Commit 9cc508b

Browse files
committed
change ulimit approach
1 parent dd35f14 commit 9cc508b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
# Wait for validator to be ready
6363
timeout 30 bash -c 'until solana cluster-version --url http://localhost:8899 >/dev/null 2>&1; do sleep 1; done'
6464
65-
- name: Increase file descriptor limit
66-
run: |
67-
ulimit -n 1000000
68-
6965
- name: Start MagicBlock Ephemeral Validator
7066
run: |
71-
RUST_LOG=info ephemeral-validator \
67+
sudo prlimit --pid $$ --nofile=1048576:1048576
68+
sudo sysctl fs.inotify.max_user_instances=1280
69+
sudo sysctl fs.inotify.max_user_watches=655360
70+
71+
RUST_LOG=info ephemeral-validator \
7272
--accounts-lifecycle ephemeral \
7373
--remote-cluster development \
7474
--remote-url http://127.0.0.1:8899 \

0 commit comments

Comments
 (0)