From 1a68df4c3766f07705a8517aed77d3d0e8b79ad9 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 15 Jul 2013 14:59:27 -0700 Subject: [PATCH] Raise the file descriptor limit. --- src/cpp/ripple/ripple_Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/ripple_Main.cpp b/src/cpp/ripple/ripple_Main.cpp index dfb7c73f76..65f9d79ece 100644 --- a/src/cpp/ripple/ripple_Main.cpp +++ b/src/cpp/ripple/ripple_Main.cpp @@ -15,7 +15,7 @@ void setupServer () if (rl.rlim_cur != rl.rlim_max) { rl.rlim_cur = rl.rlim_max; - setrlimit(RLIMIT_NOFILE, &r1); + setrlimit(RLIMIT_NOFILE, &rl); } } #endif