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

2021-08-25 Thread Simon Urbanek
Andre, as stated earlier, R already uses setrlimit() to raise the limit (see my earlier reply). As for "special" connections, that is not feasible (without some serious re-write), since the connection doesn't know what it is used for and connections are not the only way descriptors may be us

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

2021-08-25 Thread GILLIBERT, Andre
Hello, The soft limit to the number of file descriptors is 1024 on GNU/Linux but the default hard limit is at 1048576 or 524288 on major modern distributions : Ubuntu, Fedora, Debian. I do not have access to a Macintosh, but it looks like the soft limit is 256 and hard limit is "unlimited", t

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

2021-08-25 Thread Tomas Kalibera
On 8/25/21 6:05 AM, Simon Urbanek wrote: Luke, sure, adjustment at run-time works just fine, the issue currently is that it is baked-in at compile time so there is no way to adjust it (re-building R is not an option in production environment where this usually happens). That said, I'm still