Skip to content

Text file busy (os error 26) due to race condition in SVM when doing multiple installations #4736

Open
@frolic

Description

@frolic

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

nightly

What command(s) is the bug in?

forge build

Operating System

Linux

Describe the bug

Our monorepo has a bunch of packages, each using foundry nightly in CI (via foundry-rs/foundry-toolchain@v1). Each of these use forge build in their build step and we recently tried to turn on parallel builds (via pnpm), but it failed with

Text file busy (os error 26)

The logs weren't specific about where this was coming from, but I later saw a log line that mentioned solc-0.8.13:

image

Unclear if this is a foundry issue or solc issue, but it originates from forge build, so I'm starting here.

Ultimately would like to be able to run forge build for multiple foundry projects in parallel. Is this an issue with some sort of global cache? Or strictly just a ulimit thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions