[sheepdog] [PATCH] Set maximum number of open file descriptors to 32768

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Fri Jan 16 10:31:41 CET 2015


At Thu, 15 Jan 2015 16:27:43 +1000,
Vladislav Gorbunov wrote:
> 
> Signed-off-by: Vladislav Gorbunov <vadikgo at gmail.com>
> ---
>  script/sheepdog.service.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.
Hitoshi

> 
> diff --git a/script/sheepdog.service.in b/script/sheepdog.service.in
> index 1da6f37..ac4f955 100644
> --- a/script/sheepdog.service.in
> +++ b/script/sheepdog.service.in
> @@ -7,7 +7,7 @@ Wants=syslog.target
>  EnvironmentFile=- at SYSCONFDIR@/conf.d/sheepdog.conf
>  EnvironmentFile=- at SYSCONFDIR@/sysconfig/sheepdog
>  EnvironmentFile=- at SYSCONFDIR@/default/sheepdog
> -ExecStart=/bin/sh -c '@SBINDIR@/sheep --pidfile @LOCALSTATEDIR@/run/sheep.pid $(if [ -z "$SHEEP_OPTS" ]; then echo "--cluster local --log dst=syslog --upgrade @LOCALSTATEDIR@/lib/sheepdog"; else echo $SHEEP_OPTS; fi)'
> +ExecStart=/bin/sh -c 'ulimit -n 32768; @SBINDIR@/sheep --pidfile @LOCALSTATEDIR@/run/sheep.pid $(if [ -z "$SHEEP_OPTS" ]; then echo "--cluster local --log dst=syslog --upgrade @LOCALSTATEDIR@/lib/sheepdog"; else echo $SHEEP_OPTS; fi)'
>  PIDFile=@LOCALSTATEDIR@/run/sheep.pid
>  Type=forking
>  Restart=on-abort
> -- 
> 2.1.0
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list