[BUG] High CPU usage at random moments
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu với issue 536 được liên kết và thu thập log của container trong khi sự cố tái diễn bằng manifest k3s được cung cấp hoặc bản tương đương bằng Docker. Được coi là hoàn tất khi xác định được tác nhân kích hoạt hoặc nguyên nhân có thể tái hiện của mức tăng đột biến CPU và xác thực được một bản sửa lỗi giúp Nextcloud luôn khả dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Dockerfile
- Star
- 888
- Fork
- 139
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxserver/docker-nextcloud
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linuxserver/docker-nextcloud#544 · 3 bình luận ·
-
no-issue-activity
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
linuxserver/docker-nextcloud#538 · 8 bình luận ·
Tất cả issue của linuxserver/docker-nextcloud
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
copse-dev/agent-pane#2953 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
simonw/sqlite-utils#872 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
danielmiessler/LifeOS#2215 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sympozium-ai/sympozium#627 ·