-
Notifications
You must be signed in to change notification settings - Fork 1.7k
parity ethereum client doesn't always shutdown gracefully #10364
Comments
|
People are still seeing this issue regularly in recent versions - unclean shutdowns are leading to many more reports of db corruption so bumping priority here 😥 |
i can confirm this happens regularly to at least 4 parity archive instances we run with the following config
|
This is probably fixed by #10689 |
There is probably one more of these bugs to root out. I've seen this happen with
|
The problem is still present in current stable. When it will be merged? |
@zet-tech it should be resolved in 2.4.8 and 2.5.3 - it was merged into those releases - if you still have issues with shutdowns the source of the issue may be different |
It is present in 2.4.8 and the issue is for sure related to rpc. When I bind only to locahost and there is no rpc calls, restarts are correct. But when I bind parity do remote IP and it got request from our other software (even one second is enough which means 5-10 requests, only eth_getWork and eth_getBlockByNumber), restart is not possible and process is being killed. This result in DB corruption much more often then is should (even once per 10 restarts) and we were forced to move to GETH on production due to this problem. |
One thing worth noting about any of these shutdown problems is that different bugs can cause the same symptom. We recently fixed one instance where shutdown would fail while the node was taking a snapshot. |
@zet-tech That sounds really bad. I have tried to reproduce the shutdown problem after RPC on the latest master and could not see a problem. I'd need your assistance to debug this further.
Thanks! |
Can anyone confirm this issue has been fixed ? |
As mentioned above there are possibly several other causes with the same symptom. We have fixed a few but there might be others. FWIW we have experienced or afaik not had reports of shutdown issues for several months now. |
So, after my server automatically restarted this weekend, I can confirm that the parity server restart normally with pm2. No error. |
I just installed 2.6.4. Problem still occurs, exactly as before. Answering previous questions: I removed the IP address because it is public IP. 3). By bind only to localhost, I meant that if there is no RPC calls to parity then the error does not occur. But even one RPC call cause that parity cannot be shutdown. |
2.5.10 solves our restart problem. |
Sorry, forgot to mention that I didn't observe ungraceful shutdowns with v2.6.5, now running v2.6.6. @zet-tech Don't forget to upgrade to at least v2.5.11 before Istanbul fork at the weekend: https://github.com/paritytech/parity-ethereum/releases/tag/v2.5.11 |
Already updated, but bug was fixed in 2.5.10.
pt., 6 gru 2019, 11:30 użytkownik @c0deright <notifications@github.com>
napisał:
… Sorry, forgot to mention that I didn't observe ungraceful shutdowns with
v2.6.5, now running v2.6.6.
@zet-tech <https://github.com/zet-tech> Don't forget to upgrade to at
least v2.5.11 before Istanbul fork at the weekend:
https://github.com/paritytech/parity-ethereum/releases/tag/v2.5.11
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10364>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF7ICSCVNBPC56T3PVVKWGTQXISTPANCNFSM4GXV5VYA>
.
|
Sometimes stopping parity results in the issue described here: #9101 (comment)
Sometimes when stopping parity even with shutdown tracing turned on the process exits immediately and nothing about a shutdown is being logged at all.
So we have 3 outcomes when stopping parity:
How to debug this further?
The text was updated successfully, but these errors were encountered: