Skip to content

global update throw too many open files error #6246

Closed

Description

@XhstormR

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

Commands I ran and their output:

└──❯ pixi clean cache -y -v
INFO: Folder "/Users/leo/Library/Caches/rattler/cache" was already clean.
└──❯ pixi global update
✔ Environment fish was already up-to-date.
✔ Environment 7zip was already up-to-date.
✔ Environment aria2 was already up-to-date.
Error:   × failed to lock '/Users/leo/Library/Caches/rattler/cache/repodata/8720a3f8.shards-cache-v1'
  ╰─▶ Too many open files (os error 24)

└──❯ pixi global update
✔ Environment fish was already up-to-date.
✔ Environment 7zip was already up-to-date.
Error:   × failed to collect prefix records from '/Users/leo/.pixi/envs/aria2'
  ╰─▶ failed to read directory `/Users/leo/.pixi/envs/aria2/conda-meta`: Too many open files (os error 24)
  help: try `pixi clean` to reset the environment and run the command again

pixi info output:

└──❯ pixi info
System
------------
       Pixi version: 0.70.0
        TLS backend: rustls
           Platform: osx-arm64
   Virtual packages: __unix=0=0
                   : __osx=26.5=0
                   : __archspec=1=m4
          Cache dir: /Users/leo/Library/Caches/rattler/cache
       Auth storage: /Users/leo/.rattler/credentials.json
   Config locations: /Users/leo/.pixi/config.toml

Global
------------
            Bin dir: /Users/leo/.pixi/bin
    Environment dir: /Users/leo/.pixi/envs
       Manifest dir: /Users/leo/.pixi/manifests/pixi-global.toml

Issue description

After clearing all Pixi caches, performing a global update to Pixi will result in an Too many open files (os error 24) error. The pixi-global.toml file defines 54 tool environments.

Expected behavior

After clearing all Pixi caches, a global update of Pixi can be successfully performed.

Activity

  1. added
    bug
    on Jun 1, 2026
  2. added a commit that references this issue on Jun 2, 2026
    60a52e6
  3. Hofer-Julian commented on Jun 2, 2026

    @Hofer-Julian
    Member

    @XhstormR please let us know if you still encounter this problem after the next Pixi release

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions