-
Notifications
You must be signed in to change notification settings - Fork 159
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
Forest chain muxer error #2672
Comments
Could you give more details on how to reproduce this error (at which moment do you hit ctrl-c)? Maybe the |
Not really. As I mentioned, it's difficult to reproduce. To no surprise, it happens during sync. I often encountered it when analysing state mismatches while pressing ctrl-c just after the state mismatch error. |
@LesnyRumcajs But can it be reproduced on calibnet? |
Yeah, it was happening on calibnet on my machine. The logs I posted are from mainnet from the |
Issue summary
I got hit by this several times already. In short, sometimes, in case of an error (e.g., state mismatch) and after throwing a ctrl-c (I am not sure it's 100% needed, though) Forest will start spamming the terminal with:
It is impossible to kill it with a regular ctrl-c; one has to open another tab and
pkill -9 forest
. To make it even worse, this uses a significant amount of CPU (probably coming from endless logs flooding the terminal without sleep). It's hard to reproduce, but it happened quite a few times when I sent SIGINT at the wrong moment.We need to handle it better, but I have no clear solution. The simple idea is to shut down Forest after some amount of errors in a given interval.
Other information and links
The text was updated successfully, but these errors were encountered: