fix

CPU使用率が高い理由

CPU使用率が高い理由は、1件のレビュー済み調査結果から合成された繰り返し発生するパフォーマンスパターンです。現在のクラスターの信頼度は低いです。

Common symptoms

Likely causes

Evidence to look for

docker_stats: cpu_throttle_periods = 1250 — コンテナが60秒間に1250回スロットルされました
cgroup: nr_throttled = 850 — cgroup v2 で850件のスロットルされた期間が表示されています
top: cpu_percent = 100% — コンテナプロセスがCPU使用率100%に固定されています

What it usually means

CPUが真のボトルネックである場合、通常の解決策はホットパスをプロファイリングして計算処理を削減することです。プロファイリングなしに水平または垂直にスケーリングすることは非効率です。

What to do next

  1. 1コンテナのリソース制限でCPUクォータを増加させる(低コスト)— 現在の制限がワークロードに対して低すぎます
  2. 2最適化のためにコンテナのワークロードをプロファイリングする(中程度のコスト)— ワークロードに非効率なCPUパターンがある可能性があります

Cluster analysis

low confidence1 finding

Evidence patterns

Container throttling2x observed
  • Container throttled 1250 times in 60s (cpu_throttle_periods: 1250)
  • cgroup v2 shows 850 throttled periods (nr_throttled: 850)
General performance anomaly1x observed
  • Container process pinned at 100% CPU (cpu_percent: 100%)

Most common fixes

  1. 1
    increase cpu quota in container resource limits
    1x recommendedlow effort
  2. 2
    profile container workload for optimization
    1x recommendedmedium effort

See what's causing your CPU

cpum.ai turns CPU, process, disk, and memory signals into plain-English explanations with evidence.

Open cpum.ai

Related

CPU使用率が高い理由:証拠に基づく診断 | cpum.ai