为什么starman / plackup不推荐选项-r

时间:2014-11-11 19:38:28

标签: perl starman

我想启动starman,选项-r升级源代码而不重启服务器。

starman --workers 32 --port 8080 -r mytest.psgi 
!!
!! Using restarter with -r or -R options is known to cause issues with process supervisor
!! such as start_server, and it is STRONGLY discouraged to use with Starman. You have been warned.
!!
Watching ./lib mytest.psgi for file updates.
2014/11/11-20:28:00 Starman::Server (type Net::Server::PreFork) starting! pid(28380)
Resolved [*]:8080 to [0.0.0.0]:8080, IPv4
Binding to TCP port 8080 on host 0.0.0.0 with IPv4
Setting gid to "1000 1000 24 25 27 29 30 44 46 103 104 107 108 900 1000"
^C2014/11/11-20:28:01 Server closing!

我的问题是下列陈述的原因是什么:"强烈建议不要使用Starman" 。我可以在生产中使用选项-r starmann吗?

0 个答案:

没有答案