Richard Giraud <[EMAIL PROTECTED]> added the comment:

After doing some investigation, this appears to the be result of OS X limiting 
the number of files that a process can have open.  Increasing this limit makes 
the issue disappear.

By default, user accounts are limited to 256 open files (per process?) but
this can be changed with ulimit.  To see the current limit, type in
`ulimit -n'.

To increase the allowed number of files to the maximum, type in `ulimit -n
unlimited'.  Sometimes an error message will be generated, sometimes not. 
If a message is generated, restart Terminal.app and try again.  After the
operation succeeds, it's probably a good idea to set the limit back to its
original value (`ulimit -n 256').

After doing some testing, it appears that 256 files is only slightly too
small; `darcs pull -a' succeeds (at the moment) when the file limit is set
to 320.

This may also be applicable to issue87, issue 135, issue478. 

----

I set the priority to bug because I couldn't add this info without doing so.

----------
nosy: +RichardG
priority:  -> bug
status: unread -> chatting

__________________________________
Darcs bug tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue560>
__________________________________

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to