Ask Your Question

Puppet Enterprise seems to consume a lot of memory

asked 2015-12-22 02:09:38 -0500

kmolenmaker gravatar image

updated 2015-12-28 12:29:22 -0500

GregLarkin gravatar image

Running Puppet Enterprise 2015.2.3 as puppet master on our linux server we noticed that it consumes a lot of memory. We have installed this machine with 12GByte of memory, but puppet fills most of it. In our test environment where we evaluatie puppet we ran easily in 4GByte of memory. Both configurations only use 2 puppet agents on Windows. What can be our problem? We have installed puppet enterprise 2015 out of the box. Thanks for your feedback, Kor Molenmaker MARIN, the Netherlands.

our memory consumption:

root@mar514v ~ # free
              total          used            free          shared      buffers  cached
Mem:      12198424   12056072     142352      55212       2108     237204
-/+ buffers/cache:   11816760     381664 
Swap:      2093800     937756    1156044
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-12-28 01:37:48 -0500

Anandk gravatar image

From the puppet logs at /var/log are there any OOM errors reflecting a memory leak? I've come to realize this has been a persistent case with Puppet on prior versions, nt sure if they have fixed it yet.

edit flag offensive delete link more

answered 2015-12-23 03:43:38 -0500

FranzCC gravatar image

updated 2015-12-23 03:44:53 -0500

you have 11GB for caching.
So the 900MB in the swap are not bad, the kernel uses swap for memory that is static.
So, drop the cached and send a free -m.
Like: echo 3 > /proc/sys/vm/drop_caches
Also, puppet-pe-puppetserver javas default config is to use 2,5G RAM.
Of course you have an overhead for caching which can get very big.
I agree, that the memory consumption increased comparing to 2015.2.
19458 pe-pupp+ 20 0 5793904 2.433g 11980 S 1.0 31.1 693:02.25 java
Perhaps a problem with javas garbage collection.



P.S: please use <br> for linebreaks. Better to read though ;-)

edit flag offensive delete link more


A new service has been introduced in puppet pe 2015.3.
The orchestration service. It consumes about 300MB RAM,
but reserves 3,4GB vmem.
So you should have at least 8GB installed in your server.

FranzCC gravatar imageFranzCC ( 2016-01-07 01:44:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-22 02:09:38 -0500

Seen: 130 times

Last updated: Dec 28 '15