Pre-Starting the Rails Processes

2 views
Skip to first unread message

Mike Papper

unread,
Nov 20, 2009, 3:31:41 PM11/20/09
to Phusion Passenger Discussions
We have a Passenger setup that sets PassengerMaxPoolSize to 12. When
we deploy, Passenger will kill off all the old rails processes and
restart news as needed. I noticed a lag for the first few requests as
these processes started up.

Is there a way to tell Passenger to "pre-fork" or pre-create the max
rails processes? Or perhaps there is an option that would be something
like "PassengerMinPoolSize"

Mike

Hongli Lai

unread,
Nov 23, 2009, 11:08:32 AM11/23/09
to phusion-...@googlegroups.com
Not at this time. PassengerMinPoolSize is scheduled for Phusion
Passenger 3.0. For now you can increase PassengerPoolIdleTime.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages