Yeah, that's too much for recurse.

The issue is that Puppet will create an in-memory 'file' object for
each file and directory in the entire tree.

It will then try to munge that whole messi into the in-memory catalog.

The result is well...memory FAIL.

In theory, some of this has been addressed in 2.6, but I haven't
tested that portion yet.

There was a bit of discussion in the dev mailing list on how to handle
this inside Puppet.

For now, exec.

Trevor


On 10/6/10, Angelos Oikonomopoulos
<angelos.oikonomopou...@fp-commerce.de> wrote:
> On 10/06/2010 03:18 PM, Peter Meier wrote:
>>> In any case, by /more/ selective commenting I've deduced that it's the
>>> recurse =>  true in http://paste.lisp.org/display/115229 that triggers
>>> this. If I leave it out (or change it to false), puppet applies the
>>> catalog as expected.
>>>
>>> Can someone figure out what the actual issue is?
>>
>> about how many files are we talking under the hierarchy of the recurse
>> file resources? and how big are they?
>
> 18k+ files in 5k+ directories, adding up to 250MB of disk usage.
>
> However, as I've mentioned in my original mail, puppetd does not do
> anything other than allocate memory. The only system calls it does are
> rt_sigprocmask and brk(). Unless puppet loaded the whole thing into
> memory before getting stuck (which I did not consider as a possibility),
> I don't think the directory contents should make a difference.
>
> Aggelos
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>


-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
tvaug...@onyxpoint.com

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to