Skip to content

High CPU Usage in WSL when using Web #40949

Closed as not planned
Closed as not planned

Description

@fa1rid

Description

When using OpenCode from inside WSL with web enabled, if you try to add new project from the webUI and navigate to paths under windows, then high CPU usage will kick-in and will never stop until opencode is terminated. Fan becomes high and annoying despite having high-end CPU.

Note that I have network shares in Windows mapped as network drives.

Plugins

No response

OpenCode version

1.18.13

Steps to reproduce

  1. Run opencode web from WSL. Browser will open automatically.
  2. Click the Add project icon, type /mnt then check task manager in windows and observe CPU usage.

Note that I have network shares in Windows mapped as network drives.

Screenshot and/or share link

Image Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Aug 6, 2026

    @github-actions
    Contributor

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

    Issue #36902 in particular describes the exact same root cause — browsing paths under /mnt (which resolve to Windows network drives) via the web UI while running opencode web inside WSL triggers the same CPU spike.

  2. github-actions commented on Oct 6, 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