-
Notifications
You must be signed in to change notification settings - Fork 4.5k
solana-ledger-tool verify
OOM's with master on mnb
#26895
Comments
Luckily I pinged @jeffwashington and he had just put in a fix that makes things better: 224550d
A definite improvement, but I think there is still something worth investigating here |
maybe related to 83e0412 |
Unfortunately, doing a For completeness incase we come back, here were the commits to get snapshot / ledger compatible:
|
I have done all this already and have the branches.
I am pretty sure this is it:
… 83e0412 - Run real snapshot packager while processing blockstore at validator startup (3 months ago) <Michael Vines>
On Aug 3, 2022, at 10:48 PM, steviez ***@***.***> wrote:
Unfortunately, doing a git bisect doesn't have a good path. There was some fairly trivial patches to get compatibility with the new snapshot / ledger on older commits; however, processing sputters out form some TX's. I would essentially have to bisect to find commits that would create compatibility ... we could do this if we get desperate, but going to pursue other angles at the moment.
For completeness incase we come back, here were the commits to get snapshot / ledger compatible:
If a commit is unable to open snapshot, cherry-pick 8caced6 <8caced6>
If a commit is unable to open rocksdb, use ldb to drop optimistic_slots column
—
Reply to this email directly, view it on GitHub <#26895 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASCZMGAP3AIBYDKQ2XJR7D3VXM4SVANCNFSM55MW464Q>.
You are receiving this because you were mentioned.
|
I was after a different issue, but ledger tool perf was the main thing.
… On Aug 3, 2022, at 10:59 PM, Jeff Washington ***@***.***> wrote:
I have done all this already and have the branches.
I am pretty sure this is it:
> 83e0412 - Run real snapshot packager while processing blockstore at validator startup (3 months ago) <Michael Vines>
> On Aug 3, 2022, at 10:48 PM, steviez ***@***.*** ***@***.***>> wrote:
>
>
> Unfortunately, doing a git bisect doesn't have a good path. There was some fairly trivial patches to get compatibility with the new snapshot / ledger on older commits; however, processing sputters out form some TX's. I would essentially have to bisect to find commits that would create compatibility ... we could do this if we get desperate, but going to pursue other angles at the moment.
>
> For completeness incase we come back, here were the commits to get snapshot / ledger compatible:
>
> If a commit is unable to open snapshot, cherry-pick 8caced6 <8caced6>
> If a commit is unable to open rocksdb, use ldb to drop optimistic_slots column
> —
> Reply to this email directly, view it on GitHub <#26895 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASCZMGAP3AIBYDKQ2XJR7D3VXM4SVANCNFSM55MW464Q>.
> You are receiving this because you were mentioned.
>
|
In support of this, I scraped incidence rates from
So, these cleanup functions are not getting called in tip of master, or even with the mvines PR |
Problem
Running
solana-ledger-tool verify
with the tip of master OOM's after processing a . For example, with a snapshot a from epoch 333, I see an OOM after processing < 250 slots. I believe this has been an issue for a little bit, as jwash also reported hitting some OOM's withmaster
roughly 1 month back:https://discord.com/channels/428295358100013066/439194979856809985/992161854686240778
mvines had a potential fix with #26349 that enabled
AccountsBackgroundService
when runningverify
; however, I still encountered the OOM with this.Some things that have already been verified:
BankForks::set_root()
is getting called)Bank::Drop()
is getting called)Proposed Solution
Debug and fix, several methods to approach
Testing Results
The following are for attempting to process roughly 10k slots from a recent mainnet beta ledger.
The text was updated successfully, but these errors were encountered: