[Haskell-cafe] hGetContents: resource exhausted

Lally Singh lally.singh at gmail.com
Wed Jul 28 14:27:54 EDT 2010


Ah, it's getting EAGAIN from fds created from prior pipe() calls.  The
other sides look like they were DUP2'd to fds 0&1, I'm guessing for a
fork/exec().

On Mon, Jul 26, 2010 at 10:23 PM, Brandon S Allbery KF8NH
<allbery at ece.cmu.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/26/10 21:01 , Donn Cave wrote:
>> Much easier (but not guaranteed to help) you might be able to
>> see the actual error, at the system call level, if you can trace
>> system calls.  The utility for this varies by platform, but
>> e.g. "strace" or "ktrace".
>
> On Solaris it's truss.
>
> - --
> brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
> system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university      KF8NH
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkxOQw4ACgkQIn7hlCsL25WYwQCgxNsPquHR3fyqZxTAGJTeYlfQ
> +wEAn38Z6Phapm4vMgmgp1/0Y/GDqu2Y
> =KanW
> -----END PGP SIGNATURE-----
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list