-
-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dramatiq worker stuck at Dramatiq '0.14.0' is booting up. #18
Comments
Are you running it in Docker via Docker-for-mac by any chance? I've run into the same issue because inotify doesn't seem to work correctly under DFM: https://dramatiq.io/cookbook.html#watching-for-source-changes-in-docker-for-mac If that's the case, I'll add support for using the poll file watcher to |
I noticed this issue on docker-for-mac a while ago... but because things were a bit slow, i switched to using vagrant. |
What do you use to share folders between the host and the Vagrant machine? NFS and Samba would both have the same issue as DFM so I'm assuming it's one of those... Either way, I'll add that flag to I'll have to see if there's a good way to detect whether or not inotify will work and downgrade to polling in cases it doesn't, but the flag should be good enough for now. |
I did not configure the synced folders for vagrant to use anything special so i am using the default mode, which is virtualbox's shared folders. Not sure about the details there. |
I've added |
Thanks... things are back to normal now with the polling watcher. However, it's using considerably more CPU... but i think it's a compromise that one has to make with vagrant and docker-for-mac. |
@rakanalh I was wrong about the root cause here. The issue was actually the fact that |
Cool... thanks for the heads up. I'll upgrade and report issues if any. |
I am experiencing a strange behavior when running dramatiq worker using django:
The log prints out:
But no "workers" announce their readiness (according to the code, they should).
Pressing ctrl-c causes the worker to become ready.
Note: i have 1088 tasks in my database some of them are being retried while others are queued for processing. Not sure if that helps debugging this issue.
The text was updated successfully, but these errors were encountered: