-
Notifications
You must be signed in to change notification settings - Fork 14
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
Aida's tx-generator test ended with panic #763
Comments
It looks like the test scenario that failed on Jenkins was running for 14+ hours for processing a single block (37534834) and got killed before completing it. I expect what has happen in this case was that the entire 14h of execution all modifications have just been made based on the data cached in the Right now, there is unfortunately an upper limit of the working set size defined by the capacity of the LiveDB node cache size. If this limit is exceeded, the program is crashing with a dirty-hash panic. The default working set is enough for at least ~500k modifications within a single block. The store application of Norma, however, causes roughly 260 updates per transaction. Thus, the 50.000 Tx per block would produce up to 1.3 million updates, exceeding the per-block limit which has likely triggered the issue. Things we should do:
|
@HerbertJordan I can confirm that the log is correct. One block has 50,000 transactions in this test. I made a quick calculation from the processing rates reported. It seems that the panic happens right at the end of the first block. |
@wsodsong thanks for checking. In this case I would suggest to reduce the block size for the application type "store" to something more realistic resulting in a block time of at most a few seconds. |
We have reduced tx per block to 5000. Everything runs fine now. Should I close this ticket? |
Yes, let's close this issue. The problem of a limited working-set size is also covered by #686. |
An Aida's tx-generator test ended with
panic: unable to store branch node with dirty hash error
. Jenkins.In this test we run
store
tx type only with 50,000 tx per block for 100 blocks using London fork. Command (develop branch):Error message:
The text was updated successfully, but these errors were encountered: