[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Unable to start Tor in Cygwin
Nick Mathewson wrote:
> On Mon, Aug 21, 2006 at 08:32:23PM +0800, Pei Hanru wrote:
>
> I'm afraid I don't have a cygwin setup handy, so I can only explain
> what Tor is doing here. Tor is calling Cygwin's setrlimit function to
> change the maximum number of file descriptors (RLIMIT_NOFILE). It
> looks like this call is failing with EMFILES. This shouldn't happen,
> since we don't raise the value any higher than the hard limit. I'd
> suspect a Cygwin limitation.
>
> Googling shows that this has been a problem with _at least some_
> versions of Cygwin:
> http://mail.python.org/pipermail/patches/2002-December/010622.html
> http://www.cygwin.com/ml/cygwin/2003-10/msg00515.html
>
> Does this problem occur with the latest cygwin builds?
Yes, I'm using the latest Cygwin.
Hanru