diff options
Diffstat (limited to 'code/snippets/setrlimit.rb')
| -rw-r--r-- | code/snippets/setrlimit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/code/snippets/setrlimit.rb b/code/snippets/setrlimit.rb new file mode 100644 index 0000000..990ca5e --- /dev/null +++ b/code/snippets/setrlimit.rb @@ -0,0 +1,3 @@ +Process.setrlimit(:NOFILE, 4096) +p Process.getrlimit(:NOFILE) + |
