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
Or, if you’re an Nginx user:
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:
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
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.)