ArroyoSystems / arroyo

Distributed stream processing engine in Rust
https://arroyo.dev
Apache License 2.0
3.81k stars 222 forks source link

Failed to start test server from cmd, the error is "OS can't spawn worker thread: Operation not permitted (os error 1)" #639

Closed jiajie999 closed 4 months ago

jiajie999 commented 5 months ago

Just follow the doc from the repo to get started, then get the error like this.

➜  ~ arroyo start
Waiting for image to be available...

Pulled image sha256:411de08f2a1e30cc9458508a853dc9dd7741ad9caebac99ec0c7bd3130cb2fc7
Started container. Waiting for API to come up...

Docker container failed... see logs for details:
Reading logs
> Starting Postgres
> Waiting for Postgres to become available
> .
> Postgres is ready
> Running migrations
> CREATE ROLE
> thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:447:13:
> OS can't spawn worker thread: Operation not permitted (os error 1)
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

-------------------------------
shutting down...
mwylde commented 5 months ago

Hey @jiajie999, can you provide some more details about how you're running Arroyo? What OS / container runtime?

mwylde commented 4 months ago

Closing for now, feel free to re-open if this is still an issue.