chiark / gitweb /
main: bump up RLIMIT_NOFILE for systemd itself
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Sep 2012 14:35:59 +0000 (16:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Sep 2012 14:35:59 +0000 (16:35 +0200)
commit4096d6f5879aef73e20dd7b62a01f447629945b0
treea4177bd95f8b1a3d9fdabfc52d3cde659439f1da
parentb58b344afd1c6dd4ef2b96451c726571f867d130
main: bump up RLIMIT_NOFILE for systemd itself

For setups with many listening sockets the default kernel resource limit
of 1024 fds is not enough. Bump this up to 64K to avoid any limitations
in this regard. We are careful to pass on the kernel default to daemons
however, since normally resource limits are a good to enforce,
especially since select() can't handle fds > 1023.
src/core/main.c