Ken, thanks for reporting the problem in . Please try the attached patch. Although it avoids getrlimit and it works for me on both GNU/Linux and Solaris, I can't easily test it on Cygwin. I'll CC: this to Eli as a heads-up, as he's interested in the MS-Windows case.