Giter Site home page Giter Site logo

Can't kill zombie process about heroku-local HOT 6 OPEN

heroku avatar heroku commented on June 12, 2024
Can't kill zombie process

from heroku-local.

Comments (6)

lastobelus avatar lastobelus commented on June 12, 2024

I have a similar issue. If I run heroku local, when I kill it (ex: with ctrl-c in the terminal where it is running) it often leaves zombie one or more of the processes specified in the Procfile.

from heroku-local.

lastobelus avatar lastobelus commented on June 12, 2024

A little more testing: only the web process gets orphaned (not a zombie), and it happens every time.

Here is my Procfile:

web: bundle exec rails s
webpacker: ./bin/webpack-dev-server

for Rails 5.1 app.

Every time I quit heroku local it leaves a ruby process running owned by a node process. I guess they're not zombies but the node process is an orphan, and owns the ruby process.

So every time I need to restart rails locally, I have to look for both the ruby & node processes & kill them. However I can't kill them with kill or kill -9 I have to use Activity Monitor and force quit them.

from heroku-local.

jdx avatar jdx commented on June 12, 2024

@lastobelus are you on the latest version (6.13.13)? I think we resolved this issue

from heroku-local.

yoeriboven avatar yoeriboven commented on June 12, 2024

Same problem here. Local server still runs after stopping it with Ctrl-C.
Only a web: process in the Procfile.

The others are shown with the ps aux |grep php-fpm command.
I'm on heroku-cli/6.14.13-6ab5022 (darwin-x64) node-v8.4.0.

from heroku-local.

lastobelus avatar lastobelus commented on June 12, 2024

not happening any more for me on latest version.

from heroku-local.

marckohlbrugge avatar marckohlbrugge commented on June 12, 2024

I'm experiencing the same issue on heroku-cli/6.16.3-4239951 (darwin-x64) node-v9.9.0

from heroku-local.

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.