High-load torrent box: "connection reset by peer" for RPC

Discussion of Transmission that doesn't fit in the other categories
Post Reply
blacklion
Posts: 25
Joined: Wed Aug 04, 2010 7:35 pm

High-load torrent box: "connection reset by peer" for RPC

Post by blacklion »

I have box with transmission-daemon, which is loaded a lot. It is 500MHz/512Mb Soekris PC, which serves ~300 torrents (for 3Tb) on 20Mbit/s link. OS Is FreeBSD.

It works great, and "top" shows that 15-20% of CPU is IDLE.

I have only one problem: GUI (Windows, both Transmission-remote-gui and Transmission-remote-dotnet) reports "Connection reset by peer" every 4-5 minutes. It occurs every time I try to look file list in torrent with large number of files (100+), but sometimes it occurs without any reason at all: GUI shows torrents list, changing speeds, ooops.... "Connection reset by peer"...

Computer with transmission-daemon and computer with GUI are connected with 1Gbit LAN.

I tried to sniff RCP traffic, and, indeed, RPC connection is properly closed (FIN|ACK, etc) from daemon side, it is not TCP timeouts. So, daemon decide to close RPC connection on very large answers (long file lists) and from time to time without obvious reason. It is very annoying.

I could provide any additional information -- debug logs from daemon (if here is way to turn them on), traffic dumps, etc.
Post Reply