[sheepdog] [PATCH] sheep: check resource limit at startup

Liu Yuan namei.unix at gmail.com
Tue Jan 29 05:35:13 CET 2013


On 01/29/2013 12:19 PM, MORITA Kazutaka wrote:
> Another option is to handle the EMFILE error gracefully (e.g. retrying
> after some file descriptors are closed) so that VMs aren't aware of
> sheepdog internal error.

This is the hardest part. Object cache need eventfd, local rqeuest need
eventfd, and people don't want to sheep get out of service just because
of lack of FD temporarily.

Actually, sockfd cache can survive the FD outage, it just returns error
to the caller, it is the very sheep internal logics can't handle EMPFILE.

Thanks,
Yuan



More information about the sheepdog mailing list