On 10/05/2018 11:03 AM, Lennart Poettering wrote:
On Fr, 05.10.18 19:31, Kamil Paral (kpa...@redhat.com) wrote:

(cross-posting to devel and desktop lists, ideally reply to both)

Coincidentally, at All Systems Go! in Berlin last week I had some
discussions with kernel people about RLIMIT_NOFILE defaults. They
basically suggested that the memory and performance cost of large
numbers of fds on current kernels is cheap, and that we should bump
the hard limit in systemd for all userspace processes.

I have thus prepared this a few days ago:

https://github.com/systemd/systemd/pull/10244

This should have the effect on systemd systems that do not patch
around in RLIMIT_NOFILE otherwise that the new default hard limit for
all userspace is 256K (though the soft limit remains at 1K, for compat
with select()). AFAIK Fedora doesn't override RLIMIT_NOFILE
artificially, hence these new systemd upstream defaults should trickle
down to Fedora too.


I was asked about the file limit for SteamProton a few months ago
and I mentioned asking about policy limits publicly for a discussion.
It's good to know that the cost is relatively low and we can
increase the default in systemd.

Thanks,
Laura
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to