Comments (8)
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.
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.
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.
Same issue here. My foreman version is 0.63.0
Hope it helps!, thanks
from rerun.
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.
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.
Seeing this on ubuntu 7 years later :(
from rerun.
ha, same problem on overmind :[
from rerun.
Related Issues (20)
- ffi incompatibility with my version of ruby on installation using gem HOT 3
- error when running "rerun" with bundle 1.14.3 HOT 1
- Bind changed file path HOT 1
- inside docker container HOT 4
- Reload on dotenv hidden files HOT 4
- Add new maintainers HOT 1
- JRuby support HOT 3
- Watching for git branch switches HOT 1
- Usage is output even when certain args are provided
- Publish Version 0.13.1 HOT 4
- [DEPRECATED] `Bundler.with_clean_env` on Bundler 2.1.x
- You cannot override wait parameter
- no rerun executable installed
- Q: how to trigger *automatic* pause/resume with debug HOT 1
- Q: is it possible to watch only one file? [SOLVED] HOT 2
- [DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env` HOT 1
- Error "undefined method `exists?' for FileTest:Module" when using the `FileTest.exists?` method HOT 1
- Use `RbConfig.ruby` to invoke ruby executable
- Crashing in Windows 10 with Ruby 3.2.1 HOT 3
- Release v0.14.1
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 rerun.