I've got a relay on an OpenVZ VPS which is constrained by the number of sockets available for use. (numtcpsock
in /proc/user_beancounters
).
This results in my getting these errors in my Tor log:
[warn] Error creating network socket: No buffer space available
Obviously I can keep under the maximum number of sockets by reducing my advertised bandwidth, but that defeats the purpose of running a relay. I've got much more bandwidth available to my server but can't take advantage of it due to the socket limit.
The vendor of my VPS won't raise the limit on TCP sockets.
So... is there a way in Tor to reduce the number of sockets used for a given bandwidth configuration?