Roman Zeyde

Results 503 comments of Roman Zeyde

#979 should also help with this issue.

Would it be possible to hide this feature behind a new [Cargo feature](https://doc.rust-lang.org/cargo/reference/features.html) - so it would be built only if the user needs it?

Thanks for reporting this issue! Will reproduce on a Linux machine to collect file descriptor usage metrics.

> **Additional context** > I tried building this with Prometheus support in order to inspect the file descriptor progress, but got this result: ``` ❯ cargo build --locked --release --all-features...

According to Prometheus, electrs uses ~350 file descriptors during compaction: ![image](https://github.com/romanz/electrs/assets/9900/23332b51-479a-4a94-8e86-d0096926fde3)

> However I've never had software crash on my machine before due to this. I assume that the reason behind this is that the initial sync process writes many SST...

Thanks for the contribution! Will review after #913 is merged.