Why starman / plackup don't recommend option -r

812 views Asked by At

I want to start starman with option -r to upgrades source code without to restart server.

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!

My question is what is the reason for the follwing statement : "STRONGLY discouraged to use with Starman" . Can I use option -r starmann in production ?

0

There are 0 answers