lnd: Crash

Background

LND crashed after running for a month. Updated to latest code. Restarted, ran for an hour and crashed.

Your environment

  • version of lnd: 5.2 e1382bd4fc118ba2e93b1e987f94bc1a1b1fec3d
  • which operating system (uname -a on *Nix) Raspbian
  • version of btcd, bitcoind, or other backend: BitcoinD 0.16.0
  • any other relevant environment details

Steps to reproduce

Just letting it run Console output: https://pastebin.com/rSjHGCsc

Log output: https://pastebin.com/PDcvTMZZ
(Last couple lines are from restarting to show version)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Yep, out of memory.

2019-03-15 18:37:12.065 [INF] HSWC: Removing channel link with ChannelID(eb21683bcb29798857d274b0485dde5215ce3e1d98a70ae60c195660d4eb98d0) 2019-03-15 18:37:12.065 [INF] HSWC: ChannelLink(d098ebd46056190ce60aa7981d3ece1552de5d48b074d257887929cb3b6821eb:0) is stopping runtime: out of memory: cannot allocate 409600-byte block (963903488 in use) fatal error: out of memory

Gig of ram… plus 2 gig of cache… sounds like a mem-leak… Pesky things to hunt down.