瀏覽代碼

Merge pull request #4749 from cpuguy83/add_nofile_noproc_settings_to_upstart

Add upstart nofile/noproc similar to systemd init
Tianon Gravi 11 年之前
父節點
當前提交
119839dfd7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      contrib/init/upstart/docker.conf

+ 2 - 0
contrib/init/upstart/docker.conf

@@ -2,6 +2,8 @@ description "Docker daemon"
 
 start on filesystem
 stop on runlevel [!2345]
+limit nofile 524288 1048576
+limit nproc 524288 1048576
 
 respawn