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.

Reply via email to