Git Product home page Git Product logo

Comments (8)

dentarg avatar dentarg commented on August 31, 2024 2

This is probably happening due to ddollar/foreman#779 in foreman, that's address by this PR: ddollar/foreman#780 – that PR has been released in an foreman fork called overman

from rerun.

alanrubin avatar alanrubin commented on August 31, 2024

I'm experiencing the same issue - any ideas on how to fix that ? I have tried multiple options for rerun (such as --signal KILL) but could not find any solution for it.

from rerun.

alexch avatar alexch commented on August 31, 2024

Sorry, I haven't worked on this issue yet... What version of foreman are
you using?

I would think --signal KILL would do it -- or even the normal TERM --
but a quick google shows other people are having trouble with foreman not
restarting its subprocesses gracefully...

On Wed, Jan 1, 2014 at 3:52 AM, Alan Rubin [email protected] wrote:

I'm experiencing the same issue - any ideas on how to fix that ? I have
tried multiple options for rerun (such as --signal KILL) but could not find
any solution for it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-31421881
.

Alex Chaffee - [email protected]
http://alexchaffee.com
http://codelikethis.com
http://twitter.com/alexch

from rerun.

alpemaca avatar alpemaca commented on August 31, 2024

Same issue here. My foreman version is 0.63.0

Hope it helps!, thanks

from rerun.

alexch avatar alexch commented on August 31, 2024

Here's the relevant code: https://github.com/alexch/rerun/blob/master/lib/rerun/runner.rb#L218-L241

It looks like foreman is responding to SIGINT by sending SIGKILL to all its children. But it takes longer than 2 seconds for the children to die (how morbid!) so we escalate to sending SIGKILL and restart forecefully. Yeah, maybe increasing the SIGINT timeout would do it.

I'll bump up both timeouts to 5 seconds and push to master; you can then clone it locally and run rake install and see if that's enough.

A better solution would be to expand the --signal semantics to something like this:

--signal TERM:4,INT:2,KILL

which would do the current logic.

from rerun.

Dakta avatar Dakta commented on August 31, 2024

Stable Mac gems for rerun (0.10.0) and foreman (0.60.0) appear to still manifest this issue. Should those gems be more recent?

from rerun.

baelter avatar baelter commented on August 31, 2024

Seeing this on ubuntu 7 years later :(

from rerun.

mculp avatar mculp commented on August 31, 2024

ha, same problem on overmind :[

from rerun.

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.