-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shutdown an application launched with bundle exec #40
Comments
#26 looks very similar to this issue. |
Having the same problem, here's my error dump CSIGINT received 21:30:52 system | sending SIGTERM to all processes /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:117:in `eof?': Input/output error - /dev/pts/2 (Errno::EIO) from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:117:in `block (2 levels) in run' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:115:in `spawn' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:115:in `block in run' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:114:in `chdir' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:114:in `run' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:102:in `block in fork_individual' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:101:in `fork' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:101:in `fork_individual' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:91:in `block in fork' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:90:in `upto' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:90:in `fork' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:59:in `block in start' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:58:in `each' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/engine.rb:58:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/lib/foreman/cli.rb:23:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch' from /usr/local/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start' from /usr/local/lib/ruby/gems/1.9.1/gems/foreman-0.18.0/bin/foreman:7:in `' from /usr/local/bin/foreman:19:in `load' from /usr/local/bin/foreman:19:in `' |
For me this the same stacktrace was caused by once of the commands in Procfile crashing b/c of incorrect configuration. Make sure all commands in Procfile can be started on their own. |
I am confirming v0.19.0 is not shutting down thin webserver, when it is run with or without bundle exec. |
I can confirm this issue with 0.19.0. A thin process started with |
I can not reproduce it on my Mac, my previous repro gist was done on Ubuntu 10.04, latest kernel. |
Reconfirmed. Thin doesn't get killed for me either upon my ^C to foreman, when run from Procfile exactly as foresth reports. |
same thing for me |
FTW, v0.20.0 shuts down thin just fine for me. Also, a very similar stacktrace came up when one of my processes daemonized and returned (foreman shut everything down). I had to make it stop daemonizing and I was in much better shape. Cheers! |
Rolling into #94 |
Hi,
I' using foreman 0.18.0 and it seems that it can't stop an application launched with bundle exec.
Example:
As you can see, the
rails server thin
is not stopped after the firstforeman start
and so fails on the second try. I think thatforeman
kills bundler but not thin. Do you think you can do something about it?The text was updated successfully, but these errors were encountered: