5

Lemmy starts out pretty chill, but the longer it is running, the more CPU it's using. Until I restart it again, and then the process starts over again. It's just /app/lemmy that's eating the cpu cycles. Looks like there are some threads that keep requeueing themselves, until eventually that's all it's doing.

Does anybody have any clues or pointers about this?

I'm running 0.17.4, haven't made the jump yet to 0.18.

you are viewing a single comment's thread
view the rest of the comments
[-] RoundSparrow@lemmy.ml 1 points 1 year ago

What is your server doing?

Lots of local users logging in and reading content? Federation outbound sending of new content from your server to other servers? Federation inbound?

[-] usernotfound@lemmy.ml 1 points 1 year ago

Mostly receiving posts and sending out to federated servers.

[-] RoundSparrow@lemmy.ml 1 points 1 year ago

On my instance, i have a lot of federation incoming messages, subscribed to every large community I could find. And I'm getting posts, comments, votes coming in constantly and the CPU usage for lemmy_server is pretty high/constant. The digital signature and boilerplate federation text is actually high overhead for a single upvote to be processed, etc.

But CPU usage goes go down if there are no messages for a minute, but 20+ servers sending to my server constantly, it isn't idle for long.

this post was submitted on 28 Jun 2023
5 points (100.0% liked)

Lemmy Support

4633 readers
2 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS