Page 1 of 1

Slow start at begining of download 1.1.0RC1

Posted: July 21st, 2016, 11:35 pm
by jdloaner
I have been running SAB for many years (up through version 0.71 i think) however tonight I built a new Ubuntu server and 1.1.0 now have installed. I notice when I add an NZB the first 10 seconds or so the download speed stalls at ~700K and then spikes up to the normal 25-30MB. Has anyone else seen this? I tried with several different NZBs and then loaded those same ones on my 0.7 install and they started instantly, as usual.

Re: Slow start at begining of download 1.1.0RC1

Posted: July 22nd, 2016, 1:41 am
by safihre
This might be due to the new way we make connections, where we ask the DNS for all the IP-addresses (usually a newsserver has multiple per hostname) and then check whichever is fastest.
Maybe you can try and disable it in Config > Switches? It's the 'Server load-balancing' feature.

Re: Slow start at begining of download 1.1.0RC1

Posted: July 22nd, 2016, 6:21 am
by sander
safihre wrote:This might be due to the new way we make connections, where we ask the DNS for all the IP-addresses (usually a newsserver has multiple per hostname) and then check whichever is fastest.
I would be very surprised if that would be the cause. The new feature (happy eyeballs) is meant to avoid lookup/connection delays.

So @jdloaner

Set SABnzbd's Log to +Debug, run a download, and check /.sabnzbd/logs/sabnzbd.log for lines with "happyeyeballs".

Note: you will only see lines if your newsserver has more than one IPv4/IPv6 address.

Code: Select all

2016-06-15 10:52:46,384::INFO::[happyeyeballs:111] Quickest IP address for news.123usenet.nl (port 563, ssl True, preferipv6 True) is 85.12.14.21
2016-06-15 10:52:46,384::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 220 ms
2016-06-15 10:52:46,605::INFO::[happyeyeballs:111] Quickest IP address for news.xennews.com (port 119, ssl 0, preferipv6 True) is 81.171.92.194
2016-06-15 10:52:46,606::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 104 ms
2016-06-15 10:52:47,285::INFO::[happyeyeballs:111] Quickest IP address for ssl.astraweb.com (port 443, ssl True, preferipv6 True) is 216.151.153.46
2016-06-15 10:52:47,286::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 108 ms
2016-06-15 10:52:47,875::INFO::[happyeyeballs:111] Quickest IP address for ssl.astraweb.com (port 443, ssl True, preferipv6 True) is 216.151.153.46
2016-06-15 10:52:47,875::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 122 ms
2016-06-15 10:52:48,531::INFO::[happyeyeballs:111] Quickest IP address for ssl.astraweb.com (port 443, ssl True, preferipv6 True) is 207.246.207.125
2016-06-15 10:52:48,531::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 36 ms
2016-06-15 10:52:49,070::INFO::[happyeyeballs:111] Quickest IP address for ssl.astraweb.com (port 443, ssl True, preferipv6 True) is 216.151.153.21
2016-06-15 10:52:49,071::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 27 ms
2016-06-15 10:52:49,453::INFO::[happyeyeballs:111] Quickest IP address for news.newshosting.com (port 119, ssl 0, preferipv6 True) is 81.171.92.224
2016-06-15 10:52:49,454::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 13 ms
2016-06-15 10:52:52,849::INFO::[happyeyeballs:111] Quickest IP address for ssl-news.eu.xlusenet.nl (port 119, ssl 0, preferipv6 True) is 2001:4de0:1::220
2016-06-15 10:52:52,849::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 95 ms
2016-06-15 10:59:13,284::INFO::[happyeyeballs:111] Quickest IP address for us-secure.newsdemon.com (port 563, ssl 0, preferipv6 True) is 2001:4de0:2101:119e::23
2016-06-15 10:59:13,284::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 4 ms
2016-06-15 10:59:13,938::INFO::[happyeyeballs:111] Quickest IP address for us.newsdemon.com (port 119, ssl 0, preferipv6 True) is 2001:4de0:2101:119e::22
2016-06-15 10:59:13,939::DEBUG::[happyeyeballs:113] Happy Eyeballs lookup and port connect took 14 ms