Unable to start Tor in Cygwin

Pei Hanru peihanru at gmail.com
Tue Aug 22 08:19:10 UTC 2006


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



More information about the tor-talk mailing list