Dodgy client takes whole instance offline

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12
  • Web server and version (e.g, Apache 2.4.25):
    • apache2.4
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • manual install in a Proxmox Debian VM
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

[When a client with a dodgy Internet connection connects and attempts to sync and download videos, it’ll take the whole Nextcloud instance offline for all users.]

Steps to replicate it (hint: details matter!):

  1. Go to a festival with tons of people
  2. Connect to nextcloud
  3. Tell it to download videos

After some minutes, the instance becomes available again.

What log entries or settings should I look for?

Imo. it seems some timeout issue.

Then go through the logs which one creates the timeout. You can start with the Nextcloud logs, or server logs, php logs (if you have separate ones), database, system logs, …

The server should have a better connection than the clients. If you are on a residential internet connection and you might go through a very slow upstream connection which might block or slow down downloads for the clients.