Slow SSL Downloads

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Slow SSL Downloads

Post by spazlon »

I just installed sabnzbd on an Ubuntu Server 12.04 (64 bit) VM. I am trying to transition from a Windows 7 install which I have been using for the last year or so.

My problem is that my downloads are slow when I connect to an SSL server. By slow I mean like 35KBps. When I use a non-SSL server (both are Astraweb) I get normal download rates.

The problem is on my Ubuntu machine because SSL downloads work fine on my Windows 7 setup.

What can I do to fix this?

Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

Weird, i have no such problems with Ubuntu Server on both virtual
and real hardware. Astraweb works ok too.
The only difference is that I use 32bit variants of the OS.
Is Python for Ubuntu 32 or 64 bit?
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

I'm not sure. How can I check?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Slow SSL Downloads

Post by shypike »

Type "python" on the command line.
The signon will tell you.
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

Uhmm... I still don't know...


ryan@services:~$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Slow SSL Downloads

Post by shypike »

OK, it doesn't tell you.
I'm also not really sure that it matters.
So far I have only tested on 32bit VMWare images.
I'll see if I can find some time to try a 64bit image.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Slow SSL Downloads

Post by sander »

This is how you can determine the bitness of python:

Code: Select all

sander@R540:~$ ll `which python`
lrwxrwxrwx 1 root root 9 Jun 27 14:13 /usr/bin/python -> python2.7*

sander@R540:~$ file /usr/bin/python2.7 
/usr/bin/python2.7: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x623b662458af705775fcbd2576ca06eaa82bc482, stripped

sander@R540:~$ 
My python is " x86-64", so 64bit.

HTH
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

Same, 64bit.


ryan@services:~$ ll `which python`
lrwxrwxrwx 1 root root 9 Apr 17 20:20 /usr/bin/python -> python2.7*
ryan@services:~$ file /usr/bin/python2.7
/usr/bin/python2.7: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x623b662458af705775fcbd2576ca06eaa82bc482, stripped


sander, do you have any issues with SSL downloads?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Slow SSL Downloads

Post by sander »

spazlon wrote:
sander, do you have any issues with SSL downloads?
No ... I never use SSL ... ;-). I now have activated sslreader.eweka.nl, disabled all other servers, and started a download ... just the usual 2.3 MB/s.
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

Is there anything I can show you guys so you can point me in the right direction for trouble shooting. I installed on Linux to force myself to become familiar with it, but at this point I may have to go back to using Win7.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Slow SSL Downloads

Post by sander »

spazlon wrote:Is there anything I can show you guys so you can point me in the right direction for trouble shooting.
You could check your SSL speed in general. Maybe there is something in the VM's network layer causing delay. Do this:

Code: Select all

wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.5.1.tar.bz2
wget https://www.kernel.org/pub/linux/kernel/v3.0/linux-3.5.1.tar.bz2
... and report back the speeds.

Or even beter: install another news-downloader, and see it's SSL speed. Options: NNTPgrab and NZBget.

Or run Ubuntu from a live-USB-stick/CD on the bare metal and not in a VM.

spazlon wrote: I installed on Linux to force myself to become familiar with it, but at this point I may have to go back to using Win7.
But don't you think this is part of becoming familier with Linux?

But: If your only goal is running SABnzbd, and that works perfect for you on Windows, why switch?

.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Slow SSL Downloads

Post by shypike »

Did you install the VMWare tools on your virtual OS?
That way it will use optimized drivers instead of emulating the network hardware.
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

sander wrote:
spazlon wrote: I installed on Linux to force myself to become familiar with it, but at this point I may have to go back to using Win7.
But don't you think this is part of becoming familier with Linux?
Oh yeah, I didn't mean for it to sound like I was complaining. I was just at a loss for where to start troubleshooting. Thanks for giving some guidance.

So I installed the VMWare tools first since that seemed to be the most obvious thing I missed. Then I tried the HTTP download and got full 6Mb/s speeds. Downloaded from HTTPS and got the same speeds.

Then I tested the SSL connection from Astraweb and everything worked perfectly! VMWare tools was the problem.

Thanks to both of you for helping me out! I really appreciate it.
spazlon
Newbie
Newbie
Posts: 8
Joined: August 3rd, 2012, 11:39 pm

Re: Slow SSL Downloads

Post by spazlon »

Ok, so it isn't working. It worked for one day, but now it is slow again.

It appears to be all SSL downloads because when I downloaded that kernel via HTTP it worked fine, but HTTPS was only 5KBps.

What could cause this problem in Linux?
hanker
Newbie
Newbie
Posts: 27
Joined: December 8th, 2011, 9:25 am

Re: Slow SSL Downloads

Post by hanker »

spazlon wrote:I just installed sabnzbd on an Ubuntu Server 12.04 (64 bit) VM. I am trying to transition from a Windows 7 install which I have been using for the last year or so.

My problem is that my downloads are slow when I connect to an SSL server. By slow I mean like 35KBps. When I use a non-SSL server (both are Astraweb) I get normal download rates.

The problem is on my Ubuntu machine because SSL downloads work fine on my Windows 7 setup.

What can I do to fix this?

Thanks.

I'm running sab under Debian squeeze. I have my max download speed set to 400 kB/s. This worked fine when I didn't have ssl enabled. However once I enabled ssl, my download speeds dropped to maybe 10 - 20 kB/s.

I raised my number of connections from 4 to 15, and that took care of it - downloads back to running at 400 kB/s. I'm not sure why this made a difference, but it did.
Post Reply