Cheers,
the -XX:MaxPermSize= was there as part of the pe-puppetserver package. I merely raised the value to 512m from 256m.
Are you saying it is syntactically incorrect?
On Thursday, July 27, 2017 at 1:19:59 PM UTC-7, Mike Jeski wrote:Hi group,
running PE 3.8.7 (while cleaning up code for upgrade to puppet 4) seeing HttpClientException constantly in the puppetserver.log.
WARN [o.e.j.s.HttpChannel] /production/certificate/ca?fail_on_404=true
com.puppetlabs.http.client.HttpClientException: Request cancelled
Happens every few minutes, reports continue to process and then eventually I see this:
WARN [o.e.j.s.HttpChannel] /production/certificate/ca?fail_on_404=true
java.lang.OutOfMemoryError: unable to create new native thread
after which (most of the time) agent runs & reports are processed, however not always. Sometimes reports stop processing altogether and the console shows all 120 nodes as unresponsive.
Where to start debugging this?
What I've done so far is in /etc/sysconfig/pe-puppetserver I've modified the JAVA ARGS
MaxPermSize is now 512m up from 256m. And I've added -XX:+UseG1GC
The Machine is RHEL6 (VMWARE) 16GB RAM & 8Cores. r
--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/b0ea1830-6ad4-4886-9539-db700edefd0d%40googlegroups.com.
Cheers mate. This version of PE is actually running java 7.
--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/81eea74d-a217-4cf7-ac97-f0cab1061ddb%40googlegroups.com.
On Fri, Jul 28, 2017 at 9:01 AM, Mike Jeski <jesk...@gmail.com> wrote:Cheers mate. This version of PE is actually running java 7.Ah, well in that case bumping up the MaxPermSize will have an effect, but the problem is still almost certainly caused by too low of a heap size, so you should still read the information here about tuning the JVM heap size and set the -Xmx value higher:
On Thursday, July 27, 2017 at 1:19:59 PM UTC-7, Mike Jeski wrote:Hi group,
running PE 3.8.7 (while cleaning up code for upgrade to puppet 4) seeing HttpClientException constantly in the puppetserver.log.
WARN [o.e.j.s.HttpChannel] /production/certificate/ca?fail_on_404=true
com.puppetlabs.http.client.HttpClientException: Request cancelled
Happens every few minutes, reports continue to process and then eventually I see this:
WARN [o.e.j.s.HttpChannel] /production/certificate/ca?fail_on_404=true
java.lang.OutOfMemoryError: unable to create new native thread
after which (most of the time) agent runs & reports are processed, however not always. Sometimes reports stop processing altogether and the console shows all 120 nodes as unresponsive.
Where to start debugging this?
What I've done so far is in /etc/sysconfig/pe-puppetserver I've modified the JAVA ARGS
MaxPermSize is now 512m up from 256m. And I've added -XX:+UseG1GC
The Machine is RHEL6 (VMWARE) 16GB RAM & 8Cores. r
--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+...@googlegroups.com.