Issue #1844 has been reported by epowell.

----------------------------------------
Bug #1844: "Too many open files" when copying directory structure
http://projects.reductivelabs.com/issues/show/1844

Author: epowell
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


My goal is to sync an entire directory structure required for deploying an 
application: we currently use rsync for this.

My testing manifest reads (with some obfuscation):

class policy::solaris {
file { "/destination/destdir":
        source => "puppet:///policy/test/sourcedir",
        recurse => true
}
}

This copies the contents of modules/policy/files/test/sourcedir/ into 
/destination/destdir/ on my target system.  The sourcedir/ has 5282 files 
underneath it.

The puppetd on my destination system starts chewing through this, but 
eventually starts filling the log with the like messages:

err: 
//Node[default]/baseclass/policy::solaris/File[/destination/destdir/foo/bar/include]:
 Failed to retrieve current state of resource: Too many open files - socket(2) 
Could not describe /policy/test/sourcedir/foo/bar/include: Too many open files 
- socket(2)
err: Could not call fileserver.list: #<Errno::EMFILE: Too many open files - 
socket(2)>

No messages are seen on the puppetmasterd log, except that it is sending the 
files to the destination puppetd.

Both systems are Solaris 10 Update 6 on x86.



----------------------------------------
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