Giter Site home page Giter Site logo

exited with code 73 about django-celery-beat HOT 6 CLOSED

celery avatar celery commented on July 17, 2024
exited with code 73

from django-celery-beat.

Comments (6)

mheppner avatar mheppner commented on July 17, 2024

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.

 avatar commented on July 17, 2024

if celerybeat.pid existence, it return exit code 73,

from django-celery-beat.

mheppner avatar mheppner commented on July 17, 2024

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.

 avatar commented on July 17, 2024

@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.

 avatar commented on July 17, 2024

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.

mheppner avatar mheppner commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.