element-hq / element-hq/dendrite

High CPU constantly (OpenBSD vmm machine)

Open
#3,359 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@gonzalo-**](https://github.com/gonzalo-) at .*

### Background information

- **Dendrite version or git SHA**: 0.13.5
- **SQLite3 or Postgres?**: postgresql-server-16.2
- **Running in Docker?**:
- **`go version`**: go-1.22.1
- **Client used (if applicable)**: Element

### Description

- **What** is the problem: 90% of the CPU usage constantly.
- **Who** is affected: Since 0.13.5 I can see this problem
- **How** is this bug manifesting: Just right after start the service.
- **When** did this first appear: Never, well if I stop it :)

### Steps to reproduce

I just upgrade the package, the previous version has no issue.

I got some logs from PPROF [here](https://x61.ar/tmp/dendrite.log)

Disabled presence{enable_inbound,enable_outbound} doesn't fix the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.