From b964f9520f1dc802d3d9fd6441ab63897451ced6 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 22 Aug 2018 13:13:03 -0700 Subject: [PATCH] ircd::db: max_open_files must NOT be 0 or files are open/close too often. --- ircd/db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/db.cc b/ircd/db.cc index 1430fb3da..c8d484a0d 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -705,7 +705,7 @@ try opts.max_background_flushes = 1; opts.max_background_compactions = 1; opts.max_subcompactions = 1; - opts.max_open_files = 0; //ircd::info::rlimit_nofile / 4; + opts.max_open_files = -1; //ircd::info::rlimit_nofile / 4; //opts.allow_concurrent_memtable_write = true; //opts.enable_write_thread_adaptive_yield = false; opts.use_direct_reads = true;