Skip to content
Prev 60071 / 63421 Next

[External] Re: Is it a good choice to increase the NCONNECTION value?

On 8/25/21 6:05 AM, Simon Urbanek wrote:
Hi Simon,

I think the handling of the OS connections limit (querying, increasing, 
basing the real DLL limit on that and on a user request), which takes 
into account problems described by Martin and Luke, could be extended to 
cover the connections limit in question now. The DLL limit heuristics 
were chosen based on our R hard-limit on the number of connections.

Some background is in 
https://developer.r-project.org/Blog/public/2018/03/23/maximum-number-of-dlls/index.html

If it turns out too much work for the near future/next release (it will 
be a lot of work to get it right, including the heuristics and their 
interactions between the connections limit and the DLL limit), we could 
at least (perhaps temporarily) allow users who explicitly want to 
override and take the risk to do so, perhaps with some warnings when the 
overridden value seems too large given the OS-limit and the DLL-limit.

Cheers,
Tomas