Notice: Applied catalog in 4845.82 seconds
Changes:
Total: 1043
Events:
Success: 1043
Total: 1043
Resources:
Out of sync: 1025
Changed: 1025
Total: 1521
Restarted: 38
Time:
Filebucket: 0.00
Resources: 0.00
Sensu api config: 0.00
Sensu redis config: 0.00
Sensu enterprise dashboard config: 0.00
Concat file: 0.00
Schedule: 0.00
Sensu client config: 0.00
Anchor: 0.00
Concat fragment: 0.00
Mailalias: 0.00
Sensu rabbitmq config: 0.02
Ipmi user: 0.03
Group: 0.05
Cron: 0.07
Yumrepo: 0.07
Sensu check: 0.08
Host: 0.09
User: 0.97
Last run: 1513034474
Exec: 19.23
Sshkey: 2.83
Package: 232.51
Augeas: 5.00
File: 4466.81
Total: 4810.97
Config retrieval: 75.19
Service: 8.01
Version:
Config: 1513029567
Puppet: 4.4.1
# cat strace.txt | grep stat | wc -l
2094587
# cat strace.txt | grep -v stat | wc -l
566745
26104 stat ("/ etc / puppetlabs / code / environments / production / shared / modules / elasticsearch / lib / puppet / parser / functions /../../../ hiera / backend / eyaml / encryptors / pkcs7.rb" , <unfinished ...>
We have a problem with very slow work puppetserver.
We have ~300 nodes, master runs on a server with 24 cores and 20 GB of memory.
Pappet agent log:
[...]
Time:
[...]
File: 4466.81
Total: 4810.97
Config retrieval: 75.19
Service: 8.01
Version:
Config: 1513029567
Puppet: 4.4.1
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4f0e88f7-2f2a-4c86-9a22-e1e072879c95%40googlegroups.com.
Hi,
> On 12 Dec 2017, at 12:41, n.be...@gaijin.ru wrote:
>
> Hello!
>
> We have a problem with very slow work puppetserver.
>
>
> We have ~300 nodes, master runs on a server with 24 cores and 20 GB of memory.
Low number of nodes. Enough CPU and RAM.
>
> Pappet agent log:
>
> Notice: Applied catalog in 4845.82 seconds
> Changes:
> Total: 1043
Many changes. Is this initial Puppet run or is this standard that you have 1043 changes on every Puppet run?
What are you doing with file resources?
Which packages do you manage?
Do you manage directories using recursive => true?
This is something you should not do. In this case you should create packages (see https://github.com/jordansissel/fpm/wiki)
> On 13 Dec 2017, at 18:40, n.be...@gaijin.ru wrote:
>
>
> Many changes. Is this initial Puppet run or is this standard that you have 1043 changes on every Puppet run?
> This is the initial run. Installing a new server.
OK.
> > File: 4466.81
>
> Which Puppetserver version are you running?
>
> # puppetserver -v
> puppetserver version: 2.7.2
>
> What are you doing with file resources?
> Create files from templates or simply upload to node.
You are managing lots of files on your agent.
How many are managed?
grep file /opt/puppetlabs/puppet/cache/state/resources.txt | wc -l
Example: a standard Puppet Enterprise Master has ~300 files managed.
Do you manage directories using recursive => true?
This is something you should not do. In this case you should create packages (see https://github.com/jordansissel/fpm/wiki)
Are most files templates (using content => epp(…)) or static files (using source => ‘puppet:///…’)?
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8D494A51-9A88-4396-9D2C-7CC301DFD6DA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.