Hi,

I very recently upgraded from puppet 0.25.4 to 2.6.8 (both master and
all nodes), and I'm now facing serious memory usage issues. On the
master, I just added more RAM because I had the resources available
(from 2GB to 4GB). But on some nodes with 256MB of RAM, I now see some
load peaks and services being affected by high I/O caused by swapping.

My manifests haven't changed, only minor compatibility changes, so the
catalogs are performing the same.

I do see two major differences :
 * Update from 0.25.4 to 2.6.8
 * Enabled 'report' to start using Dashboard (on a separate server)

A quick testing reveals that puppet 2.6.8 on the client nodes does use
up more memory than 0.25.4 did. Where is remember seeing 40-50MB of
resident memory used (from the top of my head), I now see 80-90MB for
the same kind of node. Then with reports enabled this goes up to
110-120MB.

I already went hunting down useless or non optimized parts of the
catalogs, but apart from 2 nodes were I found "recurse => true" and
fixed it (using a different approach, these were nodes other than the
one for which I mention the memory usage and had puppetd at 300MB+), I
don't see anything more I could optimize, and I have looked in detail,
even analyzing a few dot files (the --graph option is really useful!).

Two questions :
1) Is it normal that memory usage of puppetd is so much higher just for
having the 'report' option enabled?
2) What can I do for low-memory nodes other than switching from puppetd
to running puppet from a cron job? (which would help somewhat, but not
fix the underlying issues)

Any pointers are welcome :-)

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora release 14 (Laughlin) - Linux kernel 2.6.35.13-91.fc14.x86_64
Load : 0.29 0.27 0.28

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to