On Wednesday, December 16, 2015 at 4:26:26 AM UTC-8, Makrand Sanap wrote:
>
> Hi All,
>
> I am doing POC for puppet enterprise. Master is on CentOS 6.4 VM with 2GB
> ram. Puppet server is going down on its own.
>
> [root@mss-pup-mst2 ~]# /etc/init.d/pe-puppetserver status
>> pe-puppetserver dead but pid file exists
>>
>
>
> I can start it without any issues, but it stays for like 30-60 Mins up.
> then It goes down again.
>
> Logs are not hinting anything, but for one of shutdown, I found following
> lines. Surprisingly they appeared for only one shutdown incident. Not for
> others
>
> 2015-12-13 04:38:21,100 INFO [p.t.internal] Shutting down due to JVM
>> shutdown hook.
>> 2015-12-13 04:38:21,363 INFO [p.t.internal] Beginning shutdown sequence
>> 2015-12-13 04:38:21,640 INFO [p.e.s.j.pe-jruby-metrics-service] PE JRuby
>> Metrics Service: stopping metrics sampler job
>> 2015-12-13 04:38:21,990 INFO [p.e.s.j.pe-jruby-metrics-service] PE JRuby
>> Metrics Service: stopped metrics sampler job
>> 2015-12-13 04:38:22,724 INFO [p.t.s.w.jetty9-service] Shutting down web
>> server(s).
>> 2015-12-13 04:38:22,808 INFO [p.t.s.w.jetty9-core] Shutting down web
>> server.
>> 2015-12-13 04:38:23,243 INFO [o.e.j.s.ServerConnector] Stopped
>> ServerConnector@4369ad74{SSL-HTTP/1.1}{0.0.0.0:8140}
>> 2015-12-13 04:38:23,262 INFO [o.e.j.s.h.ContextHandler] Stopped
>> o.e.j.s.h.ContextHandler@3749adc6{/status,null,UNAVAILABLE}
>>
>
This is very unusual, I would not expect for you to see the message "Shutting
down due to JVM shutdown hook" unless something on your system sent a
signal to the service to stop or restart.
I presume you have a Puppet agent running on the same node; can you check
its report and see if it shows anything about it trying to restart Puppet
Server? Or maybe try disabling the agent (`service puppet stop`) for a
period of time and see if the weird behavior of the server only occurs when
the agent is running?
>
>
> After bit of googling, I found following
>
>
> https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markdown#memory-allocation
>
> Thing is, I am not able to find init file under
> /etc/sysconfig/puppetserver
> to ask Puppetserver to use less RAM than 2GB. (This proabably seems reason
> for this)
>
> Do anyone know, where I can set the RAM usage for puppetserver (PE
> 2015.2.3)?
>
> --
> Best,
> Makrand
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/59958791-b989-484e-add0-09d7298eb328%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.