-
Notifications
You must be signed in to change notification settings - Fork 421
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
Bug: electrs stuck on 100%/IO usage due to rocksdb:low
#1156
Comments
Thanks for reporting this issue! IIUC, it is possible that electrs is running background RocksDB compaction: Could you please watch the RocksDB directory (e.g. using |
BTW, if you are using a SSD for RocksDB storage, I would suggest trying latest electrs with |
Also for completeness, electrs is not intended as a public server so if you happen to have its port exposed it might have gotten some nasty packet. Though I think it's unlikely. |
It does produce new ssts rapidly:
The whole dataset is around 55G, and in 5 minutes since it was started it rewrote like 6GB.Yesterday it must have been sitting there like that for 15 minutes while I was waiting, and I walked into this room after a whole day of not being there. So either I was extremely (un)lucky, or it seems like it might be doing this ... a little too much? I'm going to give it some time now see if it wraps it up. |
Ok... Around 15 minutes later it was done, rewriting 78 270MB files total (plus the ones it did yesterday, which judging by the timestamps was another 70). I guess that's what rocksdb does. I learned something. I guess I was expecting some more ... lazy approach for some reason. |
Describe the bug
I'm running
electrs
, just to have it around. Today I've noticed that my secondary desktop CPU fan constantly spins, and turns out electrs'srocksdb:low
thread just does something that seems not caused by any requests or any new blocks. After a couple of minutes, I restarted it, didn't help, then after few more minutes I shut it down.It seems like some strange rocksdb behavior to me, which worries me because we're using rocksdb in Fedimint as well.
Electrs version
0.10.8
To Reproduce
No idea. On my primary desktop I have an instance of electrs and that one is idle. Same version, same config.
Expected behavior
NA
Configuration
It's a rather vanilla electrs from nix-bitcoin, electrs.toml contains only
auth
.No error messages.
System running electrs
NixOS
Electrum client
No clients are using it.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: