-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Local transactions are culled from the local memory pool #10228
Comments
Chances are that this has something to do with faulty nonce calculation which might happen if you are transacting extremely rapidly. Should be resolved by #10051 which just got merged. |
Hm, we are submitting at most 1 tx every 4-500ms, so not really fast and always one transaction after another (we continue to send the next transaction only after the eth_sendTransaction rpc call has returned. |
The issue ends up being that if certain transactions completely fail to get mined, it currently messes up nonce calculation for future transactions. You can try master if you want to try the fix mentioned above, or wait for it to be backported to a release. |
Ok, thanks. We will wait till the fix is backported and then report back if the issue has been resolved. |
(short term, you can manually specify your nonce when calling sendTransaction) |
I suggest keeping track of this progress on #9040 - we can reopen if the issue isn't resolved after that one is. |
We still experience this issue with Parity-Ethereum v2.3.3, so #10051 did not resolve it for us. @joshua-mir could you please reopen the issue? |
@joshua-mir we are still experiencing this issue (even with version v2.4), could you please reopen it. Thanks! |
We are still experiencing this issue with v2.6.0 |
We're also seeing this issue in Specifically, we see 4 transactions, submitted at different times, that all got culled at the same second: 2019-07-24 16:28:58 UTC Transaction culled (hash 0x65fdc020148e71a511d6ace53cd03ddfea978b75f26551899543dfa746e14d25)
2019-07-24 16:28:58 UTC Transaction culled (hash 0xd67e6f72b362395cdeffce3e9e73a79aa79292cb60a7cd4dca1a012da23dbde0)
2019-07-24 16:28:58 UTC Transaction culled (hash 0x65158449814b36f3b522a59de7c03282181c7dffbbc0a1e8ad500b27064953c1)
2019-07-24 16:28:58 UTC Transaction culled (hash 0xc0311fe66494b8f505541dc53052a7238abc37f921b38c17f7aa27d10c15bfc9) |
@ppratscher Have you come up with any workarounds? Do changing up any of |
A few questions to @ppratscher and @dtran320:
Thanks! |
@dvdplm will get back to you shortly with as many details as possible. We don't store local keys on any of the nodes so we can rule out 5. |
Parity Ethereum version: Parity-Ethereum/v2.5.5-stable-3ebc769-20190708/x86_64-linux-gnu/rustc1.36.0 Across several mainnet full, non-archive
Ran a python script over these to look for each transaction by calling
Out of the 371 transaction hashes across all the nodes nodes, only 1 was mined. Calling
The culling either seems to happen pretty soon after the write was sent like this in case or seems to happen in batches quite a long time after. All of these are from a single node:
We don't have this setting on, so will try turning it on on a couple of nodes and get back to you. Is there much performance impact with this setting on?
Adding some logging to get more of these, but here's one that was culled from July 24th:
We don't store local keys on any of the nodes so we can rule this out. All writes come from JSON-RPC calls to
Found 0 instances of "Transaction culled" on Ropsten and Kovan in the parity logs for ~21,000 writes in the last 7 days. Note that all of our writes on Ropsten and Kovan go to nodes with |
Parity Ethereum version: Parity-Ethereum/v2.5.5 @joshua-mir Hi Joshua Any news on this bug? We are having an issue which manifests itself with the same symptoms. We are running a private PoA chain with ~35 transactions per minute using the Clique engine, but occasionally we see tx's get culled rather than mined. With relation to the previously asked questions:
Regards |
I'm currently facing this issue on an Aura PoA Chain. Submitting on average 10 (largish - arrays, bytes) tx every second and after a few hours logs are like: 2020-10-01 12:38:04 Transaction culled (hash 0x5aa608f9037bfcba831a8787f8f199b3f7845d3b1516a5daa82d9182781606e6)
2020-10-01 12:38:04 Transaction culled (hash 0xc925f0875cd8e2d0c51f809170d8cae2297a161ab4466a4eefefae6173829ae6)
2020-10-01 12:38:04 Transaction culled (hash 0x0967bf740a8cb699da14679bb686e68f0dd35210d2273ac50176f79e20d7f672)
2020-10-01 12:38:04 Transaction culled (hash 0xd0a6ba1a78da918cf011dcf1074440ac19e9b455132efc2a141f604a41f509da)
2020-10-01 12:38:04 Transaction culled (hash 0x4d104e1cd1066de76d770226d0e686c3a5ec542e8e88e7c95d29c1244171e6aa)
2020-10-01 12:38:04 Transaction culled (hash 0xc516db70f83ada10c849b337703f55f9cba2c3f027203d1ff1450390267d5622)
2020-10-01 12:38:04 Transaction culled (hash 0x4003758fe6b94e483e4af0af08068c5b413569463500895a5dec954df4c21acf)
2020-10-01 12:38:04 Transaction culled (hash 0xbb23f4cbf32ee8f7a8c358a9b88537c36bcabda20a013308614220f4db2cc672) |
Before filing a new issue, please provide the following information.
We are sending several thousand transactions each hour via parity. Sometime it happens, that because of the specified gas price the transactions do not get mined immediately. After a while parity reject each new transactions with "Transaction culled". We run parity with the --tx-queue-per-sender 100000 flag & all transactions are submitted via the standard eth_sendTransaction RPC call.
Ideally parity should never cull a local tx from the tx pool.
The text was updated successfully, but these errors were encountered: