coffee-tools / folgore

Universal Bitcoin backend for core lightning with BIP 157 support full based on the btcli4j Kotlin plugin! Ah, yes it is written in Rust
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

coffee/folgore/nakamoto eats 100% of my CPU #89

Closed urza closed 4 months ago

urza commented 4 months ago

I was wondering why the system is so unresponsive so I opened htop and folgore is eating 100% of my CPU :)

I installed folgore via coffee plugin manager and uses nakamoto backend.

image

Looking at metrics now and it is continuously at 100% since I installed coffee/fologre/nakamoto 5 days ago

image

urza commented 4 months ago

I stopped both lightningd and nakamoto and it still sits at 100% CPU in the same way. Shouldn't the plugin stop with cln? Is it the coffee manager?

Going to reboot the system..

urza commented 4 months ago

After reboot it looks like this:

image

So instead of 4 processes, there are 2, but again each of them is utilizing 100% CPU core.

vincenzopalazzo commented 4 months ago

Closing because duplicate https://github.com/coffee-tools/folgore/issues/25

looking for a solution, when you stop cln you also need to stop folgore unfortunately, I usually kill all folgore process.

I know how to solve this, but I would like to avoid to blue up the binary size