[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1024 file descriptors should be enough for anyone
From: |
Robert Pluim |
Subject: |
Re: 1024 file descriptors should be enough for anyone |
Date: |
Thu, 05 May 2022 14:30:47 +0200 |
>>>>> On Thu, 05 May 2022 13:35:51 +0200, Lars Ingebrigtsen <larsi@gnus.org>
>>>>> said:
>> Comments welcome (I can stick it on a branch if needed). Things that
>> could be done:
>>
>> - make the upper limit either statically or dynamically configurable
>> (on GNU/Linux in theory you could have 1e6 open descriptors)
Lars> I think that would be nice.
OK. I think it increases the coupling between sysdep.c and process.c,
but nothing too bad.
>> - a feature flag
>> - dynamic switching between poll and select
Lars> I guess those could be handy when debugging, but I don't really
envision
Lars> any users would want to twiddle this stuff (famous last words).
Itʼs in system-configuration-features, but perhaps packages will want
to change their behaviour based on a feature flag.
Lars> Anyway, I think sticking this on a feature branch so that a few more
Lars> people can give it a go (before merging) would be good.
Done (and yes, the commit message is incomplete).
Robert
--
- Re: 1024 file descriptors should be enough for anyone, (continued)
Surprisingly high use of file descriptors, Stefan Monnier, 2022/05/04
Re: 1024 file descriptors should be enough for anyone, Lars Ingebrigtsen, 2022/05/05
- Re: 1024 file descriptors should be enough for anyone,
Robert Pluim <=