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
SystemD unit files don't work with Celery 5 #6397
Comments
@mfonville Can you please share your Mine is (as expected):
|
celery.conf (masked the name of my django app):
And the log:
|
(with the patch from #6388 ) |
I think that your problem is due to #6362. The worker starts correctly, right? |
Even without
|
Is there something in Celery's log file that indicates why the process exited? |
No, nothing visible in the log :-/ |
Is it maybe an idea to let the the command itself report in its output the parameters it has interpreted? That way the user can verify any discrepancies. |
No. This is definitely our problem and I now know why this happens. |
I have found some problems but not the problem. I think we should take a closer look at our process detaching code. |
For future reference this command exits without error but doesn't really start the process:
Your working directory should be |
Can you please try #6401 (including the SystemD changes) and let me know? |
@thedrow yes, that fixes the last issues for me and makes Celery5 start correctly |
Checklist
master
branch of Celery.contribution guide
on reporting bugs.
for similar or identical bug reports.
for existing proposed fixes.
to find out if the bug was already fixed in the master branch.
in this issue (If there are none, check this box anyway).
Mandatory Debugging Information
celery -A proj report
in the issue.(if you are not able to do this, then at least specify the Celery
version affected).
master
branch of Celery.pip freeze
in the issue.to reproduce this bug.
Optional Debugging Information
and/or implementation.
result backend.
broker and/or result backend.
ETA/Countdown & rate limits disabled.
and/or upgrading Celery and its dependencies.
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
Environment & Settings
Celery version: 5.0.0 (singularity)
celery report
Output:Steps to Reproduce
Required Dependencies
Python Packages
pip freeze
Output:Other Dependencies
A recent version of SystemD.
Minimally Reproducible Test Case
Expected Behavior
The service should start without error.
Actual Behavior
The service crashes with the following error:
The text was updated successfully, but these errors were encountered: