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

Can't stop daemon #3

Open
KhmerRun opened this issue Apr 20, 2018 · 3 comments
Open

Can't stop daemon #3

KhmerRun opened this issue Apr 20, 2018 · 3 comments

Comments

@KhmerRun
Copy link

Hello,

I just compiled DeuterCoin today and started to sync. However, I always failed to stop the daemon either with exit command or CTRL+C.

deuter v2.1.3.1255 ()
2018-Apr-20 10:59:22.414379 WARNING Transaction 29671cc3ac78dafdbd96cdbab74c16e1c4f332ff03e78c60156d4aa2f5f468c7 is not valid. Reason: Transaction has input with invalid signature
2018-Apr-20 10:59:22.414535 INFO [188.42.33.124:54413 INC] Tx verification failed
2018-Apr-20 10:59:22.427048 WARNING Transaction 28e331d2f43b9114aa3a0305fde8243db0ae731613e15fcb35bc870c19bdd079 is not valid. Reason: Transaction has input with invalid signature
2018-Apr-20 10:59:22.427194 INFO [188.42.33.124:54413 INC] Tx verification failed
exit
2018-Apr-20 10:59:28.083440 INFO Stop signal sent
2018-Apr-20 10:59:28.083446 INFO Stopping NodeServer and it's14 connections...
2018-Apr-20 10:59:29.084696 INFO NodeServer loop stopped
2018-Apr-20 10:59:29.084817 INFO p2p net loop stopped
2018-Apr-20 10:59:29.084872 INFO Stopping core rpc server...
2018-Apr-20 10:59:29.084980 INFO Deinitializing p2p...
^C2018-Apr-20 11:13:01.521404 INFO Stop signal sent
^C2018-Apr-20 11:13:09.886392 INFO Stop signal sent
^C2018-Apr-20 11:13:10.129392 INFO Stop signal sent

It hangs there till i killed the process.

@servc4
Copy link
Owner

servc4 commented Apr 20, 2018

Hi
If you will run your daemon with --log-level 3
you will see what the daemon doing after commend exit or ctrl C
if not --log-level 3 try 4
And let me know what will be in logs..

Regards
ServC4

@KhmerRun
Copy link
Author

Now, i can stop it:

2018-Apr-21 06:43:05.247451 INFO Stop signal sent
2018-Apr-21 06:43:05.247457 INFO Stopping NodeServer and it's3 connections...
2018-Apr-21 06:43:06.248035 INFO NodeServer loop stopped
2018-Apr-21 06:43:06.248158 INFO p2p net loop stopped
2018-Apr-21 06:43:06.248213 INFO Stopping core rpc server...
2018-Apr-21 06:43:06.248313 INFO Deinitializing p2p...
SwappedVector cache hits: 0, misses: 1 (100.00%)
SwappedVector cache hits: 0, misses: 1 (100.00%)
2018-Apr-21 06:43:06.265282 INFO Closing DB.
2018-Apr-21 06:43:06.518844 INFO Node stopped.

Is it caused by 14 connection and 3 connections?

@servc4
Copy link
Owner

servc4 commented Apr 22, 2018

Not really
My nod hes stop with 17 connections

2018-Apr-22 22:55:20.842820 INFO    Stop signal sent
2018-Apr-22 22:55:20.843068 INFO    Stopping NodeServer and it's17 connections...
2018-Apr-22 22:55:21.845595 INFO    NodeServer loop stopped
2018-Apr-22 22:55:21.845709 INFO    p2p net loop stopped
2018-Apr-22 22:55:21.845772 INFO    Stopping core rpc server...
2018-Apr-22 22:55:21.846324 WARNING Connection error: The stream is ended
2018-Apr-22 22:55:21.847318 INFO    Deinitializing p2p...
SwappedVector cache hits: 0, misses: 1 (100.00%)
SwappedVector cache hits: 0, misses: 1 (100.00%)
2018-Apr-22 22:55:22.767038 INFO    Closing DB.
2018-Apr-22 22:55:23.034057 INFO    Node stopped.

But I will look on it if you will provide some logs...

Regards
ServC4

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

2 participants