[Haskell-cafe] hGetContents: resource exhausted
haskell at benmachine.co.uk
Mon Jul 26 07:59:26 EDT 2010
On Mon, Jul 26, 2010 at 10:47 AM, Magnus Therning <magnus at therning.org> wrote:
> On Sun, Jul 25, 2010 at 23:47, Lally Singh <lally.singh at gmail.com> wrote:
>> Hey all,
>> This is on OpenSolaris. Simple attempts to build cabal packages
>> give me this error, and I don't know what it means. Here's an
>> [07/25 18:51::lally at sol type-level]$ runghc Setup.hs configure
>> Configuring type-level-0.2.4...
>> Setup.hs: fd:8: hGetContents: resource exhausted (Resource temporarily
>> Setup.hs: fd:8: resource exhausted
>> Does anyone know what this means? I'm trying to just get the llvm
>> bindings installed (requiring mtl & type-level).
> A quick guess: you're running out of filedescriptors.
The error gives the descriptor number as 8, so I don't think that's
terribly likely :)
Resource temporarily unavailable is the string that corresponds to the
EAGAIN error, which is typically presented by operations that would
block being used in non-blocking mode. I have no idea what would cause
it to be a fatal error in a hGetContents call.
More information about the Haskell-Cafe