Phusion white papers Phusion overview

Phusion Passenger 2.2.4 released

By Hongli Lai on June 21st, 2009

We’re releasing Phusion Passenger 2.2.4 because two problems have been discovered which we deem important enough. The changes are as follows:

[Apache] Fixed a memory leak
Along with revamping the Apache module’s I/O routines, we accidentally introduced a memory leak. It leaks about 8 KB of memory per request. Our apologies for this.
Fixed Rack::Utils::HeadersHash#delete
The Rack::Utils::HeadersHash class is used for representing HTTP headers in Rails and possibly other frameworks. Unfortunately a recent version of this class contains a bug, which breaks the responds_to_parent plugin, among other things. This has been fixed: Rack issue #54.

How do I upgrade to 2.2.4?

Via a gem

Please install it with the following command:

gem install passenger

Next, run:

passenger-install-apache2-module

Or, if you’re an Nginx user:

passenger-install-nginx-module

Please don’t forget to copy & paste the Apache/Nginx config snippet that the installer gives you.

(Note that RubyForge might still be distributing the files to their mirrors, so you might temporarily get “404 Not Found” errors until all mirrors are updated.)

Via a native Linux package

John Leach from Brightbox has kindly provided an Ubuntu 8.04 package for Phusion Passenger. The package is available from the Brightbox repository which you can find at:

http://apt.brightbox.net

Add the following line to the Third Party Software Sources:

deb http://apt.brightbox.net hardy main

(The simplest way to do that is to create a file in /etc/apt/sources.list.d/ containing the deb instruction, and then run ‘apt-get update’).

Once you’ve done this then you can install Phusion Passenger by running:

sudo apt-get install libapache2-mod-passenger

-or-

sudo apt-get install nginx-brightbox

(Note that John is currently packaging 2.2.4, so it might take a while before this release shows up in the apt repository.)

  • http://www.railscluster.nl Roderick van Domburg

    Thanks for the quick response to those two issues.

  • lolcatz!

    Thanks guys! And you don’t have to apologize :-)

  • http://jeremy.wordpress.com Jérémy Lecour

    As usual you rock guys !

  • Pingback: Interesting Ruby Tidbits That Don’t Need Separate Posts #26()

  • Pingback: Alban’s blog » Blog Archive » Debian packages for Phusion Passenger 2.2.4()

  • http://redcloth.org Jason Garber

    Thanks for this! I upgraded from 2.2.2 to 2.2.4 and I’ve seen a big increase in stability. Good work!

  • Pingback: Brightbox Blog - Ruby on Rails Hosting - Passenger 2.2.4 packages for Ubuntu()

  • Reza

    Hi,
    I’m trying to setup Passenger with nginx. How come I don’t have nginx-brightbox package after I added Brightbox’s APT repo?

    Thanks.

  • Reza

    On a second note, I found nginx-brightbox in “testing” dists. Should I change:

    deb http://apt.brightbox.net hardy main

    to:

    deb http://apt.brightbox.net hardy testing

    Thanks in advance.

  • M. Ellis

    We’re testing phusion passenger to replace fcgi but there’s one major configuration issue we’re running into. We can spec the default user of Passenger with PassengerDefaultUser. However, unlike apache, there is no current facility for PassengerDefaultGroup, and for a variety of reasons, we run httpd as apache with a non-standard group that does not match apache’s group in /etc/password.

    This could very quickly turn into a showstopper problem for us. Do you have any plans to support changing the default group?

  • Sandro Duarte

    Anybody knows if this Brightbox package can be used with versions of Ubuntu others than 8.04 ?? (8.10, 9.04)