Skip to content
Discussion options

You must be logged in to vote

Hmm so the Celery worker is hanging during startup, before it becomes an actual Celery node. Again ChatGPT:

Try this exact command:

s6-setuidgid paperless /usr/local/bin/celery --app paperless worker --loglevel DEBUG --without-mingle --without-gossip --pool=solo --concurrency=1

If --pool=solo starts normally, that points toward the prefork/billiard worker pool hanging in this Kubernetes/container environment. If --pool=solo also hangs before output, then the hang is earlier in worker initialization.

It would also be useful to see where the stuck worker process is blocked:

ps -o pid,ppid,stat,wchan:32,etime,cmd -p 234
ls -l /proc/234/fd | head -50
cat /proc/234/stack 2>/dev/null || true

I…

Replies: 7 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@shamoon
Comment options

Comment options

You must be logged in to vote
3 replies
@shamoon
Comment options

@jeroenrnl
Comment options

@shamoon
Comment options

Comment options

You must be logged in to vote
1 reply
@shamoon
Comment options

Answer selected by jeroenrnl
Comment options

You must be logged in to vote
2 replies
@shamoon
Comment options

@shamoon
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants