Skip to content

Commit

Permalink
Merge pull request #1 from ReCodEx/nofile
Browse files Browse the repository at this point in the history
Increase the maximum number of open files to 4096
  • Loading branch information
krulis-martin authored Jan 3, 2022
2 parents 990e60b + 8c78d20 commit 2f00cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isolate.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ setup_rlimits(void)
RLIM(FSIZE, (rlim_t)fsize_limit * 1024);

RLIM(STACK, (stack_limit ? (rlim_t)stack_limit * 1024 : RLIM_INFINITY));
RLIM(NOFILE, 64);
RLIM(NOFILE, 4096);
RLIM(MEMLOCK, 0);

if (max_processes)
Expand Down

0 comments on commit 2f00cd7

Please sign in to comment.