Re: What is FreeBSD 12 equivalent to Linux' "sysctl -w vm.nr_hugepages=1280"?
Date: Fri, 31 Dec 2021 11:25:01 UTC
On 31.12.2021 10:18, Ronald Klop wrote: > What are the exceptions you are seeing? > That would be very informational. (1) I can not build it WITH_DEBUG, looks like this setting is broken, as many internal libraries are linked dynamically and mot installed. I see complains about this problem on some forums for Linux, looks like it is upstream problem. (2) Exceptions without symbols looks like this: 2021-12-31 11:18:00.339 [P2P8] INFO stacktrace src/common/stack_trace.cpp:134 Exception: boost::wrapexcept<boost::bad_weak_ptr> 2021-12-31 11:18:00.339 [P2P8] INFO stacktrace src/common/stack_trace.cpp:135 Unwound call stack: 2021-12-31 11:18:01.419 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 1 0x1a1254e 2021-12-31 11:18:02.498 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 2 0x1456c5c 2021-12-31 11:18:03.572 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 3 0x17f187e 2021-12-31 11:18:04.656 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 4 0x17e6ae7 2021-12-31 11:18:05.733 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 5 0x1780998 2021-12-31 11:18:06.810 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 6 0x1780c4c 2021-12-31 11:18:07.880 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 7 0x177d3f4 2021-12-31 11:18:08.959 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 8 0x177cf22 2021-12-31 11:18:10.030 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 9 0x17f7cce 2021-12-31 11:18:11.112 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 a 0x17ed1e5 2021-12-31 11:18:12.192 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 b 0x17f3223 2021-12-31 11:18:13.265 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 c 0x17f3663 2021-12-31 11:18:14.333 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 d 0x17eca97 2021-12-31 11:18:15.392 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 e 0x17f2444 2021-12-31 11:18:16.469 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 f 0x17e7092 2021-12-31 11:18:17.553 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 10 0x1848f1c 2021-12-31 11:18:18.622 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 11 0x1848705 2021-12-31 11:18:19.676 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 12 0x1431df1 2021-12-31 11:18:20.748 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 13 0x14318b1 2021-12-31 11:18:21.826 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 14 0x17e919a 2021-12-31 11:18:22.899 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 15 0x80260b5ca 2021-12-31 11:18:23.971 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 16 0x8027aa08c 2021-12-31 11:18:25.045 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 17 0x0 2021-12-31 11:18:25.045 [P2P8] INFO stacktrace src/common/stack_trace.cpp:149 Failed to find the next frame 2021-12-31 11:18:25.045 [P2P8] INFO stacktrace src/common/stack_trace.cpp:134 Exception: boost::wrapexcept<boost::bad_weak_ptr> 2021-12-31 11:18:25.045 [P2P8] INFO stacktrace src/common/stack_trace.cpp:135 Unwound call stack: 2021-12-31 11:18:26.125 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 1 0x1a1254e 2021-12-31 11:18:27.198 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 2 0x1456c5c 2021-12-31 11:18:28.272 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 3 0x17f187e 2021-12-31 11:18:29.349 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 4 0x17e6ae7 2021-12-31 11:18:30.424 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 5 0x1780998 2021-12-31 11:18:31.496 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 6 0x1780c4c 2021-12-31 11:18:32.573 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 7 0x177d3f4 2021-12-31 11:18:33.640 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 8 0x177cf22 2021-12-31 11:18:34.709 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 9 0x17f7cce 2021-12-31 11:18:35.783 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 a 0x17ed1e5 2021-12-31 11:18:36.850 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 b 0x17f3223 2021-12-31 11:18:37.910 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 c 0x17f3663 2021-12-31 11:18:38.979 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 d 0x17eca97 2021-12-31 11:18:40.048 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 e 0x17f2444 2021-12-31 11:18:41.115 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 f 0x17e7092 2021-12-31 11:18:42.177 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 10 0x1848f1c 2021-12-31 11:18:43.258 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 11 0x1848705 2021-12-31 11:18:44.335 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 12 0x1431df1 2021-12-31 11:18:45.413 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 13 0x14318b1 2021-12-31 11:18:46.488 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 14 0x17e919a 2021-12-31 11:18:47.556 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 15 0x80260b5ca 2021-12-31 11:18:48.635 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 16 0x8027aa08c 2021-12-31 11:18:49.711 [P2P8] INFO stacktrace src/common/stack_trace.cpp:159 17 0x0 2021-12-31 11:18:49.711 [P2P8] INFO stacktrace src/common/stack_trace.cpp:149 Failed to find the next frame When monerod starts synchronization, it works Ok for hour or so, but later these exceptions occur from time to time and after about 3 hours there are only these exceptions in the log, back-to-back. When such exception is printed out, monerod consume 100% of one core and stack trace is printed out one line per second (!). Synchronization effectively stops. Exception like this is mentioned in https://github.com/monero-project/monero/issues/6473 which is closed as fixed / workarounded. -- // Lev Serebryakov