This example changes the value from 1024 to 10240.

/etc/security/limits.conf:

* soft nofile 10240
* hard nofile 10240

For dbus daemon, edit /etc/init/dbus.conf:

start on local-filesystems
stop on deconfiguring-networking

limit nofile 10240 10240

expect fork
respawn
Advertisements