{"action":"closed","issue":{"url":"https://api.github.com/repos/plack/Plack/issues/327","labels_url":"https://api.github.com/repos/plack/Plack/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/plack/Plack/issues/327/comments","events_url":"https://api.github.com/repos/plack/Plack/issues/327/events","html_url":"https://github.com/plack/Plack/issues/327","id":6737961,"number":327,"title":"Restarter doesn't kill the right process","user":{"login":"jspin","id":2308270,"avatar_url":"https://avatars.githubusercontent.com/u/2308270?v=3","gravatar_id":"","url":"https://api.github.com/users/jspin","html_url":"https://github.com/jspin","followers_url":"https://api.github.com/users/jspin/followers","following_url":"https://api.github.com/users/jspin/following{/other_user}","gists_url":"https://api.github.com/users/jspin/gists{/gist_id}","starred_url":"https://api.github.com/users/jspin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspin/subscriptions","organizations_url":"https://api.github.com/users/jspin/orgs","repos_url":"https://api.github.com/users/jspin/repos","events_url":"https://api.github.com/users/jspin/events{/privacy}","received_events_url":"https://api.github.com/users/jspin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2012-09-08T21:39:04Z","updated_at":"2015-10-23T15:52:37Z","closed_at":"2015-10-23T15:52:37Z","body":"Hi, I just updated to v1.0003 and am still experiencing an issue similar to #223.\n\nhere's how I'm launching the app and what it reports afterward:\n> /usr/local/bin/plackup -s FCGI --port 8088 --host 127.0.0.1 -R lib -D bin/plack-responder.psgi &\nFastCGI daemon started (pid 21614)\n\n> ps -ef | grep fcgi\nec2-user 21614     1  0 14:14 ?        00:00:00 perl-fcgi-pm\nec2-user 21615 21614  0 14:14 ?        00:00:00 perl-fcgi\n\n( then when I update a module)\n\n-- /web/live/lib/XXX/App/Main/List.pm updated.\nKilling the existing server (pid:20722)\nSuccessfully killed! Restarting the new server process.\nbind/listen: Address already in use\n-- /web/live/lib/XXX/App/Main/List.pm updated.\nKilling the existing server (pid:21611)\nSuccessfully killed! Restarting the new server process.\n-- /web/live/lib/XXX/App/Main/List.pm updated.\n-- /web/live/lib/XXX/App/Main/List.pm updated.\nKilling the existing server (pid:20728)\nSuccessfully killed! Restarting the new server process.\nKilling the existing server (pid:20725)\nSuccessfully killed! Restarting the new server process.\nbind/listen: Address already in use\nbind/listen: Address already in use\nbind/listen: Address already in use\n\n(which process id's are running now?)\n> ps -ef | grep fcgi\nec2-user 21614     1  0 14:14 ?        00:00:00 perl-fcgi-pm\nec2-user 21615 21614  0 14:14 ?        00:00:00 perl-fcgi\n\nnone of the pid's supplied in the \"Killing the existing server\" message are correct.  as you can see, the original pids are still running.\n\nanother thing I noticed compared to v0.9985, although fairly minor, is that it tries 3x instead of 2 to kill/restart and the updated module is listed twice on the 2nd attempt.\n\nunless I'm launching the app incorrectly, this appears to be a bug.\n\nthanks for looking\n-Joe"}}