Skip to content

High CPU usage after a few hours #3370

@LLeny

Description

@LLeny

Background

High CPU usage since 0.7.1.
The node runs perfectly for a few hours and at one point the CPU usage of lnd reaches 100%, I've let it for a couple of days at 100% but it never goes down. Restarting lnd fixes the issue for a few hours. This behavior wasn't seen with 0.6.
bitcoind CPU usage stays low.

Your environment

  • version of lnd
    lnd version 0.7.1-beta commit=v0.7.1-beta
  • which operating system (uname -a on *Nix)
    Linux 4.19.0-5-amd64 Fix name typo in README #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend
    Bitcoin Core Daemon version v0.18.0
  • any other relevant environment details

CPU profile when it happens :
profile001

Metadata

Metadata

Assignees

Labels

P2should be fixed if one has timebackendRelated to the node backend software/interface (e.g. btcd, bitcoin-core)bitcoindBitcoin Core backendbugUnintended code behaviourresource usageSoftware resource usage improvements/issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions