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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Jan 29 07:27:27 CET 2013


At Tue, 29 Jan 2013 14:18:22 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> Sheep daemon is FD hungry and can't survive for EMFILE.
> 1024 is default for NOFILE on most distributions, which is very
> dangerous to run Sheepdog cluster. Let's give a warning on this.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/sheep.c |   36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list