Re: AutoTester file limit
On 06/13/2014 04:03 AM, Steven Schveighoffer via Digitalmars-d wrote: On Thu, 12 Jun 2014 21:22:25 -0400, Kapps opantm2+s...@gmail.com wrote: I could be wrong about this, but from what I remember this comes down to DMC's runtime library. The max number of open file descriptors with apis such as fopen is pretty low (about 70 from what I remember) It's 64. But I would hope std.socket doesn't use DMC file descriptors. Winsock doesn't use them. -Steve thanks for the info.
AutoTester file limit
Currently I have problems with my Logger PR. It magically fails from time to time. Whenever it fails std.socket fails with: Open file hard limit too low As far as I can see that is why my tests fail as well. Is this limit a known problem? Suggestions?
Re: AutoTester file limit
On Thursday, 12 June 2014 at 10:04:35 UTC, Robert Schadek via Digitalmars-d wrote: Currently I have problems with my Logger PR. It magically fails from time to time. Whenever it fails std.socket fails with: Open file hard limit too low As far as I can see that is why my tests fail as well. Is this limit a known problem? Suggestions? I could be wrong about this, but from what I remember this comes down to DMC's runtime library. The max number of open file descriptors with apis such as fopen is pretty low (about 70 from what I remember) when using DMC's C runtime (which DMD does use). I don't think you can do much about it besides making sure you're actually closing files when appropriate as some tests might be leaking open file handles.
Re: AutoTester file limit
On Thu, 12 Jun 2014 21:22:25 -0400, Kapps opantm2+s...@gmail.com wrote: On Thursday, 12 June 2014 at 10:04:35 UTC, Robert Schadek via Digitalmars-d wrote: Currently I have problems with my Logger PR. It magically fails from time to time. Whenever it fails std.socket fails with: Open file hard limit too low As far as I can see that is why my tests fail as well. Is this limit a known problem? Suggestions? I could be wrong about this, but from what I remember this comes down to DMC's runtime library. The max number of open file descriptors with apis such as fopen is pretty low (about 70 from what I remember) It's 64. But I would hope std.socket doesn't use DMC file descriptors. Winsock doesn't use them. -Steve