Re: [phusion-passenger] Passenger Enterprise rolling restarts not working

218 views
Skip to first unread message

Hongli Lai

unread,
Oct 16, 2012, 9:40:44 AM10/16/12
to phusion-...@googlegroups.com
On Fri, Oct 12, 2012 at 11:42 PM, Jacques Fuentes <jpfue...@gmail.com> wrote:
> I've recently purchased your entreprise version, installed the new gem,
> configured apache, and setup the license key. Yet, unfortunately, the
> rolling restarts feature does not seem to work.
>
> We have 5 different ruby apps under apache and I have tried setting
> "PassengerRollingRestarts on" under only one vhost and also in the global
> config. I have yet to see the feature work. When I touch tmp/restart.txt I
> immediately see all workers killed under the specific app that has rolling
> restarts turned on. Furthermore, I turned "PassengerLogLevel 2" on and I
> don't see anything in the log related to rolling restarts despite there
> being a number of P_DEBUG calls for the rolling specific code.

Hi Jacques.

I've investigated this problem, and it turns out to be a bug in
Phusion Passenger Enterprise 3.9.0. I've issued a hotfix, which you
can download from the customer area. The version number has not
changed.

With kind regards,
Hongli Lai
--
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)

Hongli Lai

unread,
Oct 16, 2012, 5:54:25 PM10/16/12
to phusion-...@googlegroups.com
On Tue, Oct 16, 2012 at 8:26 PM, Jacques Fuentes <jpfue...@gmail.com> wrote:
> I just downloaded the gem again from the customer area, uninstalled current
> gem, and installed new one. Still no dice. I'm currently defining the
> rolling restarts for a single app in the vhost.
>
> I still do not see anything related to Rolling Restarts in the log while
> using level 2. Shouldn't I see something in the log related to
> RollingRestarts?
>
> I turned on level 3 and I see a PASSENGER_USE_ROLLING_RESTARTS\x00true.
>
> Is there anything I can do to help troubleshoot?

The bug was caused by a typo. PASSENGER_USE_ROLLING_RESTARTS should be
PASSENGER_ROLLING_RESTARTS. If you're seeing
PASSENGER_USE_ROLLING_RESTARTS then that means you're still using the
old version. Could you check whether everything was correctly compiled
and reinstalled?
Reply all
Reply to author
Forward
0 new messages