Skip to content

Web session freezes, unresponsive, opencode at 100% CPU #14344

@mhart

Description

@mhart

Description

Running opencode web. There's a particular session that seems to cause this. It was going very slow for a long time, and now when I try to get it to continue it just freezes, making the web server unresponsive (doesn't respond to health pings, etc). In Activity Monitor I can see the opencode process using 100% CPU.

When running with --print-logs --log-level DEBUG this is the final output:

INFO  2026-02-19T22:39:09 +0ms service=tool.registry status=completed duration=1 skill
INFO  2026-02-19T22:39:09 +0ms service=tool.registry status=completed duration=2 task
INFO  2026-02-19T22:39:09 +14ms service=session.prompt status=completed duration=19 resolveTools

And that's where it freezes.

Plugins

No response

OpenCode version

1.2.7

Steps to reproduce

Unclear if this is easily reproducible for anyone else, only seems on one session for me at the moment.

I'm trying to debug further using the source code as we speak. Will update with findings

Screenshot and/or share link

No response

Operating System

macOS 26.3

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimizationwebRelates to opencode on web / desktop

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions