Issue #1973 has been updated by harisekhon.

ruby-1.8.5 and ruby-1.8.6

I have used one or two recursive file copies, but their depth is usually no 
more than 1/2 dirs.

- Shouldn't puppet only do md5 sums for files for which remote copies are found?
- Shouldn't the remote copies already have an MD5 from a puppetmaster where 
puppet:// is used instead of having puppetd repeat this MD5 across the whole 
infrastructure needlessly?

If I was to write a program in python to md5 10-20 files, I would expect that 
to finish in 1-2 secs, not be taking minutes of 100% cpu and causing OOM on 
loaded machines.

(I do not want to disable md5 checking in favour of ctime/mtime)

- Does puppet still use md5s if you are only setting perms and not sourcing 
files? (ie no source param is given)
- I want recurse true and not 2/3 when ensuring perms on a directory tree 
consisting of 50-100 files, it should only be statting them and be really fast, 
right?

I've been through every recurse in every manifest (and I have a default of 
false in site)

There are only a few recurses set for dirs in which there are no source files 
set, only owner/group/mode settings, so if these are MD5ing without 
intelligence, then this would explain a lot.
----------------------------------------
Bug #1973: Performance problems
http://projects.reductivelabs.com:80/issues/1973

Author: harisekhon
Status: Needs more information
Priority: High
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


Puppetd is chewing up a ridiculous amount of CPU and the boss at work has 
unfortunately noticed and described it as "unacceptable".

I would really like to see puppet run more efficiently. We are running fast 
multi-cpu servers with multi-cores have servers running oracle databases and 
computational services so when someone says that puppet is making a noticeable 
dent in cpu time, I don't have much of a come back for that, other than "that's 
life!". I understand that the multi-cpus and core probably makes no difference 
as I believe this is pretty much single threaded but the point is they are new 
and fast servers.

My fear is that my boss will turn around and say "Get rid of that bloatware, I 
want my servers to go fast..."

Unfortunately my boss is not the only person who has called puppet a resource 
hog... help!


----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to