Comments (6)
You'll have to isolate the issue and figure out which part is actually causing the exit code. Exit code 73 usually means: can't create (user) output file
. However, it's not clear what exactly you're reporting here...are you asking what is causing the strange exit code, or are you asking why celerybeat doesn't delete it's pid?
from django-celery-beat.
if celerybeat.pid existence, it return exit code 73,
from django-celery-beat.
Can you clarify why you think that's an error with django-celery-beat
?
Regardless, this is a pretty big stack that you haven't given us much info about. What base images are you using? Docker engine version? Celery & Python versions?
How are you stopping the Docker container? If you use kill
, that's a hard kill command to the container and Celery beat probably doesn't know about it. Try using stop
, which should actually send a command to Celery beat and let it clean itself up.
from django-celery-beat.
@mheppner
my dear friend
thank you for reply
i used https://github.com/shipyard/shipyard stop|restart my Docker container,
when is used https://github.com/shipyard/shipyard restart celery_beat container, it return exit code 73, celerybeat.pid existence
from django-celery-beat.
i think maybe we can :
celerybeat.pid content is a Unix Time Stamp,
when celery beat running, every 60 seconds, we rewrite celerybeat.pid , write now Unix Time Stamp,
so , every time, we running celery beat ,if celerybeat.pid existence,we read celerybeat.pid content, if content more than 60 seconds, we know, last time, celery beat abnormal exit,then we update celerybeat.pid content,
Please forgive me for my poor English
from django-celery-beat.
You'll need to isolate where this is happening. Try launching your docker manually and send a stop command vs a kill command. You still haven't narrowed down what the issue is you're having with this project, or even Celery itself for that matter. This shouldn't be reported as an issue here, you should be going to the mailing list instead to ask for help.
With that being said, your celerybeat.pid file is the process ID, not a timestamp. I've never seen a pid file contain a timestamp before.
from django-celery-beat.
Related Issues (20)
- The celery beat is not syncing and you need to manually restart it to reflect changes! HOT 3
- SCHEDULER Time display issue
- Custom schedule type is not being used
- django 5.0 HOT 24
- CrontabSchedule uniqueness HOT 3
- celery beat_schedule can not automove HOT 1
- schedule task HOT 1
- (Django 5.0.1) AttributeError at /admin/django_celery_beat/crontabschedule/add/ HOT 3
- can I reduce number of beats? HOT 1
- I think there is no longer a need for `self.celery_app.loader.import_default_modules()` in the admin HOT 7
- Received unregistered task of type <app.tasks.function_name> HOT 1
- Rethinking total_run_count reset for one-off tasks in is_due HOT 1
- Add `sphinxcontrib-django` to docs extensions
- Error in logfile HOT 3
- Getting RuntimeWarning with django-celery-beat==2.6.0, django==5.0.3 HOT 7
- Admin: show tasks for each schedule
- Scheduled tasks not running despite showing in beat config HOT 1
- Invalid crontab is created, but breaks database scheduler
- migration returns error HOT 1
- Logging system exception when celery beat can not connect to redis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-celery-beat.