// troubleshooting guide · zed

Zed Too Many Open Files Error on Linux

Status
Fixed in latest version
platforms:
Linux
updated:
November 15, 2026
reports:
2
Method
how we research
Share

RUNBOOK · zed/too-many-open-files4 FIXES

// quick answer

Raise the inotify limits. Zed needs a watch per directory in open projects.

Most likely fix: Check limits

How to fix it

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

  1. FIX 1Check limits

    1. 01Run sysctl fs.inotify
    Did this fix it?
  2. FIX 2Raise instances

    1. 01sudo sysctl fs.inotify.max_user_instances=1024
    Did this fix it?
  3. FIX 3Raise watches

    1. 01sudo sysctl fs.inotify.max_user_watches=64000
    Did this fix it?
  4. FIX 4File descriptors

    1. 01Check ulimit and edit /etc/security/limits.conf
    Did this fix it?

Symptoms

Errors about too many open files or file watching failing.

Why it happens

  • C-01Low fs.inotify limits
  • C-02Large projects

// this guide also covers

  • zed too many open files
  • zed inotify limit

Still not working?

If Zed keeps failing, you're not alone. See every Zed 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 Zed 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 not loading, error messages & connection guides →

Other Zed errors

All 11 Zed errors and fixes →