Raise the file ulimit for kube-proxy for init.d systems

pull/6/head
Justin Santa Barbara 2015-03-19 19:03:10 -04:00
parent 1cbde2c5c7
commit 60a07e972b
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ DAEMON_USER=root
# #
do_start() do_start()
{ {
# Raise the file descriptor limit - we expect to open a lot of sockets!
ulimit -n 65536
# Return # Return
# 0 if daemon has been started # 0 if daemon has been started
# 1 if daemon was already running # 1 if daemon was already running