s3ninja: pthread_create failed (EPERM) when I try to start version 8.0.0 and latest from docker-compose
Hello everyone I am trying to start s3ninja through docker-compose, precisely the latest version and 8.0.0, but I have the following problem:
s3-ninja | [0.014s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
s3-ninja | [0.015s][error ][gc,task ] Failed to create worker thread
If I try an older version instead I can’t upload files through the ui (I’m talking about version 6)
my docker-compose:
version: "3.7"
services:
file-storage-app:
restart: unless-stopped
container_name: ${SERVICE_NAME}_${ENV}_${PREFIX}
build: .
ports:
- ${PORT}:${PORT}
ninja:
container_name: s3-ninja
image: scireum/s3-ninja:8.0.0 #latest
restart: always
ports:
- 9444:9000
tmpfs:
- "/home/sirius/data/${NINJA_BUCKET}/:uid=2000,gid=2000"
networks:
default:
name:
net_${ENV}_${PREFIX}_backend
docker:
docker-compose version 1.29.2
Docker version 20.10.3
OS:
Fedora 36
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 15 (1 by maintainers)
Commits related to this issue
- Update Base Image to fix arm64 build (closes: #205) — committed to scireum/s3ninja by deleted user 4 years ago
- Merge pull request #210 from scireum/jge/bugfix/205 Update Base Image to fix arm64 build (closes: #205) — committed to scireum/s3ninja by jakobvogel 4 years ago
Thankyou everyone in this thread! For anyone else running into this issue in kubernetes using old docker runtime, to debug this issue try using:
Indeed, that fixed it for me 🙂
more information on that issue: https://github.com/adoptium/containers/issues/215#issuecomment-1142046045
or short: update your docker 😃
found the problem, working on a fix