procodile icon indicating copy to clipboard operation
procodile copied to clipboard

Puma process/server didn't stops after procofile stop (production) or ctrl-c (--dev)

Open ghost opened this issue 6 years ago • 2 comments

Hi! Here is a simple sinatra app with puma as a server: https://github.com/vfreefly/simple_app Procfile from app: web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}

Environment: ubuntu 16.04 Steps to reproduce:

git clone https://github.com/vfreefly/simple_app.git
cd simple_app

rbenv local 2.5.1
gem install procodile

bundle install
procodile start
procodile stop

After these steps app still works on localhost:3000 and puma process is still alive:

Btw, in case of foreman or heroku local all is fine and app with puma stops correctly. Looks like procofile incorrectly determines puma's real process pid.

ghost avatar May 23 '18 09:05 ghost

Hi,

I had the same issue, have you fix it in any way ?

brunow avatar Oct 01 '18 15:10 brunow

I see that child processes are not getting killed.

antonyr avatar May 14 '19 06:05 antonyr