-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Describe the problem/bug
Bitcoin c-lightning Channel "AWAITING_UNILATERAL" Peer connection lost closing, CPU 100% Spikes
**Peer connection lost/bug Peer transient failure in CHANNELD_NORMAL: lightning_channeld: Owning subdaemon lightning_channeld died (9
**Channel AWAITING_UNILATERAL since days CPU Spikes CPU 100%. bitcoin-cli exec failed: Out of memory
Your environment
Ubuntu 18.04.1 LTS (GNU/Linux 4.18.0-1014-azure x86_64)
- Version of BTCPay Server:
.103 - Deployment method:
Azure - Other relevant environment details:
c-lightning
Logs (if applicable)
Basic logs can be found in Server Settings > Logs.
lightningd: Fatal signal 6 (version basedon-v0.7.0-3)
0x55647dd5b718 crashdump
common/daemon.c:40
0x7f360077e0e9 ???
???:0
I found one of my channels was in "AWAITING_UNILATERAL" so now I see it was for weeks in that state.
plus another channel AWAITING_UNILATERAL for like a year, lol
so found a solution by closing this bugged out channels,
bitcoin-lightning-cli.sh close "Full Channel ID:" true
bitcoin-lightning-cli.sh close °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° true
or with this command:
bitcoin-lightning-cli.sh close -k force=true id=°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Status: AWAITING UNILATERAL
Status: ONCHAIN
"ONCHAIN:Tracking our own unilateral close
ONCHAIN:All outputs resolved: waiting 99 more blocks before forgetting channel"
Age: 1615 blocks (a couple of weeks)
check here for some past bug history.
re. ElementsProject/lightning#2171
ElementsProject/lightning#1865
Not sure why but I think this started around April 11th,
also this seems to mess with spark wallet. container restarting!! sometimes
found this with other channels not closing after a long time.
bitcoin-lightning-cli.sh close "Full Channel ID:" true
seemed to solved my problems.