Skip to content

Instantly share code, notes, and snippets.

@duritong
Created March 16, 2010 12:57
Show Gist options
  • Save duritong/333932 to your computer and use it in GitHub Desktop.
Save duritong/333932 to your computer and use it in GitHub Desktop.
# Having masterzen's patch applied puppet still burns 100% cpu _after_ doing all the changes
# I use the following resource
file{'/home/duritong':
ensure => directory,
recurse => true,
backup => false,
checksum => none,
owner => 'duritong', group => 'duritong', mode => 0600;
}
$ find /home/duritong/ | wc -l
7539
# before executing puppet I usually do
$ chown root:root /home/duritong/ -R
$ chmod +r /home/duritong/ -R
# then I launch puppet with:
$ time puppet test.pp
# after having all changes applied puppet hungs and doesn't tell anything.
# strace only reports rt_sig..., nanosleep and brk
# attaching gdb according to http://eigenclass.org/hiki/ruby+live+process+introspection
# gives the following:
(eval):94: [BUG] object allocation during garbage collection phase
ruby 1.8.6 (2009-03-31) [x86_64-linux]
# on the app side, the app ist afterwards terminated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment