Issue #1844 has been updated by epowell.

I ran lsof against the master and the client as it ran into the problem.

On the client side, it had 249 TCP connections to the master: 194 in 
CLOSE_WAIT, 56 in ESTABLISHED.  All connections were to the master's port 8140.

The master only showed 56 connections to the client, all established.  
Filtering out the TCP connections from the lsof output showed 51 entries on the 
master, 43 on the client, all of which appear to be normal output.

Time to investigate an rsync type, if one hasn't already been worked out... :)
----------------------------------------
Bug #1844: "Too many open files" when copying directory structure
http://projects.reductivelabs.com/issues/show/1844

Author: epowell
Status: Needs more information
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