The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #2108

Puppetd holding memory between runs

Added by Hari Sekhon about 7 years ago. Updated about 7 years ago.

Status:DuplicateStart date:03/25/2009
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version:0.24.7 Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

Puppetd is holding on to memory between runs which seems like a bug as it’s not doing any work and the state cannot be anywhere near it’s memory consumption as the things it is managing are much smaller than this.

top – 11:58:31 up 48 days, 18:21, 1 user, load average: 0.00, 0.00, 0.04 Tasks: 1046 total, 1 running, 66 sleeping, 0 stopped, 979 zombie Cpu(s): 0.7%us, 0.7%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 255592k total, 251580k used, 4012k free, 3004k buffers Swap: 524280k total, 205064k used, 319216k free, 35076k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1952 root 15 0 178m 163m 1904 S 0.0 65.5 771:12.13 puppetd

So on this 256MB machine, it managing a few configuration files and not currently processing (the last run was 20 mins ago and it runs every 30 mins) as seen by the 0% CPU utilization.

Yet in this idle state it is still holding on to nearly 200MB of memory on the system, much higher than any other process.

puppetd —version 0.24.7

Looks like a bug/memory leak to me?


Related issues

Duplicates Puppet - Bug #1395: puppet memory usage Needs More Information 07/06/2008

History

#1 Updated by Lawrence Ludwig about 7 years ago

64 bit or 32 bit OS? Depending upon your configuration of manifests, it’s not uncommon for puppetd to grow to this size.

#2 Updated by Lawrence Ludwig about 7 years ago

Can you also run 0.24.8 and see if there is a difference in memory consumption?

#3 Updated by Luke Kanies about 7 years ago

  • Status changed from Unreviewed to Duplicate

Also available in: Atom PDF