Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-31 Thread Matthaus Owens
Jim, What do you consider clean state of process listing? Puppetserver is run with those options in many production environments. It certainly is possible to change how puppetserver starts up, but I wouldn't recommend it. The OnOutOfMemoryError setting is there so that when such an error occurs,

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-31 Thread Jim
Hi Matthaus, Assume its a production environment would we have allowed that ? What I'm interested in clean state of process listing when I run ps command. Is that possible? Regards, Jim On Tuesday, 31 May 2016 01:07:39 UTC+10, Matthaus Litteken wrote: > > Jim, > > The 'XX:OnOutOfMemoryError=ki

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-30 Thread Matthaus Owens
Jim, The 'XX:OnOutOfMemoryError=kill -9 %p' in the process list doesn't indicate that puppet server is out of memory, it is a Java flag that tells Java what to do if puppet server hits an outofmemory error. The output you have pasted looks totally normal to me. HTH On Monday, May 30, 2016, Jim

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-30 Thread Jim
Hi Matthaus, My hostname is misleading. I upgraded at the time of posting to Ubuntu 15.10. Now I have upgraded to 16.04. I ran the command you suggested instead of service puppetserver start and I don't see OutOfMemory errors process. root@jim-Ubuntu1504:~# ps -aef|grep -i puppet|grep -v grep

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-26 Thread Matthaus Owens
Jim, For debugging failures on ubuntu 15.04, I would recommend trying `/opt/puppetlabs/bin/puppetserver foreground`, it may show you the errors that are causing the service to shutdown. Ubuntu 15.04 is a bit difficult to debug on, because while it has systemd support, the puppetserver packages for

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-26 Thread Jim
Hi Trevor, No luck. 2016-05-26 23:46:26,745 INFO [Thread-1] [p.t.internal] Shutting down due to JVM shutdown hook. 2016-05-26 23:46:26,747 INFO [Thread-1] [p.t.internal] Beginning shutdown sequence 2016-05-26 23:46:26,761 INFO [clojure-agent-send-pool-1] [p.s.j.jruby-puppet-agents] Flush re

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-25 Thread Trevor Vaughan
Hi Jim, Your logs should be in /var/log/puppetserver/puppetserver.log. Also, I'm guessing that you need to change the Xmx java option in your puppetserver start script. Trevor On Tue, May 24, 2016 at 8:51 AM, Jim wrote: > Any idea which log file to look at when I run the service puppetserver

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-24 Thread Jim
Any idea which log file to look at when I run the service puppetserver start command? On Tuesday, 24 May 2016 22:44:03 UTC+10, Jim wrote: > > Hi Johan, > > I did try 512m option not just 256m before posting. and it didn't work. > The link which you have provided talks basically about > > 1. Cha

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-24 Thread Jim
Hi Johan, I did try 512m option not just 256m before posting. and it didn't work. The link which you have provided talks basically about 1. Changing parameters for java options 2. max active instances(Its commented out by default) 3.num-cpus configuration. I did recursive grep but couldn't find

RE: [Puppet Users] Outofmemory error for puppetserver process

2016-05-23 Thread Johan De Wit
Hi Jim, You should find some answers here : https://docs.puppet.com/puppetserver/2.3/tuning_guide.html per jruby instance, we assign 512mb tot the VM, so 256mb is a little too less. hth Johan -Original message- From: JimĀ  Sent: Tuesday 24th May 2016 4:54 To: Puppet Users