--- a/trb 10f3479116bca9247bc048b4e8c0b2cabdf091c9b946303bf6b901248d78b09ed2daf74a11dcdc584efd64b3a2ac8d20434b1a44e7068da65d0fdc729471110f +++ b/trb 6946935425bfeb84f2c0ee2a555d4f72462a0a765e55cec741c37ba8fe98a591086f4ddc6084317a0ee4c0d5afefbca954c3236aa16395672be1a304aba76fbc @@ -13215,7 +13215,7 @@ #endif ############################################################################## -33001 @ ./bitcoin/src/db.cpp +33052 @ ./bitcoin/src/db.cpp ############################################################################## // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers @@ -13304,8 +13304,9 @@ dbenv.set_lg_dir(strLogDir.c_str()); dbenv.set_lg_max(1000000); - dbenv.set_lk_max_locks(40000); - dbenv.set_lk_max_objects(40000); + dbenv.set_lk_max_locks(2737000); + dbenv.set_lk_max_objects(1119200); + dbenv.set_lk_max_lockers(1119200); dbenv.set_errfile(fopen(strErrorFile.c_str(), "a")); /// debug dbenv.set_flags(DB_AUTO_COMMIT, 1); dbenv.set_flags(DB_TXN_WRITE_NOSYNC, 1);