Giter VIP home page Giter VIP logo

Comments (3)

williamstein avatar williamstein commented on August 20, 2024 3

For our application (mentioned by @haraldschilly above), we have solve this problem by using dumb-init as the parent of go-supervisord:

~$ pstree
dumb-init─┬─supervisord─┬─node─┬─4*[{V8 WorkerThread}]
          │             │      └─5*[{node}]
          │             ├─sh───node─┬─node─┬─bash───tmux
          │             │           │      ├─4*[{V8 WorkerThread}]
          │             │           │      └─2*[{node}]
          │             │           ├─4*[{V8 WorkerThread}]
          │             │           └─5*[{node}]
          │             ├─sh───sshd
          │             └─10*[{supervisord}]
          └─tmux─┬─bash
                 └─bash───pstree

It would be nice if go-supervisord also handled the pid 1 problem, like the Python supervisord does, but it's not critical for us.

from supervisord.

ochinchina avatar ochinchina commented on August 20, 2024

@haraldschilly Can you give more detailed information on the zombie issue? such as a your test supervisord configuration file.

And then I will do some test to fix your issue.

from supervisord.

rbeuque74 avatar rbeuque74 commented on August 20, 2024

I would say that launching tmux and bash that requires interractive session will cause them to instantly stop, and then will be collected by supervisord and restarted.
Can you check by multiple ps auxf that pids of bash and tmux changes everytime you runs it ?

from supervisord.

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.