-
Notifications
You must be signed in to change notification settings - Fork 388
Increasing_Service_Limits
ajayhn edited this page Dec 30, 2014
·
1 revision
Ensure /etc/security/limits.conf
has sufficients limits for number of opened files for a process. An example configuration is
root soft nofile 65535
root hard nofile 65535
* hard nofile 65535
* soft nofile 65535
* hard nproc 65535
* soft nofile 65535
- Supervisord based service
-
in supervisor config file (e.g.
/etc/contrail/supervisord_config.conf
) in thesupervisord
section set minfds and minprocs. for e.g.... [supervisord] minfds=10240 minprocs=200 ...
-
- Upstart based service
-
in upstart config file (e.g. in
/etc/init/zookeeper.conf
) set number of files withnofile
for e.g.limit nofile 8192 8192
-
service <name> restart