[Puppet Users] Re: tweaking Passenger/Rack for performance.
On Apr 30, 7:20 pm, Nigel Kersten wrote: > so here are my unorganized thoughts on Passenger settings. > > * PassengerMaxPoolSize > > This depends a lot on two primary variables. a) How much RAM you have. > b) How much resident memory is needed for your environments/modules. > Only way to determine this is with tweaking, and you'll need to be > much more conservative than the suggested settings on the Passenger > docs as your app takes up a lot more memory than your average site. Sure; the puppetmaster processes are quite heavy. Right now I'm running with a MaxPoolSize of 10, fitting nicely into the 2.5GB of reserved memory. > * PassengerStatThrottleRate 600 > I haven't noticed this make a *huge* difference, but logically we > don't need to stat for the relevant files at all really. I think it's best to actually disable RackAutoDetect & RailsAutoDetect, but I'm not sure if disabling them will avoid the stats. > * PassengerHighPerformance > Turning this on appears to reduce performance for me. Interesting. From the docs I'm not seeing how this could decrease performance. Anyway, hosting puppetmaster doesn't need any rewrites or something, so turning it on/off shouldn't hurt operations. > * PassengerMaxRequests > I'm trying to work out at the moment whether we're leaking memory at > all with 0.24.8, but even if we're not, I can imagine this making a > big difference for certain usage patterns. I'm thinking of say having > a lot of different environments that all puppet regularly, but then an > overnight period where only one or two environments are being used. If > I understand how this works correctly, this should reduce memory > usage. This probably depends heavily on your environment. On my setup the puppetmaster processes stay between 200-300M VIRT, and don't grow larger, so I haven't looked at this at all. > * PassengerPoolIdleTime > The default is 300 seconds. I'm yet to look into this setting. I'm running with the default here, but still get long lived puppetmaster processes. Probably they never get idle. > * RailsSpawnMethod > * PassengerUseGlobalQueue Haven't touched these at all. Thanks for your feedback! Christian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Puppet Users] Re: tweaking Passenger/Rack for performance.
On May 4, 11:20 pm, Nigel Kersten wrote: > Have you tried the 0.25 beta with Passenger? Passenger support has been completely redone for 0.25, check ext/rack in the sources. If upgrading from 0.24.x, you at least need to update the config.ru file. > For the life of me I can't get it to work on dapper or hardy. > > [ pid=17005 file=ext/common/ApplicationPoolServerExecutable.cpp:307 > time=2009-05-04 14:17:27.451 ]: > Client 0x667060: SpawnException occured (with error page) > > and am yet to obtain useful debugging anywhere You should be able to get some - maybe useful - output by pointing a browser to https://puppetmaster:8140/ It probably gives a colorful Passenger error page in your case. Christian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Puppet Users] Re: Help with Passenger-based puppetmaster....
Juri, On May 11, 1:20 pm, Juri Rischel Jensen wrote: > And if I visithttps://puppet:8140/manually I get: > > Error message:private method `warn' called for Puppet:ModuleException > class:NoMethodErrorApplication root:/srv/www/puppet.fab-it.dkBacktrace: > # File Line Location > 0 /usr/lib/ruby/1.8/puppet/network/http_server/rack.rb 62 in > `initialize' > 1 config.ru 32 in `new' > 2 config.ru 32 > 3 /var/lib/gems/1.8/gems/passenger-2.1.2/vendor/rack-0.9.1/lib/rack/ > builder.rb 29 in `instance_eval' > 4 /var/lib/gems/1.8/gems/passenger-2.1.2/vendor/rack-0.9.1/lib/rack/ > builder.rb 29 in `initialize' > 5 config.ru 1 in `new' > 6 config.ru Seems like you've triggered a bug here. Puppet is trying to tell you that the puppetmaster process is not called "puppetmasterd", but printing the warning fails (because of the bug). You should probably rename the directory which contains config.ru to "puppetmasterd". Christian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Puppet Users] Re: Vote for your favorite ticket
On Jun 2, 12:09 am, Luke Kanies wrote: > James Turnbull has enabled a new plugin in Redmine that allows you to > vote for tickets. You have to have a login, and you can vote a ticket > up or down. > [..] > To vote on a ticket, log in and view any ticket -- you should see the > green/red arrows. You can vote once per ticket. With my account, I'm not seeing any green/red arrows in the ticket view. Christian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---