// troubleshooting guide · nextcloud

Why Is Nextcloud So Slow?

Status
Workaround available
platforms:
Self-hosted
updated:
November 16, 2026
reports:
3
Method
how we research
Share

RUNBOOK · nextcloud/slow-performance5 FIXES

// quick answer

Slow Nextcloud is usually missing memory cache, untuned OPcache, SQLite or a PHP-FPM pool that is too small. Enable APCu/Redis, switch to MariaDB or PostgreSQL and use system cron.

Most likely fix: Enable memory caching

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Enable memory caching

    1. 01Install APCu and/or Redis
    2. 02Configure memcache.local and memcache.locking in config.php
    3. 03Check Administration settings > Overview for warnings
    Did this fix it?
  2. FIX 2Tune PHP and OPcache

    1. 01Set opcache.save_comments=1
    2. 02Raise opcache.memory_consumption if the admin panel warns above 90% use
    3. 03Use dynamic PHP-FPM mode and size pm.max_children from RAM divided by about 50-100 MB per worker
    4. 04Reload PHP-FPM
    Did this fix it?
  3. FIX 3Use a real database

    1. 01Migrate from SQLite to MariaDB, MySQL or PostgreSQL
    2. 02Tune the database for your hardware
    3. 03Move transactional file locking to Redis
    Did this fix it?
  4. FIX 4Switch background jobs to system cron

    1. 01Open Administration settings > Basic settings
    2. 02Select Cron
    3. 03Add the cron job for www-data every 5 minutes
    Did this fix it?
  5. FIX 5Keep logging sane

    1. 01Set loglevel to 2 (WARN)
    2. 02Set debug to false in config.php
    Did this fix it?

Symptoms

Slow page loads, laggy file lists, slow logins and timeouts with several users.

Why it happens

  • C-01No memory caching configured
  • C-02SQLite as the database
  • C-03PHP-FPM pm.max_children left at the low default of 5
  • C-04OPcache limits exceeded
  • C-05AJAX or webcron instead of system cron
  • C-06debug on or verbose loglevel

// this guide also covers

  • why is nextcloud so slow
  • nextcloud slow performance
  • nextcloud slow web interface

Still not working?

If Nextcloud keeps failing, you're not alone. See every Nextcloud problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Nextcloud Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All slow, laggy or resource-hungry guides →

Other Nextcloud errors

All 10 Nextcloud errors and fixes →