Re: Increasing the default RLIMIT_NOFILE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 15, 2018 at 09:56:18AM +0100, Lennart Poettering wrote:
> On Mo, 29.10.18 08:09, Andrew Eikum (aeikum@xxxxxxxxxxxxxxx) wrote:
> > 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.
> 

Thanks!

> I hope this makes sense,
> 

512K is probably enough for our purposes, though it's still fairly
tight given we've seen over 300K in practice. I don't understand why
unifying with the value Debian has used for a long time isn't the
preferred option. But anyway, this is hardly in my area of
understanding. It's obviously your call to make.

Thanks for your time,
Andrew
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux