Maxpermsize isnt available in openjdk8. Look for xmx/xms. And I think UseGC1G 
is only available for openjdk8. 

https://docs.puppet.com/puppetserver/latest/tuning_guide.html#jvm-heap-size

- Thomas



Am 27. Juli 2017 22:16:56 MESZ schrieb Mike Jeski <[email protected]>:
>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 [email protected].
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/puppet-dev/126ce6a4-bb05-4f3a-a714-7f333cdd3adb%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/8D23489E-6656-41FD-B44E-3E149D12B9F5%40chaschperli.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to