[BUG] High CPU usage at random moments
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- docker
- Área
- devops, infrastructure
Línea de trabajo
Comienza con el issue vinculado 536 y recopila los registros de los contenedores durante una nueva aparición utilizando el manifiesto de k3s proporcionado o un equivalente de Docker. Se considera terminado cuando se identifica un desencadenante o una causa reproducible del aumento de CPU y se valida un fix que mantenga Nextcloud disponible.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Dockerfile
- Estrellas
- 888
- Forks
- 139
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de linuxserver/docker-nextcloud
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
linuxserver/docker-nextcloud#544 · 3 comentarios ·
-
no-issue-activity
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
linuxserver/docker-nextcloud#538 · 8 comentarios ·
Todos los issues de linuxserver/docker-nextcloud
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
copse-dev/agent-pane#2953 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
simonw/sqlite-utils#872 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
danielmiessler/LifeOS#2215 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sympozium-ai/sympozium#627 ·