On 5/15/2012 2:06 PM, Eric wrote:
PassengerHighPerformance on
PassengerUseGlobalQueue on
PassengerMaxRequests 99999
PassengerPoolIdleTime 60
PassengerMaxPoolSize 64
PassengerMinInstances 16
PassengerMaxInstancesPerApp 99999
Your setting are as they say, not even wrong.
Try the following in their place and restart Apache. Also you should be
running Apache with the worker-mpm enabled if you haven't done that yet.
Keep in mind that the Apache/Passenger/Rack/Puppet stack needs roughly a
minute from a restart to be ready to take traffic.
PassengerMaxPoolSize 6
PassengerMinInstances 1
PassengerMaxRequests 10000
PassengerPoolIdleTime 0 #(or 2000 if this is a shared machine)
PassengerStatThrottleRate 30
Assuming things work normally you can add these back in.
PassengerHighPerformance on
PassengerUseGlobalQueue on
As you add more clients your limiting factors will be that each
concurrent instance uses roughly 200MB of RAM and you should have no
more than four instances per core (give or take) assuming this is a
dedicated Puppet machine. If you run Puppet Dashaboard, Mysql, etc on
the same box you may need to lower the max instances or add more machines.
Ramin
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.