Skip to content

Opencode crashed when there are too many agents or sub-agents #1840

Closed

Description

@MilesNorton

I have agents in my main projects and then also in my machines config file.

I've just been experimenting and found that when you have too many it crashes with the following:

INFO  2025-08-12T01:39:22 +0ms service=app name=agent registering service
INFO  2025-08-12T01:39:22 +1ms service=app name=lsp shutdown
ERROR 2025-08-12T01:39:22 +5ms service=default name=Error message=E2BIG: argument list too long, posix_spawn '/home/miles/.cache/opencode/tui/tui-01t78spt.' fatal

Activity

  1. thdxr commented on Aug 12, 2025

    @thdxr
    Member

    should be fixed now

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

Metadata

Metadata

Assignees

No one assigned

    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