Skip to content

opencode is using CPU for doing nothing! #19466

@Jaaaky

Description

@Jaaaky

Description

While opencode is waiting for API limit rate - actually doing nothing -

Resource has been exhausted (e.g. check quota). [retrying in 18m 12s attempt #12]

It's actually using ~50% of single core on i9-14900 CPU

Plugins

nothing

OpenCode version

1.3.3

Steps to reproduce

I was working on a project using gemini api tier 1, quickly exhausted my limit, while waiting I noticed that opencode is using this much CPU on htop.
system performance is fine, I've many applications running including browsers, but only opencode is using this much CPU

$ ps -eo pid,ppid,cmd,%cpu --sort=-%cpu | grep -E 'PID|opencode'
    PID    PPID CMD                         %CPU
  76732   76729 opencode                    47.6
  82693   76732 /usr/bin/opencode run /home  0.3

Screenshot and/or share link

No response

Operating System

archlinux, up-to-date

Terminal

konsole

Metadata

Metadata

Assignees

Labels

No labels
No labels

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