On May 15, 2:30 pm, Ramin K <ramin-l...@badapple.net> wrote: > 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
I made the changes that you suggested, restarted Apache, and I am still getting the "connection reset by peer" error 25% of the time. # cat /etc/httpd/conf.d/passenger.conf LoadModule passenger_module /usr/lib64/httpd/modules/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9 PassengerRuby /usr/bin/ruby PassengerMaxPoolSize 6 PassengerMinInstances 1 PassengerMaxRequests 10000 PassengerPoolIdleTime 0 PassengerStatThrottleRate 30 # grep -i worker /etc/sysconfig/httpd HTTPD=/usr/sbin/httpd.worker -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.