Skip to content

80MB/s persisted disk scan #46256

Closed as not planned
Closed as not planned

Description

@octo-kumo

Description

opencode is continuously scanning my disk at 80MB/s, destroying my SSD

3888742   be/4 yun        106.53 M/s    0.00 B/s ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣷⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  opencode

Plugins

None

OpenCode version

1.18.25

Steps to reproduce

  1. open a repo with a total size of 31GB and total file count of 2.37 mil
  2. turn off opencode's snapshot system
  3. start opencode, no prompt is needed
  4. see opencode doing 80MB/s reads as long as its open

Screenshot and/or share link

Image

Operating System

Nobara 44

Terminal

Konsole

Activity

  1. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

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

    The workaround mentioned in #32511 may help while this is being investigated:

    OPENCODE_DISABLE_FFF=1 opencode ...
    

    This disables the fff file-search engine and falls back to ripgrep, skipping the aggressive content-indexing scan. Placing a .ignore file at the project root (as described in #37740) is another option to prune what fff indexes.

  2. octo-kumo commented on Aug 30, 2026

    @octo-kumo
    Author

    OPENCODE_DISABLE_FFF=1 does solve the read problem, is there an global option to disable it?

  3. SeeleVolleri commented on Sep 8, 2026

    @SeeleVolleri

    I have the exact same issue.
    This is Nonsense function! Why the hell it tries to scan all my files especially it's aosp?!

    Image Image
  4. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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