Skip to content

Instantly share code, notes, and snippets.

@jkhsjdhjs

jkhsjdhjs/htop Secret

Created December 4, 2022 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkhsjdhjs/4f46c15961f8163f41405696539682db to your computer and use it in GitHub Desktop.
Save jkhsjdhjs/4f46c15961f8163f41405696539682db to your computer and use it in GitHub Desktop.
monerod high cpu usage (OpenSSL 1.1 build)
2296 monero 20 0 165G 2212M 941M S 190.5 54.0 26h35:08 └─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2299 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2300 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.37 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2301 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.22 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2302 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.34 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2303 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.21 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2304 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.12 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2305 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.51 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2306 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.44 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2307 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.45 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2308 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.01 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2309 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.29 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2310 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.51 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2311 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.46 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2312 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.59 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2313 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.42 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2314 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2315 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.55 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2316 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.21 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2317 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.18 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2318 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.63 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2319 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.51 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2320 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.34 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2321 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.52 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2322 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.45 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2323 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.42 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2324 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.89 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2325 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.17 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2326 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.56 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2327 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.62 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2328 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.87 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2329 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.59 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2330 monero 20 0 165G 2212M 941M S 0.0 54.0 0:27.34 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2331 monero 20 0 165G 2212M 941M S 0.0 54.0 0:26.69 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2332 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.02 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2333 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.04 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2334 monero 20 0 165G 2212M 941M R 90.9 54.0 11h56:38 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2335 monero 20 0 165G 2212M 941M R 90.2 54.0 11h59:00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2336 monero 20 0 165G 2212M 941M S 0.0 54.0 0:18.67 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2337 monero 20 0 165G 2212M 941M S 0.7 54.0 14:30.96 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2338 monero 20 0 165G 2212M 941M S 1.3 54.0 14:22.90 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2339 monero 20 0 165G 2212M 941M S 1.3 54.0 14:30.16 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2340 monero 20 0 165G 2212M 941M S 1.3 54.0 14:26.12 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2341 monero 20 0 165G 2212M 941M S 0.7 54.0 14:23.48 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2342 monero 20 0 165G 2212M 941M S 0.7 54.0 14:33.58 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2343 monero 20 0 165G 2212M 941M S 0.7 54.0 14:27.62 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2344 monero 20 0 165G 2212M 941M S 0.7 54.0 14:29.06 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2345 monero 20 0 165G 2212M 941M S 0.7 54.0 14:20.52 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2346 monero 20 0 165G 2212M 941M D 2.0 54.0 14:27.45 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2347 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2348 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2349 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.00 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2350 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.01 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2351 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.01 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2352 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.01 ├─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
2353 monero 20 0 165G 2212M 941M S 0.0 54.0 0:00.00 └─ /usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
sh-5.1# monerod --config /etc/monerod.conf print_net_stats
2022-12-03 23:56:21.821 I Monero 'Fluorine Fermi' (v0.18.1.2-release)
Received 21489138060 bytes (20.01 GB) in 11938906 packets in 3.0 days, average 80.03 kB/s = 0.01% of the limit of 1.00 GB/s
Sent 138098968309 bytes (128.61 GB) in 8712924 packets in 3.0 days, average 514.32 kB/s = 0.05% of the limit of 1.00 GB/s
sh-5.1# monerod --config /etc/monerod.conf status
2022-12-03 23:56:10.711 I Monero 'Fluorine Fermi' (v0.18.1.2-release)
Height: 2769566/2769566 (100.0%) on mainnet, not mining, net hash 2.67 GH/s, v16, 63(out)+77(in) connections, uptime 3d 0h 50m 7s
4.92% [kernel] [k] __entry_text_start
4.04% libc.so.6 [.] pthread_mutex_lock
3.03% [kernel] [k] __get_user_nocheck_4
2.86% monerod [.] boost::asio::detail::scheduler::do_run_one
2.32% [kernel] [k] psi_group_change
2.21% monerod [.] epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::host_count
1.96% libc.so.6 [.] 0x0000000000083757
1.65% [vdso] [.] 0x00000000000006b5
1.54% [kernel] [k] entry_SYSRETQ_unsafe_stack
1.54% [kernel] [k] native_sched_clock
1.41% [kernel] [k] native_queued_spin_lock_slowpath
1.41% [kernel] [k] find_vma
1.41% [kernel] [k] memcmp
1.38% [kernel] [k] copy_user_enhanced_fast_string
1.24% [kernel] [k] syscall_return_via_sysret
1.09% [kernel] [k] __switch_to_asm
1.07% libc.so.6 [.] epoll_wait
1.04% [kernel] [k] xxh64
1.01% [kernel] [k] __x64_sys_futex
1.01% [kernel] [k] read_tsc
0.93% monerod [.] boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::shutdo
0.90% monerod [.] boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ssl::detail::shutdown_op, boost::asio::detail::wrapped_handler<boost::asio::io_context::strand,
0.88% [kernel] [k] __schedule
0.87% [kernel] [k] exit_to_user_mode_prepare
0.85% [kernel] [k] ksm_scan_thread
0.85% monerod [.] boost::asio::ssl::detail::engine::perform
0.80% libc.so.6 [.] pthread_once
0.75% [kernel] [k] __seccomp_filter
0.74% monerod [.] boost::asio::detail::epoll_reactor::schedule_timer<boost::asio::detail::chrono_time_traits<std::chrono::_V2::steady_clock, boost::asio::wait_traits<std::chrono::_V2::steady_clock> > >
0.74% monerod [.] boost::asio::asio_handler_allocate
0.73% [kernel] [k] try_to_wake_up
0.71% monerod [.] boost::asio::detail::wait_handler<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::async_wait_timer()::{lambda(boost::system::error_code const&)#1}, boost::asio
0.69% monerod [.] boost::asio::detail::strand_service::do_dispatch
0.67% monerod [.] epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::cancel_timer
0.65% [kernel] [k] follow_page_mask
0.65% monerod [.] boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, b
0.59% [kernel] [k] entry_SYSCALL_64_after_hwframe
0.57% monerod [.] epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::start_shutdown
0.57% [kernel] [k] futex_wake
0.54% [kernel] [k] memcmp_pages
0.53% [kernel] [k] __x64_sys_epoll_wait
0.53% [kernel] [k] update_load_avg
0.52% [kernel] [k] syscall_exit_to_user_mode
0.51% libcrypto.so.1.1 [.] ERR_clear_error
0.50% [kernel] [k] __update_load_avg_se
0.49% monerod [.] boost::asio::execution::detail::any_executor_base::destroy_void
0.48% [kernel] [k] save_fpregs_to_fpstate
0.47% [kernel] [k] get_ksm_page
0.47% monerod [.] boost::asio::detail::scheduler::post_deferred_completions
0.45% [kernel] [k] do_futex
0.45% [kernel] [k] __switch_to
0.45% [kernel] [k] __rseq_handle_notify_resume
0.45% libc.so.6 [.] 0x000000000008b4b0
0.45% [kernel] [k] do_epoll_wait
0.45% libc.so.6 [.] 0x000000000008b4b5
0.45% [kernel] [k] futex_hash
0.43% monerod [.] boost::asio::detail::scheduler::post_immediate_completion
0.43% [kernel] [k] populate_seccomp_data
0.42% monerod [.] fe_mul
0.41% monerod [.] boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::any_io_execut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment