libbitcoin / libbitcoin-network

Bitcoin P2P Network Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shutdown may fail to terminate all channels.

evoskuil opened this issue · comments

The following shutdown sequence failed to close all sessions:

23:30:00.194140 INFO [node] Stop signal detected (code: 2).
23:30:00.201173 INFO [node] Please wait while the node is stopping...
23:30:00.243209 DEBUG [network] Failure in handshake with [73.229.104.201:8333] channel stopped
23:30:00.244203 DEBUG [network] Outbound channel stopped [73.229.104.201:8333] channel stopped
23:30:00.244203 DEBUG [network] Outbound channel stopped [2.126.21.192:8333] success
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Outbound channel failed to start [73.229.104.201:8333] channel stopped
23:30:00.244203 DEBUG [network] Stopped block_in protocol for [2.126.21.192:8333].
23:30:00.244203 DEBUG [network] Stopped block_out protocol for [2.126.21.192:8333].
23:30:00.244203 DEBUG [network] Stopped transaction_in protocol for [2.126.21.192:8333].
23:30:00.244203 DEBUG [network] Stopped transaction_out protocol for [2.126.21.192:8333].
23:30:00.244203 DEBUG [network] Outbound channel stopped [217.23.14.74:8333] success
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Stopped block_in protocol for [217.23.14.74:8333].
23:30:00.244203 DEBUG [network] Outbound channel stopped [213.136.71.143:8333] success
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Outbound channel stopped [47.89.179.113:8333] success
23:30:00.244203 DEBUG [network] Stopped block_in protocol for [213.136.71.143:8333].
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Outbound channel stopped [73.133.87.6:8333] success
23:30:00.244203 DEBUG [network] Stopped block_in protocol for [47.89.179.113:8333].
23:30:00.244203 DEBUG [network] Suspended outbound connection.
23:30:00.244203 DEBUG [network] Stopped block_in protocol for [73.133.87.6:8333].
23:30:25.488952 DEBUG [network] Fired protocol_block_in timer on [62.210.6.26:8333] success
23:31:25.489304 DEBUG [network] Fired protocol_block_in timer on [62.210.6.26:8333] success
23:32:25.489596 DEBUG [network] Fired protocol_block_in timer on [62.210.6.26:8333] success
23:33:23.545067 DEBUG [network] Fired protocol_ping timer on [[2601:645:8300:e5f0:e8ef:c2c5:5955:4797]:8333] success
23:33:23.545568 DEBUG [network] Failure sending ping to [[2601:645:8300:e5f0:e8ef:c2c5:5955:4797]:8333] unknown error
23:33:25.489967 DEBUG [network] Fired protocol_block_in timer on [62.210.6.26:8333] success

Been trying to reproduce this all day and have not been successful. It seems that there may sometimes be delays in shutdown that give the appearance of hang.

Cannot duplicate.