<div dir="ltr">You should be able to use normal ulimit style settings,   Limiting open files count (a socket is an open file).<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 8:38 AM, Roger Dingledine <span dir="ltr"><<a href="mailto:arma@mit.edu" target="_blank">arma@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Apr 09, 2013 at 10:19:38PM -0400, Steve Snyder wrote:<br>
> I am running Tor v0.2.3.25 in a VPS that limits me to a max of 4096<br>
> sockets in use.  How can I instruct Tor not to attempt to use more<br>
> than this number?<br>
><br>
> Yes, I know about ConstrainedSockets/ConstrainedSockSize, but the<br>
> way I read these it limits the amount of memory used, not the socket<br>
> count.<br>
><br>
> Advice, please?  Thanks.<br>
<br>
</div>I believe there is no such feature currently.<br>
<br>
How should it work? That is, which connections should it refuse?<br>
<br>
Currently we assume that all relays are able to reach all other relays.<br>
Otherwise we get into the situation where the network isn't a clique,<br>
and anonymity analysis from path selection gets complex really quickly<br>
("I saw the connection from that relay, so the hop before that couldn't<br>
have been this other relay because there's no link, therefore ...")<br>
<span class="HOEnZb"><font color="#888888"><br>
--Roger<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</div></div></blockquote></div><br></div>