Ask Your Question
1

Should I run my Puppet master under Passenger 3.0.x or 2.2.x?

asked 2013-02-19 16:34:26 -0500

ramindk gravatar image

updated 2013-02-20 12:40:36 -0500

My distro ships with Passenger 2.2.x. Is it worth upgrading? Will puppet still work?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-19 16:43:18 -0500

ramindk gravatar image

updated 2016-06-05 14:52:39 -0500

(20160605) Some of the data in this answer is out of date. See the passenger 4/5 tuning doc here for more recent data.

Yes. You should update to 3.0.x.

apt repo - http://apt.brightbox.net/

rpm repo - http://passenger.stealthymonkeys.com/

Passenger 3.0.x is much better at keeping track of the Rack processes that run your Puppet master. This results in fewer zombie or hung processes. Additionally Passenger 3 is faster than 2.2, but this doesn't affect Puppet performance that much because on average there are very few heavy transactions instead of lots of very small ones like the typical webserving case

A new feature introduced in Passenger 3.0.x is PassengerPreStart. Rather than wait for the first request to come into your server before starting any Rack processes, Passenger preemptively starts a Rack process on startup. I recommend putting something like this into Puppet master vhost. Keep in mind that it'll send this to localhost:$port with host headers so your httpd servers will need to be listening on localhost.

PassengerPreStart https://puppet.example.com:8140
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-19 16:34:26 -0500

Seen: 3,040 times

Last updated: Jun 05 '16