Issue #22821 has been reported by Robin Powell.

----------------------------------------
Bug #22821: Something *very* strange is happening with file stats on the master.
https://projects.puppetlabs.com/issues/22821

* Author: Robin Powell
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Puppet 3.3.0 + puppetdb + puppetdb query which is used right in the site.pp.

It is engaging in *extensive* statting of files and taking a long time.

>From one run before I restarted:

[pid 21236] 
stat("/opt/puppet3/etc/modules/puppetdbquery/lib/puppet/type/remote_query::handle_key.rb",
 0x7f49f9dedab0) = -1 ENOENT (No such file or directory)

[rlpowell@shell01 ~]$ grep 
stat../opt/puppet3/etc/modules/puppetdbquery/lib/puppet/type/remote_query::handle_key.rb
 /tmp/master.strace | wc -l
118580

That's partial; the strace was at 1.5GiB before I gave up.

After a restart, it's noticeably better, but not great:

[pid 28105] 
stat("/opt/puppet3/etc/modules/puppetdbquery/lib/puppet/type/users::handle_special_key.rb",
 0x7f49de5e5b30) = -1 ENOENT (No such file or directory)

[rlpowell@shell01 ~]$ grep 
/opt/puppet3/etc/modules/puppetdbquery/lib/puppet/type/users::handle_special_key.rb
 /tmp/master.strace  | wc -l
64410

This is all straces of the puppet master.

This all happens somewhere between these two lines of output on the client:

Info: Loading facts in 
/opt/puppet3/var/lib/facter/iptables_persistent_version.rb
Info: Caching catalog for shell01.c44031.blueboxgrid.com

Here's the full output of an strace of the master during that part of the run.  
Note that this file is 819K but expands to 54M, which gives you an idea of just 
how crazy things are in there.

http://users.digitalkingdom.org/~rlpowell/media/public/master.strace.gz

-Robin


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to