lnd: [bug]: WTCL abnormal sessions count

Background

The WTCL has an abnormal count of 345 active sessions at a single tower and is backing them up constantly.

{
    "towers": [
        {
            "pubkey": "thepubkey",
            "addresses": [
                "thetoweraddress.onion:9911"
            ],
            "active_session_candidate": true,
            "num_sessions": 345,
            "sessions": [
            ]
        }
    ]
}

Your environment

  • version of lnd 0.15.4

Steps to reproduce

Connected to the watchtower of a friend 1-2 years ago.

Expected behaviour

The remote node connecting to my watchtower has not the same issue and reports only "num_sessions": 6

Actual behaviour

Beside the many Queued Backup successfully log entries, this are the stats after 4 days uptime:

[INF] WTCL: (legacy) Client stats: tasks(received=0 accepted=3345 ineligible=0) sessions(acquired=4 exhausted=292)
[INF] WTCL: (anchor) Client stats: tasks(received=0 accepted=11873 ineligible=0) sessions(acquired=12 exhausted=51)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (1 by maintainers)

Most upvoted comments

@ellemouton ok, thx

lncli listchannels --active_only | jq -r '["updates","uptime"], (.channels[] | [(.num_updates|tonumber), (.uptime|tonumber/86400|round)]) | @tsv'

gives me to channel wiht over 1.2 mil updates, I could not find a creation time to calc the updates per day

updates uptime
56925   8
47222   8
4324    8
13742   8
19913   8
361809  8
36289   8
234851  8
36      8
1154991 8
96006   7
59434   8
40625   8
45456   8
15457   8
24130   8
8199    8