The following are some of the more important config options that I use for such a small middle relay:
# Tor: A non-exit relay should be able to handle 7000 concurrent connections
ulimit -n 65535
DirCache 0
ExitRelay 0
# Note: The default MaxMeminQueues is 3/4 (i.e., 192MB) of Total System Memory (i.e., 256MB)
# Uncomment the following line to limit Tor to use less System Memory (i.e., 128MB)
MaxMemInQueues 192 MB
Log notice file /tmp/torlog
Log notice syslog
RunAsDaemon 1
DataDirectory /tmp/tor/torrc.d/.tordb
AvoidDiskWrites 1
_______________________________________________ tor-relays mailing list tor-relays@xxxxxxxxxxxxxxxxxxxx https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays