-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

so for #2929 I installed HEAD of 0.25.x and applied Brice patch on top
of it. Brice already wrote what we figured out while playing with it.

However, something else suddenly popped up to my eyes: the new puppet
version uses a lot more memory by applying my normal manifests than
before: actually up to 5 times more! So, well, a hell lot more.

So I compared the two versions: 0.25.x and 0.25.4 (from epel) and run on
an unused host for each version once 'puppetd -t'. By monitoring memory
usage of the puppet process each 2 seconds I could measure that 0.25.x
took up to 1028408 of VmSize while 0.25.4 used up to 222248.

The issue seems to be related #3379, hence due to #2327 because memory
starts right to grow when puppet arrives with the leaking version at:

debug: Augeas[grub_first_default](provider=augeas): Opening augeas with
root /, lens path , flags 0
debug: Augeas[grub_first_default](provider=augeas): Augeas version 0.7.0
is installed
debug: Augeas[grub_first_default](provider=augeas): Will attempt to save
and only run if files changed
debug: Augeas[grub_first_default](provider=augeas): sending command
'set' with params ["/files/etc/grub.conf/default", "0"]
<----- here it hangs and grows.

any ideas what that might cause? It looks really that maybe even #3379
is closely related to that issue. So either my augeas receipe is bad,
but puppet should never leak memory due to that or we have a bug which
leaks memory.

I could also observe that memory grows enormous by applying just that
manifest with the puppet standalone bin.

I didn't yet add that to the bug report, because I later connected the
issue with the memory leak and yeah maybe somebody has a better
idea/explanation than "It's leaking!!!!1111"

I have pushed my the branch from which I built the package up to
http://github.com/duritong/puppet/tree/0.25.x

I could provide the rpm as well, if somebody is interested.

If anybody has any further ideas, please let me know.

cheers pete

[1] http://projects.reductivelabs.com/issues/2327
[2] http://projects.reductivelabs.com/issues/3379

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkugPkMACgkQbwltcAfKi3/QWwCgkplXugnD2UXKqQ6WIgh2MGpU
qWgAoIG0r6IqHTD4YlOoieoGVEKNd7Vw
=90r8
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to