[BUG] High CPU usage at random moments
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- docker
- 領域
- devops, infrastructure
調査の方向性
リンクされた issue 536 から始め、提供された k3s マニフェストまたは Docker の同等物を使用して、再発時にコンテナログを収集します。CPU スパイクの再現可能なトリガーまたは原因を特定し、Nextcloud を利用可能な状態に保つ修正を検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Hello, this is a recreation of the very similar bug report link.
I have not seen the errors in the logfiles and unfortunately I can't recheck them. But the symptoms are the same as in the before mentioned tickets just at random times.
I've had it occur twice over the past 5 days, the container just randomly starts using a lot of CPU resources and Nextcloud becomes unavailable. The only thing that seems to resolve it is restarting the container.
Example of the CPU spike on the server in question:
Expected Behavior
No CPU usage spike and application remaining available.
Steps To Reproduce
It seems to be happening randomly.
Environment
OS:
Ubuntu 24.04.4 LTS
Image:
lscr.io/linuxserver/nextcloud:33.0.3-ls428
Environment:
k3s (previously experienced the exact configuration in docker as well)
CPU architecture
x86-64
Docker creation
k3s manifest:
: apps/v1
kind: Deployment
metadata:
name: nextcloud
namespace: cloud
spec:
replicas: 1
selector:
matchLabels:
app: nextcloud
template:
metadata:
labels:
app: nextcloud
spec:
containers:
- name: nextcloud
image: lscr.io/linuxserver/nextcloud:33.0.3-ls428
ports:
- containerPort: 80
envFrom:
- secretRef:
name: cloud-nextcloud
volumeMounts:
- name: config
mountPath: /config
- name: custom-apps
mountPath: /app/www/public/custom_apps
- name: documents
mountPath: /documents
- name: pictures
mountPath: /pictures
- name: games
mountPath: /games
- name: it
mountPath: /IT
- name: ebooks
mountPath: /ebooks
- name: data
mountPath: /data
Which is the k3s equivalent of this docker-compose snippet:
nextcloud:
image: lscr.io/linuxserver/nextcloud:33.0.3-ls428
healthcheck:
test: ["CMD", "curl", "https://wolkje.heijlond.com/index.php/login"]
timeout: 2s
interval: 30s
retries: 1
environment:
- PUID=2008
- PGID=2008
- TZ=Europe/London
depends_on:
- redis
volumes:
<same mounts>
Container logs
I am working on a way of saving logs to be able to check/paste them. But the previous bug report linked contains logs etc.
- 主要言語
- Dockerfile
- スター
- 888
- フォーク
- 139
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxserver/docker-nextcloud のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linuxserver/docker-nextcloud#544 · コメント 3 件 ·
-
no-issue-activity
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
linuxserver/docker-nextcloud#538 · コメント 8 件 ·
linuxserver/docker-nextcloud の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
simonw/sqlite-utils#872 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
danielmiessler/LifeOS#2215 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sympozium-ai/sympozium#627 ·