Does Phusion Passenger reboot when I touch restart.txt

Will it complete all current requests before restarting?

+6
ruby-on-rails passenger
source share
2 answers

I get the impression that each application instance for each user dies AFTER processing the request instead of restarting BEFORE the subsequent request by clicking on the restart.txt button. Thus, in each passenger there is a latency of one request. When the process ends and the application developer simply creates a new instance, I would not call it "elegant."

This means that the next request to one instance of your application will be answered with this version of the instance, which then terminates (after completing its work). Current current requests will not be killed.

+2
source share

Short answer: yes!

In fact, this will allow the current request to complete and serve a new request with the new version. I am trying to find a link to this, but at the moment I can not find.

+4
source share

All Articles