At Fri, 27 May 2011 13:09:31 +0900, Keiichi SHIMA wrote: > Hello, > > I am now testing sheepdog with 20 nodes, and found that the sheep process > uses a lot of sockets and exceeds default # of maximum open files in ubuntu > 10.04 environment. > > The attached patch will solve this problem, however, I don't think the patch > is very good and the way to go. Probably the sheep process should > dynamically adapt the resource limit based on the # of nodes in the cluster.
Thanks for your report! Probably we shouldn't change the system-wide value. I think we should close the unused (cached) socket descriptors before the sheep daemon exceeds the resource limit. We don't need to connect to all nodes always. I've added this problem to the bug tracer. Thanks, Kazutaka -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
