Doku: Nextcloud Tuning umgesetzt, VM 101 auf 12 GB RAM.

PHP-FPM (12 Worker), APCu 128M, System-Cron aktiv; Hinweis dass
Container-Recreate für www2.conf nötig war.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-06-28 09:53:52 +02:00
parent 3b74ff4213
commit 78583e5fda
3 changed files with 20 additions and 21 deletions
+10 -10
View File
@@ -12,7 +12,7 @@ Diese Seite dokumentiert den **Ist-Zustand** nach dem CPU-Incident am 28.06.2026
```
pve1 (192.168.10.5)
└── VM 101 ubuntu (4 vCPU, 8 GB RAM, 192.168.10.10)
└── VM 101 ubuntu (4 vCPU, **12 GB RAM**, 192.168.10.10)
├── Docker: nextcloud → 10.2.2.253 (docbr0)
├── Docker: nextcloud-db-1 (MariaDB)
├── Docker: nextcloud-redis-1 (Redis Alpine)
@@ -92,11 +92,12 @@ Client-Versionen (z. B. altes `mirall 3.0.3`) **verstärken** die Last durch hä
| Bereich | Status | Auswirkung |
|---------|--------|------------|
| **`notify_push` (Rust HPB)** | ❌ nicht installiert | Clients pollen weiterhin aggressiv |
| **PHP-FPM `pm.max_children`** | ⚠️ **5** (Default) | Bei wenigen gleichzeitigen Requests sofort ausgelastet |
| **APCu `apc.shm_size`** | ⚠️ **32 MB** | Nextcloud empfiehlt **≥ 128 MB** |
| **`request_terminate_timeout`** | ❌ nicht gesetzt | Hängende Worker blockieren Slots dauerhaft |
| **PHP-FPM `pm.max_children`** | ✅ **12** (seit 2026-06-28) | `www2.conf` + Container-Recreate |
| **APCu `apc.shm_size`** | **128M** | `php-local.ini` |
| **Background-Jobs** | ✅ System-Cron (5 min) | root-crontab |
| **VM RAM** | **12 GB** | `qm set 101 -memory 12288` |
| **Separates Redis für notify_push** | ❌ | Optional, erst relevant mit HPB |
| **`notify_push` (Rust HPB)** | ❌ nicht installiert | Clients pollen weiterhin aggressiv |
| **Preview-/Scan-Jobs** | ❓ ungeprüft | Bei 93 TB NFS potenziell sehr teuer |
### PHP-FPM (Container-Default)
@@ -241,10 +242,9 @@ cd /opt/stacks/nextcloud && docker compose ps
Details und Befehle: **[migration/nextcloud-optimierung-und-updates.md](../migration/nextcloud-optimierung-und-updates.md)**
Freigabe Phase F+G: **[migration/nextcloud-tuning-freigabe.md](../migration/nextcloud-tuning-freigabe.md)**
- [ ] Backup + Image-Tag pinnen + Minor 34.0.1
- [ ] PHP-FPM `www2.conf` anpassen und Container restart
- [x] PHP-FPM `www2.conf` angepasst + Container recreate
- [x] `apc.shm_size` auf 128 MB
- [x] System-Cron für `occ background:cron` eingerichtet
- [x] VM-RAM 12 GB
- [ ] `notify_push` PoC (App + Sidecar + NPM-Route)
- [ ] `apc.shm_size` auf 128 MB
- [ ] System-Cron für `occ background:cron` einrichten
- [x] `db:add-missing-indices` (2026-06-28)
- [ ] Nach Änderungen: Nginx-Access-Log auf Polling-Frequenz prüfen
+1 -1
View File
@@ -15,7 +15,7 @@ Details: [05_speicher_wartung.md](05_speicher_wartung.md)
| VMID | Name | Status | Rolle |
|------|------|--------|-------|
| 101 | ubuntu | running | Docker-Host (Nextcloud, Gitea, NPM, …) — siehe [06_ubuntu-vm-nextcloud.md](06_ubuntu-vm-nextcloud.md) |
| 101 | ubuntu | running | Docker-Host (Nextcloud, Gitea, NPM, …) — **12 GB RAM**, siehe [06_ubuntu-vm-nextcloud.md](06_ubuntu-vm-nextcloud.md) |
| 104 | opnsense-fallback | running | CARP-Backup zu pve2:104 (parallel, advskew 100) |
Konfiguration: `/etc/pve/qemu-server/104.conf`