Skip to content

lnd profiler documentation out of date #999

@ZZiigguurraatt

Description

@ZZiigguurraatt

At

## Capturing pprof data with `lnd`
`lnd` has a built-in feature which allows you to capture profiling data at runtime using [pprof](https://golang.org/pkg/runtime/pprof/), a profiler for Go. The profiler has negligible performance overhead during normal operations (unless you have explicitly enabled CPU profiling).
To enable this ability, start `lnd` with the `--profile` option using a free port or add `profile=9736` to your `lnd.conf`.
```
⛰ lnd --profile=9736
```

use of the profiler is mentioned, but the information is out of date.

See

lightningnetwork/lnd@448193b

for the updated flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions