Transmission 3.0 - Getting disconnected at least once a day

300 views
Skip to first unread message

Mike Wrobel

unread,
Oct 7, 2020, 12:45:20 PM10/7/20
to Alt-F
Hi everyone,

I have tried searching and finding a solution, but to be quite honest, a lot of the answers seem to go a bit above my head.  My issue is about once a day my Transmission will disconnect.  The error I get in Transmission is "Announce error: Could not connect to tracker" 

I have multiple trackers there, so I know it's not them and when I reboot the DNS-323 then it's good to go.  

I have looked at the transmission log file, I see these errors:

[2020-10-02 16:32:17.253] UDP Failed to set receive buffer: requested 4194304, got 327680 (tr-udp.c:97) 
[2020-10-02 16:32:17.254] UDP Failed to set send buffer: requested 1048576, got 327680 (tr-udp.c:105) 
[2020-10-02 16:33:24.252] Unable to create session lock file (38): Function not implemented (session-id.c:96) 
[2020-10-04 19:52:23.252] Unable to create session lock file (38): Function not implemented (session-id.c:96) 
[2020-10-07 12:40:37.252] Unable to create session lock file (38): Function not implemented (session-id.c:96)  

But as I've Googled solutions nothing quite seems to match up with what I can do.  I note that my memory seems to be consistently at 75% - 85% which I think is high given that it isn't really doing anything. I also wonder if it's because the disks are going to sleep, but I certainly want that or I'll burn out these disks far too quickly!

Device:
DNS-323
Alt-f info:
The box is currently running Alt-F 1.0 with kernel 4.4.86, and is flashed with "Alt-F-1.0, initrd" and kernel "Alt-F-1.0, kernel 4.4.86".  

Any help is appreciated!!

Here is my running processes log, in case that is helpful.  

Mem: 57828K used, 2828K free, 0K shrd, 3080K buff, 721764K cached
CPU:  15% usr   7% sys   0% nic  76% idle   0% io   0% irq   0% sirq
Load average: 0.10 0.06 0.02 1/72 2048
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 2047  2028 root     R     1200   2%  15% top -bn1
 3933     1 minidlna S    20820  34%   0% minidlna -r -R
 3959  3933 minidlna S    20820  34%   0% minidlna -r -R
 3960  3959 minidlna S N  20820  34%   0% minidlna -r -R
 1383  1381 transmis S    13452  22%   0% transmission-daemon --logfile /var/log/transmission/transmission.log --pid-file /var/run/transmission/transmission.pid --config-dir=/var/lib/transmission
 1386  1381 transmis S    13452  22%   0% transmission-daemon --logfile /var/log/transmission/transmission.log --pid-file /var/run/transmission/transmission.pid --config-dir=/var/lib/transmission
 1379     1 transmis S    13452  22%   0% transmission-daemon --logfile /var/log/transmission/transmission.log --pid-file /var/run/transmission/transmission.pid --config-dir=/var/lib/transmission
 1381  1379 transmis S    13452  22%   0% transmission-daemon --logfile /var/log/transmission/transmission.log --pid-file /var/run/transmission/transmission.pid --config-dir=/var/lib/transmission
 1382  1381 transmis S    13452  22%   0% transmission-daemon --logfile /var/log/transmission/transmission.log --pid-file /var/run/transmission/transmission.pid --config-dir=/var/lib/transmission
 1046  1001 root     S    10520  17%   0% smbd -D
 1001     1 root     S    10340  17%   0% smbd -D
  988     1 root     S    10064  17%   0% nmbd -D
 1321     1 root     S     2036   3%   0% smartd -i 1800
 2028  2027 root     S     1272   2%   0% {sys_utils_proc.} /bin/sh sys_utils_proc.cgi
  609     1 root     S     1224   2%   0% syslogd -C -m 0 -D
  707     1 root     S     1216   2%   0% crond
 2027   755 root     S     1216   2%   0% httpd -ifh /usr/www
  541     1 root     S     1208   2%   0% udhcpc -R -b -p /var/run/udhcpc.eth0.pid -i eth0 -r 192.168.0.188 -x hostname DNS-323-94E2F2
    1     0 root     S     1204   2%   0% init
  755     1 root     S     1204   2%   0% inetd
 1274     1 root     S     1204   2%   0% /bin/sh --
 1275     1 root     S     1200   2%   0% {watch-inetd.sh} /bin/sh /usr/sbin/watch-inetd.sh
  978     1 root     S     1196   2%   0% ntpd -l -p north-america.pool.ntp.org -p 0.pool.ntp.org -p 1.pool.ntp.org
  612     1 root     S     1192   2%   0% klogd
 1839  1275 root     S     1188   2%   0% sleep 180
  660     1 root     S      592   1%   0% sysctrl

mabba18

unread,
Jan 5, 2021, 4:06:29 PM1/5/21
to Alt-F
Also on a DNS323, and I have been trying to deal with the "Could not connect to tracker" problem for years, ever since moving from Alt-f RC4 to 1.0. I was getting it every hour or so with Transmission 2.96. Transmission 3.00 was a little more stable, but it was still losing connection once a day. Always private trackers.

Tired everything, including hardware changes (modem, router, and switch), and the best I could do was set up a Cron job to restart Transmission often.

It started to get worse again this week, so I decided to take another stab at it, and I think I cracked it!

It was as simple as adding proper DNS servers to the Host Setup, instead of having it point to my router.

Fingers crossed, but Transmission has been stable for 48 hours now.

Also, I fixed the " Failed to set send/receive buffer" error by adding the following lines to the sysctl.conf:

net.core.rmem_max = 16777216
net.core.wmem_max = 4194304

Setting the Disk Cache Size to 4mb also seems to help. This can be done using something like Transmission Remote GUI. Also limiting peers, connections etc help with speed and stability.

My DNS323's primary purpose is a "seedbox". Currently seeding ~140 torrents/~1.3TB (rarely more than 1 or 2 are active at any time). The disks sleep properly, and memory usage is around ~80%.  I am amazed that it is as stable and powerful as it is after 10+ years (Thank you João!)

This is a bit of an old post. Not sure if you are still looking for help, but I have seen similar threads so maybe it will help somebody. Good luck.

Mike Wrobel

unread,
Jan 5, 2021, 4:27:04 PM1/5/21
to al...@googlegroups.com
Oh man! I am still looking for help on this and I had just thought that I was DOA.  I find it's been okay for me for like a month and I'm not really sure exactly why that is.  Nothing changed on my end but it's been stable.  I am going to try what you said though!  

THANK YOU!!  

I also use my DNS323 as a seedbox!  Thank you!

--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/NMBBkM_dfy8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/90c3e93d-b61d-448b-b9d9-0d0588d7f738n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages