Skip to content

High CPU Usage in WSL when using Web #40949

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

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