Tor relay on vserver exeeding numtcpsock

Thomas S. Benjamin tomb at
Wed Jan 12 17:59:44 UTC 2011


My relay (also Virtuozzo based) has a similar problem.  Have you tried
running with the "ConstrainedSockets 1" option set in your torrc?
This may solve your problem.

You may want to experiment with different rate limits to tune your
relay to your available resources.  I have to continually twiddle my
RelayBandwidthRate and RelayBandwidthBurst to support the most
bandwidth I can before my server starts to drop connections due to
insufficient tcp sockets.

I find that I can generally push about 1000KB before I swallow up my
current 600 numtcpsock limit.

On Wed, Jan 12, 2011 at 10:57 AM, Klaus Layer <klaus.layer at> wrote:
> Hi all,
> after running 2 tor relays over dialup connections for several weeks, I
> recently ordered a vserver (Hosteurope Virtual Server Linux L 4.0) and setup a
> middleman tor relay. Very fast the vserver run into shortage of tcp sockets
> which indicate lots of
> "Error creating network socket: No buffer space available"
> errors. The numtcpsocks parameter limit is set to 550 on the vserver. Before
> asking the ISP to increase the value I would like to ask you what a reasonable
> value  of this parameter would be. The tor wiki describe several parameters
> and values for SWSoft's Virtuozzo here
> but for numtcpsock a recommendation is missing.
> Thanks for your help.
> Klaus
> --
> Klaus Layer
> Walldorf, Germany
> GPG Fingerprint: 466D 12F8 28A3 D137 A77E FC3B 271C 2D79 6F5E 94C9

Sincerely Yours,
              ---Thomas S. Benjamin
To unsubscribe, send an e-mail to majordomo at with
unsubscribe or-talk    in the body.

More information about the tor-talk mailing list