Page 1 of 1
Slow speeds possible ssl malfunction
Posted: June 26th, 2009, 3:47 pm
by boxie
Hi,
A couple of days ago I noticed that my download speed wasn't at it's full potential. This is normal because my provider uses some harsh traffic-shaping. But this was unusually slow.. I'm using SABnzbd 0.4.11 on a debian install / python 2.5 & pyopenssl are installed.
So i did a search and figured out that it has to do with not downloading with a SSL enabled connection. I verified it with my settings and strangely i'm using a SSL server and SSL is enabled in SABnzbd config file.
So i did an comparison to be sure that the traffic-shaping has not got any worse with newsleecher and to my surprise the speed was back again at neer to full speed. Switched back to SABnzbd and got only very slow speeds...
My question is the SSL implementation of SABnzbd broken ? how to fix ?
Re: Slow speeds possible ssl malfunction
Posted: June 26th, 2009, 4:14 pm
by shypike
Could be more factors involved, like updates of Debian.
We only test Ubuntu, and even on that we get mixed results.
It seems to me that Linux distributions have a rather cavalier approach to updating
all kinds of libraries.
Obviously there could also be an error in SABnzbd.
On other hand, did it work OK with 0.4.11 before?
There have been no changes to the SSL support since 0.4.0.
Re: Slow speeds possible ssl malfunction
Posted: June 26th, 2009, 4:25 pm
by boxie
shypike wrote:
Could be more factors involved, like updates of Debian.
We only test Ubuntu, and even on that we get mixed results.
It seems to me that Linux distributions have a rather cavalier approach to updating
all kinds of libraries.
Obviously there could also be an error in SABnzbd.
On other hand, did it work OK with 0.4.11 before?
There have been no changes to the SSL support since 0.4.0.
True

but i also downloaded the mac version but it has the same flaw ... it was all good until a week ago...
So what is the difference between newsleecher's SSL implementation and SAB's one
Re: Slow speeds possible ssl malfunction
Posted: June 28th, 2009, 10:16 am
by switch
boxie wrote:
So what is the difference between newsleecher's SSL implementation and SAB's one
Unless newsleecher decided to open source their code, that is not something that can be easily figured out.
For SSL connections we use a very popular SSL library called
pyOpenSSL. You could try using different versions of this library.
1) What ISP do you have, and how much do they throttle non-SSL connections?
2) Did your setup with newsleecher use the same port as in sabnzbd?
3) How much CPU usage is going on during SABnzbd's downloading?
4) For how long did you download using newsleecher?
If you were having no issues with it before, I would point the blame at your network configuration/connection even though newsleecher says things are ok.
Re: Slow speeds possible ssl malfunction
Posted: June 29th, 2009, 8:07 am
by boxie
switch wrote:
boxie wrote:
So what is the difference between newsleecher's SSL implementation and SAB's one
Unless newsleecher decided to open source their code, that is not something that can be easily figured out.
For SSL connections we use a very popular SSL library called
pyOpenSSL. You could try using different versions of this library.
1) What ISP do you have, and how much do they throttle non-SSL connections?
2) Did your setup with newsleecher use the same port as in sabnzbd?
3) How much CPU usage is going on during SABnzbd's downloading?
4) For how long did you download using newsleecher?
If you were having no issues with it before, I would point the blame at your network configuration/connection even though newsleecher says things are ok.
1) UPC (netherlands) and it's know for it's trafic-shaping on non-ssl Usenet connections. It's 16 Mb line (1700kb/s) and it get's capped to (400kb/s).
2) Yes
3) 8-10% No clue what you can read of that without knowing the cpu power of the machine

(1,83ghz centrino) But i also tested it on a Macbook same problem.
4) 15 minutes
I can understand that you are blaming my network, that's why i didn't send it in as a bug... I have some spare time and willing to get to the bottom of this. The network hasn't changed and i have run SAB on a linux and a mac system so configuration issues are also not the problem (and it worked until a week ago just fine)
So any suggestions how to proceed ?
Re: Slow speeds possible ssl malfunction
Posted: June 29th, 2009, 9:35 am
by shypike
Maybe a dumb question.
Did you also test the Windows version of SABnzbd on the same PC that you tested newsleecher on?
Re: Slow speeds possible ssl malfunction
Posted: June 29th, 2009, 2:36 pm
by boxie
shypike wrote:
Maybe a dumb question.
Did you also test the Windows version of SABnzbd on the same PC that you tested newsleecher on?
Jep same problem

Re: Slow speeds possible ssl malfunction
Posted: July 5th, 2009, 4:36 pm
by Bacow
Having the same problems with the same ISP (UPC)
Basically, i cant go any faster with sabnzbd 0.4.11 then around 1100 KBs using SSL.
But when i use newsleecher with the same connection (4.0 Beta 3) its maxxing my connection @ 3000KB/s.
I tested it mutiple times and it always gave the above result.
I am using the windows version of sabnzbd and i hear more UPC users of this 'problem' on the dutch forums.