在Ubuntu中重新启动Puma

4

为什么在Ubuntu中我必须两次重启Puma才能正常工作?

# uname -a
Linux myapp 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

# pumactl -v
2.6.0

# pumactl -S /home/myapp/tmp/puma.state restart --config /home/myapp/config/puma.rb
Command restart sent success

[...that's not working, Puma is still running...]

# pumactl -S /home/myapp/tmp/puma.state restart --config /home/myapp/config/puma.rb
[9703] Puma starting in cluster mode...
[9703] * Version 2.6.0, codename: Pantsuit Party
[9703] * Min threads: 0, max threads: 16
[9703] * Environment: production
[9703] * Process workers: 2
[9703] * Phased restart available
[9703] * Listening on unix:///home/myapp/tmp/puma.sock
[9703] * Daemonizing...

[...ok now it worked...]

1
这里有一个类似的已关闭问题 https://github.com/puma/puma/issues/436。最新的 Puma 2.9.0 应该已经解决了它。 - raykin
1个回答

1

是的。有没有想过如何在Capistrano中使用它? - Arup Rakshit

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接