Browse Source

Merge pull request #4749 from cpuguy83/add_nofile_noproc_settings_to_upstart

Add upstart nofile/noproc similar to systemd init
Tianon Gravi 11 years ago
parent
commit
119839dfd7
1 changed files with 2 additions and 0 deletions
  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