Coder Social home page Coder Social logo

Comments (7)

cdecker avatar cdecker commented on August 12, 2024 1

Well, your bitcoind is extremely slow, that's what changed ;-)

from lightning.

cdecker avatar cdecker commented on August 12, 2024 1

Thanks for sharing, I was definitely not aware that bitcoind will happily stop responding when processing a block, that's annoying indeed.

from lightning.

hMsats avatar hMsats commented on August 12, 2024

It happened again today

from lightning.

cdecker avatar cdecker commented on August 12, 2024

I'm not sure what we should be doing for this issue. The "crash" is us
very loudly and explicitly exiting, after noticing that we can no
longer interact with the bitcoin network, i.e., we're flying blind,
potentially yelling into the void.

This is our way of hopefully attracting the operator's attention, as
there is nothing we can do on our side. We could increase the timeout,
however escalating to an operator and asking them to fix the lack of
connectivity to the network is the right thing to do here.

This fix here is for the operator to address the connectivity problem
between CLN and the bitcoind that is acting as a backend, there is
nothing for CLN to do here.

from lightning.

hMsats avatar hMsats commented on August 12, 2024

Well, I don't recall ever having this issue before upgrading to v24.05 and nothing else changed on my system. Don't know if that could be a hint ...

from lightning.

hMsats avatar hMsats commented on August 12, 2024

Fair :-) next time it happens, I will try to have a look in debug.log what bitcoind is doing around the time of the crash.

from lightning.

hMsats avatar hMsats commented on August 12, 2024

@cdecker just to close this issue from my side: I had a look at another crash and came to the conclusion that when blocks come in too fast, my bitcoind is in trouble. In this case 3 blocks came in within 3 minutes so 10 times as fast as on average (but I know that's still normal):

Highed  Timestamp	        Txs     Size(KB)	Weight (KWU)
849683  2024-06-27 14:46:02     390     1861.678        3993.01
849682  2024-06-27 14:44:11     596     1842.971        3993.242
849681  2024-06-27 14:43:30     1889    1595.995        3993.163

I have increased my cpu-limit (a lot more is running on my server). To be honest, I still don't get why one wouldn't close CLN with the error message something like "bitcoind didn't respond, closing CLN" instead of what looks like a CLN crash.

I get the impression bitcoind first processes blocks before responding to rpc calls (in between blocks) but I'm not sure.

from lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.