Skip to content

High CPU Usage & FileWatcher TimeoutError on Startup (Opencode Desktop) #23009

Closed as not planned

Description

@Asukate

Description

When launching opencode-desktop, the application immediately consumes excessive CPU resources, even when no project or workspace is loaded. Terminal logs show the file.watcher service timing out while attempting to subscribe to /home/USER and the root directory /. NOTE: this is on a high end system with a 7800X3D cpu, and its by far the most taxing IDE/agent that ive tested, this does not happen with Cursor, codex or antigravity. The CPU usage does not go down with time, 30 minutes can go by and it will still be using significant CPU resources and keep fans running.

Plugins

n/a

OpenCode version

1.4.6-1 (Installed via AUR: opencode-desktop-bin)

Steps to reproduce

  1. Open Terminal
  2. Run opencode-desktop
  3. Observe TimeoutError in logs and immediate CPU spike in system monitor.

Screenshot and/or share link

Image Image

Image Note that my root / shows as a recent project opened (never created one at root or home)

Image memory leak maybe? too much ram usage for a program thats supposed to be at idle.

Operating System

Linux 6.19.11-arch1-1

Terminal

Konsole

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on Apr 17, 2026
  2. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. Asukate commented on Apr 17, 2026

    @Asukate
    Author

    This issue might be a duplicate of existing issues. Please check:

    Not the same issue, none mention file indexing the root directory or filewatcher timeout. Not duplicated.

  4. NicolasSFPD commented on Apr 17, 2026

    @NicolasSFPD

    I have the same behaviour (using opencode desktop 1.4.7).

    As soon as I launch OpenCode desktop; it's sub-process "opencode-cli" burns one CPU constantly.
    And I also have the sidecar error logs for several folders (might mean the CPU load is related to file.watcher mechanism, but unsure).

    For info, the folders for which it gives that file.watcher TimeoutError:

    • $HOME
    • $HOME/development/git/myFirstRepo
    • $HOME/development/git/mySecondRepo
    • $HOME/development/git/myFirstRepo/.git
    • $HOME/development/git/mySecondRepo/.git

    Its Also worth noting that if I launch "opencode-cli" directly (not the desktop version) for one of my repos, I do not have that issue.

    For more context, I'm using Fedora 43 with KDE.

  5. Asukate commented on Apr 17, 2026

    @Asukate
    Author

    I have the same behaviour (using opencode desktop 1.4.7).

    As soon as I launch OpenCode desktop; it's sub-process "opencode-cli" burns one CPU constantly. And I also have the sidecar error logs for several folders (might mean the CPU load is related to file.watcher mechanism, but unsure).

    For info, the folders for which it gives that file.watcher TimeoutError:

    • $HOME
    • $HOME/development/git/myFirstRepo
    • $HOME/development/git/mySecondRepo
    • $HOME/development/git/myFirstRepo/.git
    • $HOME/development/git/mySecondRepo/.git

    Its Also worth noting that if I launch "opencode-cli" directly (not the desktop version) for one of my repos, I do not have that issue.

    For more context, I'm using Fedora 43 with KDE.

    Also using KDE. Would be nice to know if anyone else using linux with the same or another DE is having these issues.

  6. removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on May 3, 2026
  7. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions