lemmyperformance
Lemmy Server Performance phiresky 1 year ago 100%

High CPU usage? How to profile Lemmy server process CPU usage

Here's how you can profile the lemmy server cpu usage with perf (a standard linux tool):

Run this to record 10 s of CPU samples: perf record -p $(pidof lemmy_server) --call-graph=lbr -a -- sleep 10

Then run this to show the output perf report.

Screenshot example:

Post your result here. There might be something obvious causing high usage.

6
2
Comments 2