digitalmars.D - AutoTester file limit
- Robert Schadek via Digitalmars-d (6/6) Jun 12 2014 Currently I have problems with my Logger PR. It magically fails from
- Kapps (9/17) Jun 12 2014 I could be wrong about this, but from what I remember this comes
- Steven Schveighoffer (5/18) Jun 12 2014 It's 64.
- Robert Schadek via Digitalmars-d (2/10) Jun 13 2014 thanks for the info.
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?
Jun 12 2014
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.
Jun 12 2014
On Thu, 12 Jun 2014 21:22:25 -0400, Kapps <opantm2+spam gmail.com> wrote:On Thursday, 12 June 2014 at 10:04:35 UTC, Robert Schadek via Digitalmars-d wrote:It's 64. But I would hope std.socket doesn't use DMC file descriptors. Winsock doesn't use them. -SteveCurrently 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)
Jun 12 2014
On 06/13/2014 04:03 AM, Steven Schveighoffer via Digitalmars-d wrote:On Thu, 12 Jun 2014 21:22:25 -0400, Kapps <opantm2+spam gmail.com> wrote:thanks for the info.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
Jun 13 2014