[systemd-devel] Increasing the default RLIMIT_NOFILE
Lennart Poettering
lennart at poettering.net
Thu Nov 15 08:56:18 UTC 2018
On Mo, 29.10.18 08:09, Andrew Eikum (aeikum at codeweavers.com) wrote:
> Hi all,
>
> This is about the increase in the default RLIMIT_NOFILE to 256k, see
> commit 8aeb1d317 and this pull request
> https://github.com/systemd/systemd/pull/10244
>
> I think this is a great change. However, we have seen real
> applications using over 300k handles when using the eventfd-backed
> synchronization primitives implementation in Wine. Debian-derived
> distros have set this limit to 1024*1024 by default for years. Raising
> the limit to this number would help these applications, and would
> unify around a number that is already in common use.
So, I prepped this PR now:
https://github.com/systemd/systemd/pull/10780
It's not quite at the 1M yet you requested. I am not sure we should go
to the max right away, hence 512K, as something that is higher than
the 300K you saw, but still leaves some room upwards.
I hope this makes sense,
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list