-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Parity returns past work on eth_getWork request #9278
Comments
@tomusdrw do you have any guess what may cause a problem? to me it looks a bit like problem with |
with 2.0.1 beta i have another strange issue - when i do poll getWork reequest parity may miss some blocks.. it looks like i get work for blocks 1, 2, 3, 4, 7,10 - no work for block 5, 6, 8, 9, but i can see import of these blocks in parity console... don't know how can i use parity in my eth pool |
@debris This condition seems fishy: https://github.com/paritytech/parity-ethereum/blob/92776e4acf7b9c462ef8b01861facce5d4806f90/ethcore/src/miner/miner.rs#L686 We don't compare the hashes here, so it may be |
My Parity gets stuck many times a day, and I even have to write a script to automatically restart it. The strange thing is that stuck only happens on the ETH mainnet (foundation). The same configuration of Parity running ETC mainnet (classic) has never been stuck. I have tried multiple versions, from I described the same problem in issue #7787 There is my script: getwork-monitor-eth-parity.sh And a part of its logs:
|
In addition, a method with a high probability to reproduce the problem: Synchronize a new Parity node and always call eth_getWork during the synchronization process (call eth_getWork per second). Although the call returns an "Syncing" error, do not stop the call. And when the synchronization is complete, Parity's eth_getWork return value will always be stuck at a past block number. All 8 nodes I deployed have reproduced the problem in this way. Also, if you keep calling For me, I started calling eth_getWork every 0.5 seconds. But now I have changed to call eth_getWork every 3 seconds. Parity still stuck several times a day. |
making any helper scripts is unacceptable to me, |
I set
And a similar issue in |
This very serious issue to pool owners. Please fix it. From out experience this problem occurs more often when server is under high load (more then 1 per core, cpu usage >70%, regardless of free memory). Method to reproduce suggested by @YihaoPeng is very good. The more often you call getWork the sooner problem appears. |
This comment has been minimized.
This comment has been minimized.
I can confirm this. At its current state newer parity releases are unusable for mining-pools as the stale getWork result means the miners work for nothing. |
Any update on this? |
any fix for this? |
I'm slightly confused. This issue bear the P0-dropeverything 🌋label, yet there's release after release without anything done about this. |
Although this is annoying, when several high priority issues compete, there got to be some prioritization between them as well. Please be patient or contribute if you can. |
This very serious issue to pool owners. Please fix it. |
dont expect an update before the fork. they sold out to mega pools. thats just way shtcoins roll. buy bitcoin. |
(I'd say that the reason this is still open is because it's proving hard to diagnose the problem [we'd certainly appreciate more eyes], if in fact it is still an issue. It's been months since this issue has been reported and the code where the bug might live has had several changes and fixes made to it, more confirmation of the issue would be very appreciated, perhaps comparisons to clients or versions of parity that don't have the problem.
pools are impacted most by this issue so I have genuinely no idea what that is supposed to mean?) |
We've switched to geth. Problem solved. |
@cheme this issue should now be closed right? |
Yes, it should be in next backports (beta 2.2.1 and stable 2.1.6), it addresses the case where |
@oliverw if the |
We often run into this issue still. |
Some time ago i've migrated from geth to parity (to use it with my pool), and now i getting some strange behavior - after few hours of work parity stuck and returns past work, but importing of new blocks still continues.
From last example - the parity stuck on block 6080556 and eth_getWork continues to return the work from this block, but in console i saw importing of blocks 6080646 and further. Only reboot parity solve the problem, but after several hours the problem occurs again
PS tried websocket and http rpc, all the same
The text was updated successfully, but these errors were encountered: