Skip to content

Too many open files when running from bindle #180

@radu-matei

Description

@radu-matei

When attempting to run a Spin application from a bindle, if there are more static assets than the total number of file handles left on the device, spin up will fail.

This can be worked around by setting ulimit to be higher on macOS, but perhaps Spin should not try to pull all of them in parallel at the same time:

Caused by:
    0: Error fetching remote parcel fermyon.com/0.1.0@f9bc1dc584e3aef90cff417b09ce98d33b9f80fe2a33da805d325639b85fb6f0
    1: Error creating request
    2: error sending request for url (http://localhost:8080/v1/_i/fermyon.com/0.1.0@f9bc1dc584e3aef90cff417b09ce98d33b9f80fe2a33da805d325639b85fb6f0): error trying to connect: tcp open error: Too many open files (os error 24)
    3: error trying to connect: tcp open error: Too many open files (os error 24)
    4: tcp open error: Too many open files (os error 24)
    5: Too many open files (os error 24)

cc @adamreese @itowlson

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions