cockroachdb / cockroachdb/cockroach
Degraded performance in CPU, RAM and disk utilisation
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Describe the problem**
We have a VPS with currently 4 cores and 8GB RAM on which 11 different Netbird installations are running self-hosted. One Netbird installation consists of Zitadel + Cockroachdb + Netbird. We have started to notice a high utilisation of both RAM and CPU, but especially writing to disk despite the fact that all dockers are configured to log only info and not debug.
**To Reproduce**
Install a version of Netbird (self-hosted):
`export NETBIRD_DOMAIN=netbird.example.com; curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started-with-zitadel.sh | bash` it will deploy the same enviroment in a lower scale.
**Expected behavior**
A much lower consumption of resources, and it is also not very clear to me why all these cockroach threads are opened for a single container on which it is running
**Additional data / screenshots**





**Environment:**
- CockroachDB version 22.2.2
- Zitadel version 2.31.3
- Server OS: Debian 12
- Client app cockroach sql
Jira issue: CRDB-35886
Contributor guide
Assessment
This issue has not been assessed yet.