Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prometheus metrics aggregator pegging coderd CPU and potentially causing OOM kill #11775

Closed
Assignees
mtojek
Labels
apiArea: HTTP APIs1Bugs that break core workflows. Only humans may set this.
@mafredri

Description

@mafredri

In the latest scale test, we ran into coderd restarts and upon inspecting logs, we saw that the OOM killer was summoned, that we sawa lot of log messages from the aggregator:update queue is full.

As can be seen from these graphs, both CPU and memory usage spikes coincided with the restart(s).

image

What can also be observed above is that one coderd instance had it's CPU pegged, upon CPU/trace inspection, the finger is once again pointed towards the aggregator:

image

The same is shown in the CPU profile:

image

One code-path that's being executed for a while (as shown in the trace above), is this loop:

for_,m:=rangereq.metrics {

// ping@mtojek for insights since you worked on the initial feature.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIs1Bugs that break core workflows. Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp