Problem getting Passenger Enterprise Rolling restarts to work.

72 views
Skip to first unread message

Graham Glass

unread,
Mar 27, 2013, 6:59:07 PM3/27/13
to phusion-...@googlegroups.com
Hi everyone,

We just purchased a license of Passenger Enterprise because we want the rolling restarts feature to avoid our website freezing for 10-20 seconds during restart.
We installed Enterprise 3.0.19 and removed the previous open source gems to avoid confusion.
We're using Apache2, Ruby 1.8.7, Rails 2.3.4, and added this to the config file:

# Passenger
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-enterprise-server-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-enterprise-server-3.0.19
PassengerRuby /usr/local/bin/ruby
PassengerPoolIdleTime 0
PassengerMaxPoolSize 20
PassengerMaxInstancesPerApp 20
PassengerMaxRequests 15000

We ran it on a staging server, then fired up two browsers and started to access the application, which in turn caused 6-7 copies of the application process to be started by Passenger. But when we did a "touch tmp/restart.txt" to restart the application and test rolling restarts, the application froze on both browsers for 10-20 seconds, just like it did on the open source version of Passenger.

Do we need to configure some kind of setting to enable rolling restarts?
It's important for us to get this feature working, otherwise we'll just revert to the open source version of Passenger.

Thanks!
Graham Glass

Graham Glass

unread,
Mar 27, 2013, 7:09:26 PM3/27/13
to phusion-...@googlegroups.com
Oops, we figured it out, we just needed to add a new configuration option:

PassengerRollingRestarts on

Cheers,
Graham

Hongli Lai

unread,
Mar 27, 2013, 7:21:50 PM3/27/13
to phusion-...@googlegroups.com
Hi Graham, good that you've already figured it out. :) Enterprise
customers should email sup...@phusion.nl for fastest response.
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phusion-passen...@googlegroups.com.
> To post to this group, send email to phusion-...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/phusion-passenger?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Graham Glass

unread,
Mar 27, 2013, 7:24:24 PM3/27/13
to phusion-...@googlegroups.com
Thanks!!
Reply all
Reply to author
Forward
0 new messages