The puppet conf: master: reports = log,foreman agent: report = true So The foreman is the bottleneck? How to optimise?
On Thursday, February 7, 2013 10:59:02 AM UTC, Dominic Cleal wrote: > On 07/02/13 08:30, [email protected] <javascript:> wrote: > > There is a puppet cluster, composed by nginx,passenger,puppet. The > number of qps is 1000 currently, > > and the processing speed of the whole cluster is pretty good,the average > processing time for the request is 0.25 seconds. > > But it is a little slow from client report, a lot of processing time is > tens of seconds.such > > as nginx log: > > > > 192.168.0.2 puppet - [07/Feb/2013:15:45:44 +0800] "PUT > > /production/report/123.test.test.cn HTTP/1.1" 200 24 "-" "-" "-" 95.690 > > 192.168.12.12:8140 200 _95.876_ > > Are you using reports for anything? > > By default Puppet enables and stores them. You can disable storage on > your master with: > > [master] > reports = > > Or you can disable sending them on your agents with: > > [agent] > report = false > > If you're using disk stored reports for something useful, then look at > PuppetDB 1.1 instead, or improve your storage. If you're using another > report processor (e.g. Foreman), then you need to optimise that. > > -- > Dominic Cleal > Red Hat Engineering > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
