core: raise the RLIMIT_NOFILE hard limit for all services by default
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Oct 2018 15:56:52 +0000 (17:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2018 14:33:55 +0000 (16:33 +0200)
commit52d620757817bc0fa7de3ddbe43024544ced7ea0
treec8638537cadad51617f99af428bcf09e657a4e00
parent1abaf4887dde91bd19b36a80475a8eb03f363590
core: raise the RLIMIT_NOFILE hard limit for all services by default

Following the discussions with the kernel folks, let's substantially
increase the hard limit (but not the soft limit) of RLIMIT_NOFILE to
256K for all services we start.

Note that PID 1 itself bumps the limit even further, to the max the
kernel allows. We can deal with that after all.
src/core/main.c