[tor-relays] TCP: too many orphaned sockets

fatal fatal at mailbox.org
Sun Oct 18 20:41:14 UTC 2015


I had to move my exit relay to another VPS due to the provider getting
annoyed by the abuse mails. The new VPS has exactly the same software
setup but only 512 instead of 1024 Mb RAM. Traffic was/is around 45
Mbit/s on both. On the new VPS I get the following message (from time to
time lots of them):

"kernel: [XXXXXX.XXXXXX] TCP: too many orphaned sockets"

which I've never seen on the old VPS. Memory consumption is as follows:

            total       used       free     shared    buffers     cached
Mem:        492560     465600      26960        348       9852      74476
-/+ buffers/cache:     381272     111288
Swap:      1998844      40956    1957888

I'm unsure if I should limit the maxbandwidth in torrc or try to tune
the kernel settings (like /proc/sys/net/ipv4/tcp_max_orphans
/proc/sys/net/ipv4/tcp_mem) and which of them? Ordering 1024 Gb of RAM
would double the cost and could be an option after I got more experience
with the new provider and abuse mails.

Thanks for any advice!

More information about the tor-relays mailing list