--
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/0f6e7373-404a-45fd-8bc7-5daed3fa67f3%40googlegroups.com.
Kevin Reeuwijk
Principal Sales Engineer @ Puppet
--
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/e8cff298-a0a6-48a9-9bbc-a7f000926467%40googlegroups.com.
Yvan your issue sounds like https://tickets.puppetlabs.com/browse/PUP-3647, do you know if that is fixed now, or has regressed since then?
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2B%3DBEqXRUJPpkv%3D333Fgk0EgV7h%3DkmK-ZYji5sThpZeQEXHbFQ%40mail.gmail.com.
Hi,About the growing state.yaml :I have upgraded to version 6.7 in the mean time. I've seen in the code that the issue with :statettl was fixed.As the default setting is 32days, I still need to wait a couple of days before being sure it works, as I still had a "tidy" statement for cleanup up Puppet reports until recently.I still have a huge state.yaml file, containing 200'000 lines, and referencing 60'000 reports that have already been removed, but they are only reports generated during the last month, with the oldest entries with a ":checked:" date of 2020-01-06
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMuuXv2PzP7LxniTbSWDnHF59BNFMYwPqe3oH-9wn2%3DwBgrV4Q%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/sYARGwznkOs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
Hi Kevin and others who have responded,
Thanks all for your tips. Unfortunately, no breakthroughs yet.
The current state is this:
I've been looking at JVM stats with 'jstat', and the server doesn't appear to spend any significant amount of time doing GC (seems to be about 1%).
- Both Puppetservers typically run at the latest version, currently both 6.8.0.
- The primary server has 8 virtual cores and 12 GB of physical (virtualized) RAM, Java is running with -Xms6g -Xmx6g.
- Max-active-instances is currently set to 7.
- This morning, I added -XX:ReservedCodeCacheSize=1g to the JVM startup config.
- The size of our 'environments' directory is 131 MB. We currently have 3 environments.
After a server restart, compilation times typically drop to 9 seconds on average (on the secondary server, it's 5 seconds consistently), but after a while, they go back to 30 or 40 seconds.
As I noted in my first post, our server has an average of less than 2 concurrent agents talking to it, so I can't imagine this happening due to lack of resources. The fact that our secondary server handles a bigger load than the primary, with a third of the memory and only 2 cores, seems to confirm this.
So:
- enough CPU power (I would think)
- enough memory
- no significant garbage collection
- Puppetserver causing a load of 5
Any more tips? Would it make sense to run PuppetDB and PostgreSQL on a different VM?
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/d5fc4c74-e9c0-c5da-88a2-07784767b6a2%40grendelman.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d5fc4c74-e9c0-c5da-88a2-07784767b6a2%40grendelman.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2B%3DBEqVp5tAvAUnFP3P-t3ZCLNZ-qteyiq1SvNnhpzBSLm5AoA%40mail.gmail.com.