From f78b9df4adbc354f5fdf8c2c8b9e76549f977cb8 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Thu, 7 Jun 2012 13:46:18 -0500 Subject: [PATCH] disable file descriptor limits by default to not confuse windows --- examples/wsperf/wsperf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/wsperf/wsperf.cpp b/examples/wsperf/wsperf.cpp index fca6889f0e..eb978e9755 100644 --- a/examples/wsperf/wsperf.cpp +++ b/examples/wsperf/wsperf.cpp @@ -191,7 +191,7 @@ int start_client(po::variables_map& vm) { int main(int argc, char* argv[]) { try { // 12288 is max OS X limit without changing kernal settings - const rlim_t ideal_size = 10000; + /*const rlim_t ideal_size = 10000; rlim_t old_size; rlim_t old_max; @@ -223,7 +223,7 @@ int main(int argc, char* argv[]) { std::cout << "Failed. This server will be limited to " << old_size << " concurrent connections. Error code: " << errno << " system max: " << old_max << std::endl; } } - } + }*/ std::string config_file;