Issue #4247 has been updated by Peter Meier.
So I put in:
<pre>
puts "Argtype: #{argtype}"
puts "Argtitle: #{argtitle}"
</pre>
@ extract_type_and_title
and the last thing I get now, before it stalls:
<pre>
debug: importing
'/srv/puppet/development/modules/public/securefile/manifests/deploy.pp' in
environment production
info: Automatically imported securefile::deploy from securefile/deploy
Argtype: Securefile::Deploy
Argtitle: foo.bar.ch_ssh_key
Argtype: File
Argtitle: /some/path/bin/bla
Argtype: file
Argtitle: /etc/cron.daily/some_cron
Argtype: file
Argtitle: /etc/cron.daily/some_cron.sh
Argtype: Concatenated_file_part
Argtitle: peer_ntp.bar.ch
Argtype: exportedtrueparamsdir => /var/lib/puppet/modules/ntp/ntp.server.dtag
=> ntpcontent => peer ntp.bar.ch iburst
restrict ntp.bar.ch nomodify notrap
titlepeer_ntp.bar.chline23scopeScope(Class[Ntp::Base])typeConcatenated_file_partsource#<Puppet::Resource::Type:0x2ad2e2c42c20>
Argtitle:
</pre>
So in my opinion it looks there is a problem with (de-)serializing exported
resources? Or at least accessing them here in that context and
@argtype.inspect@ then probably causes the infinite loop.
Putting the following in front:
<pre>
puts "Argtype: #{argtype}"
puts "Argtitle: #{argtitle}"
puts "Argtype.inspect: #{argtype}"
</pre>
supports my assumption, as puppet now stalls on the last puts line.
----------------------------------------
Bug #4247: puppet master 2.6 is leaking memory and getting stalled
http://projects.puppetlabs.com/issues/4247
Author: Peter Meier
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 2.6.0rc3
Keywords:
Branch:
Testing puppet master 2.6 on a dedicated port against a 0.25.x client is
leaking memory and getting stalled:
If I start the puppetmaster:
<pre>
puppet master --config /srv/puppet/etc/puppet.conf --no-daemonize --masterport
8141 --verbose --debug
</pre>
And run a rather simply client against it, it autoloads all the modules:
<pre>
[...]
debug: importing
'/srv/puppet/development/modules/public/shorewall/manifests/rules/out/ibackup.pp'
in environment production
info: Automatically imported shorewall::rules::out::ibackup from
shorewall/rules/out/ibackup
debug: No true answers and no default
debug: importing
'/srv/puppet/development/modules/public/securefile/manifests/deploy.pp' in
environment production
info: Automatically imported securefile::deploy from securefile/deploy
</pre>
After that last line the output stalls and it stalls always after that one
line. However the puppet master process keeps running on high cpu and eating up
all the memory (4G before I killed it). It is not anymore responding to crtl-c
in the console and the only way to kill it is to send @kill -9@ to the process.
The client quits with a timeout error.
I'm running 2.6rc3 with brice's patch applied for #4242
I try to figure out how I can debug that more in detail.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.