-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Puma won't restart sometime after deploy #243
Comments
I have similar issue (one server only). On first deploy after changes, restart fails when command In
|
A bit more info on why this is failing: Where there is a process running/(pid file exists) then line 68 is called, which fails where it try to call capistrano-puma/lib/capistrano/tasks/puma.rake Lines 66 to 72 in 220e81c
|
…ready-started #243 Fix restart task, pumactl don't call bundle exec on restart
Puma: 3.8.2
capistrano3-puma: 3.1.1
My system configuration contains 3 servers, there's always one or two servers, in which Puma won't restart after deployment. Though, the deployment log says
Command restart sent success
.Then, I logged in to all servers, and ran
ps aux | grep puma
. The output was weird.Server 1: puma works fine, restarted successfully at
10:06
with release20170726095950
Server 2: Same as server 1, puma works fine, restarted successfully at
10:06
with release20170726095950
Server 3: Two of the clusters stopped (Didn't restart at all), still pointing at old release
20170726080157
This is causing all requests that are directed to this server to timeout with error code HTTP 408.
I've also tried
cap production puma:stop
followed bycap production puma:start
, but it's still not working. I had to exlicitly kill the all the old processes withkill -9 PIDs
, and then sendcap production puma:start
Any idea why this is happening?
The text was updated successfully, but these errors were encountered: