Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-C while Syncing Is Slow #271

Open
aszepieniec opened this issue Nov 28, 2024 · 0 comments
Open

Ctrl-C while Syncing Is Slow #271

aszepieniec opened this issue Nov 28, 2024 · 0 comments

Comments

@aszepieniec
Copy link
Contributor

Ctrl-C does work, it is just slow. It looks like it does interrupt syncing (as expected) but this interruption happens a lot slower than expected. Unclear if this is an issue.

^C2024-11-28T12:36:59.288131801Z  INFO ThreadId(02) neptune_cash::main_loop: Received SIGINT
2024-11-28T12:36:59.288132115Z  INFO ThreadId(01) neptune_cash::main_loop: Detected Ctrl+c signal.
2024-11-28T12:36:59.288195004Z  INFO ThreadId(01) neptune_cash::main_loop: Shutdown initiated.
2024-11-28T12:36:59.718464582Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 114 is valid. mined: 2024-11-22T22:47:18.439+01:00
2024-11-28T12:37:01.525684698Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 115 is valid. mined: 2024-11-22T22:49:33.311+01:00
2024-11-28T12:37:03.302571306Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 116 is valid. mined: 2024-11-22T22:51:47.938+01:00
2024-11-28T12:37:05.075668328Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 117 is valid. mined: 2024-11-22T22:54:03.126+01:00
2024-11-28T12:37:06.851131286Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 118 is valid. mined: 2024-11-22T22:56:17.997+01:00
2024-11-28T12:37:08.635265633Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 119 is valid. mined: 2024-11-22T22:58:33.662+01:00
2024-11-28T12:37:10.480011355Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 120 is valid. mined: 2024-11-22T23:00:51.789+01:00
2024-11-28T12:37:12.339500256Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 121 is valid. mined: 2024-11-22T23:03:09.065+01:00
2024-11-28T12:37:14.203740715Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 122 is valid. mined: 2024-11-22T23:05:26.452+01:00
2024-11-28T12:37:16.06497835Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 123 is valid. mined: 2024-11-22T23:07:46.824+01:00
2024-11-28T12:37:17.935043946Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 124 is valid. mined: 2024-11-22T23:10:04.317+01:00
2024-11-28T12:37:19.80381344Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 125 is valid. mined: 2024-11-22T23:12:26.128+01:00
2024-11-28T12:37:21.662392458Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 126 is valid. mined: 2024-11-22T23:14:38.150+01:00
2024-11-28T12:37:23.52085124Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 127 is valid. mined: 2024-11-22T23:16:53.356+01:00
2024-11-28T12:37:25.37137949Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 128 is valid. mined: 2024-11-22T23:19:13.668+01:00
2024-11-28T12:37:27.266106659Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 129 is valid. mined: 2024-11-22T23:21:29.904+01:00
2024-11-28T12:37:29.198549214Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 130 is valid. mined: 2024-11-22T23:23:46.318+01:00
2024-11-28T12:37:31.172501103Z  INFO ThreadId(12) neptune_cash::peer_loop: Block with height 131 is valid. mined: 2024-11-22T23:25:58.607+01:00
2024-11-28T12:37:31.172601662Z  INFO ThreadId(12) neptune_cash::peer_loop: Updated block info by block from peer. block height 131
2024-11-28T12:37:31.172629562Z  INFO ThreadId(12) neptune_cash::peer_loop: Rewarding peer 51.15.139.238 for ValidBlocks(50)
2024-11-28T12:37:31.172747548Z  WARN ThreadId(12) neptune_cash: executed handle_peer_message()::PeerMessage::BlockResponseBatch in 96.224442732 secs.  exceeds slow fn threshold of 0.001 secs.  location: /home/alan/repos/neptune-core/src/peer_loop.rs:684:17
2024-11-28T12:37:31.172779538Z  INFO ThreadId(12) neptune_cash::peer_loop: handle_main_task_message is closing the connection to 51.15.139.238:9798
2024-11-28T12:37:31.173012783Z  INFO ThreadId(01) neptune_cash::main_loop: Shutdown completed.
2024-11-28T12:37:31.177251543Z  INFO ThreadId(12) neptune_cash::job_queue::queue: JobQueue: received stop message.  stopping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant