Re: Bug(s) with creating large numbers of sockets

2017-11-03 Thread Erik Bray
On Nov 3, 2017 9:36 PM, "Corinna Vinschen" wrote: Hi Erik, why didn't you send this to cygwin-patches? Not much of a problem, just wondering... Will follow up more later, but just to clarify on this a bit I thought the issue was just interesting, and that the question(s) of the upper limit of

Re: Bug(s) with creating large numbers of sockets

2017-11-03 Thread Corinna Vinschen
Hi Erik, why didn't you send this to cygwin-patches? Not much of a problem, just wondering... On Nov 3 15:39, Erik Bray wrote: > [...] > After some playing around I found that I could make up to exactly 1365 > sockets and use them without error. At 1366 I get the error. A very > strange and a

Bug(s) with creating large numbers of sockets

2017-11-03 Thread Erik Bray
Hi all, I found a few bugs in Cygwin w.r.t. creating large numbers of sockets. For example, Cygwin will gladly let you create up to RLIMIT_NOFILE sockets (examples in Python, where I found this problem): >>> import resource >>> import socket >>> resource.getrlimit(resource.RLIMIT_NOFILE) (256, 32