Results 1 to 10 of 10

Thread: Complete freeze when downloading torrents

  1. #1

    Default Complete freeze when downloading torrents

    Not quite sure if this is the correct forum to post in. But here we go anyway!

    I'm experiencing complete system freezes when dowloading torrents with more than 800kb/sec (I think this is the limit, I've capped it at 750, and it seems to be running ok now). I had this same problem in Ubuntu aswell. But not in Win 7. The problem also appeared in ubuntu when streaming video through VLC with more than 800kbps.

    As my connection gives me quite alot higher download speeds this kind of annoys me, and me being quite new to this whole Linux thing, don't really know what to do. I had a dialogue with someone at Ubuntuforums regarding this, but we pretty much got nowhere.

    I have an ASUS 1201N laptop, with ION chipset.

    If anyone have any ideas I'd welcome them with open arms!

    -Christoffer

  2. #2

    Default Re: Complete freeze when downloading torrents

    Timeframe for editing has passet.

    It freezes regardless of speed, so look away from that. Does not matter what speed I download torrents in, it freezes. It also seems to happen at random points, it can take a couple of minutes or instantly after starting the torrent client.

    I have tried several clients, same results.

    I also have an external HDD, but it doesnt seem to matter what HDD i download to.

    In Ubuntu I also experienced freezes when playing flash content, youtube etc. Not had those yet.

    I'm running SUSE 11.4 btw.

  3. #3

    Default Re: Complete freeze when downloading torrents

    Quote Originally Posted by aenemic View Post
    Timeframe for editing has passet.

    It freezes regardless of speed, so look away from that. Does not matter what speed I download torrents in, it freezes. It also seems to happen at random points, it can take a couple of minutes or instantly after starting the torrent client.

    I have tried several clients, same results.

    I also have an external HDD, but it doesnt seem to matter what HDD i download to.

    In Ubuntu I also experienced freezes when playing flash content, youtube etc. Not had those yet.

    I'm running SUSE 11.4 btw.
    800kbps is pretty fast over 5mbps, but your system shouldn't freeze when d/l using torrents.

    Are you using Transmisson for your torrents?

    Can you run torrent download and post any output from cat /var/log/warn or cat /var/log/messages or messages related to torrents? If its minutes that your system freezes allow the time, but not if its hours.

  4. #4
    Mysterious NNTP User

    Default Re: Complete freeze when downloading torrents

    On 16/04/11 13:06, aenemic wrote:
    >
    > Not quite sure if this is the correct forum to post in. But here we go
    > anyway!
    >
    > I'm experiencing complete system freezes when dowloading torrents with
    > more than 800kb/sec (I think this is the limit, I've capped it at 750,
    > and it seems to be running ok now). I had this same problem in Ubuntu
    > aswell. But not in Win 7. The problem also appeared in ubuntu when
    > streaming video through VLC with more than 800kbps.
    >
    > As my connection gives me quite alot higher download speeds this kind
    > of annoys me, and me being quite new to this whole Linux thing, don't
    > really know what to do. I had a dialogue with someone at Ubuntuforums
    > regarding this, but we pretty much got nowhere.
    >
    > I have an ASUS 1201N laptop, with ION chipset.
    >
    > If anyone have any ideas I'd welcome them with open arms!
    >
    > -Christoffer
    >
    >


    i have a similar problem with my wireless connection. i'm using opensuse
    11.4 x64 clean install on an asus M4A78LT-M with a usb wireless device,
    linksys wusb54gc using the rt73usb driver and kde.Pc works fine, fast
    with no issues as long as i do not have heavy traffic on the wireless.
    If i download a file thru browser, ktorrent or i stream avi file to my
    TV using dlna, pc completely freezes in about 1-2 hours of the download
    start. /var/log/message shows nothing and i have already changed my
    setup from dhcp to fix ip to exclude dhcp negotiation of the picture but
    to no avail. I've removed Pulse audio as i recall similar issues on
    previous opensuse version but no improvement. There is absolutely no
    error or warn in any log files, just a a hard freeze. I've searching for
    issues with this wifi driver or with the asus motherboard but i could
    not find any. i though that usb wifi device should be the culprit but
    before buy a different one, i'll like to be sure that indeed it is the
    root cause.

    Thanks for any tips


  5. #5

    Default Re: Complete freeze when downloading torrents

    Quote Originally Posted by Mysterious View Post
    On 16/04/11 13:06, aenemic wrote:
    >
    > Not quite sure if this is the correct forum to post in. But here we go
    > anyway!
    >
    > I'm experiencing complete system freezes when dowloading torrents with
    > more than 800kb/sec (I think this is the limit, I've capped it at 750,
    > and it seems to be running ok now). I had this same problem in Ubuntu
    > aswell. But not in Win 7. The problem also appeared in ubuntu when
    > streaming video through VLC with more than 800kbps.
    >
    > As my connection gives me quite alot higher download speeds this kind
    > of annoys me, and me being quite new to this whole Linux thing, don't
    > really know what to do. I had a dialogue with someone at Ubuntuforums
    > regarding this, but we pretty much got nowhere.
    >
    > I have an ASUS 1201N laptop, with ION chipset.
    >
    > If anyone have any ideas I'd welcome them with open arms!
    >
    > -Christoffer
    >
    >


    i have a similar problem with my wireless connection. i'm using opensuse
    11.4 x64 clean install on an asus M4A78LT-M with a usb wireless device,
    linksys wusb54gc using the rt73usb driver and kde.Pc works fine, fast
    with no issues as long as i do not have heavy traffic on the wireless.
    If i download a file thru browser, ktorrent or i stream avi file to my
    TV using dlna, pc completely freezes in about 1-2 hours of the download
    start. /var/log/message shows nothing and i have already changed my
    setup from dhcp to fix ip to exclude dhcp negotiation of the picture but
    to no avail. I've removed Pulse audio as i recall similar issues on
    previous opensuse version but no improvement. There is absolutely no
    error or warn in any log files, just a a hard freeze. I've searching for
    issues with this wifi driver or with the asus motherboard but i could
    not find any. i though that usb wifi device should be the culprit but
    before buy a different one, i'll like to be sure that indeed it is the
    root cause.

    Thanks for any tips
    @Mysterious
    @aenemic
    I know Adobe's npviewer freezes Firefox, its workspace. Pkill -9 npviewer in a terminal, kill from top in a terminal or killed from system monitor unfreezes FF and the workspace.

    Though I can't prove it I suspect bad tcp.udp packets from the internet.

    Do either of you have lots of message output in /var/log/firewall or in /var/log/messages from SuseFirewall? If true could you use susepaste.org to paste a few?

    If you know how to use Wireshark you can capture the traffic when downloading torrents up to point of freeze. Set the capture options for multiple files, saved every 3-30 seconds or something.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  6. #6
    Mysterious NNTP User

    Default Re: Complete freeze when downloading torrents

    On 18/04/11 15:36, tararpharazon wrote:
    I know Adobe's npviewer freezes Firefox, its workspace. Pkill -9
    > npviewer in a terminal, kill from top in a terminal or killed from
    > system monitor unfreezes FF and the workspace.
    >
    > Though I can't prove it I suspect bad tcp.udp packets from the
    > internet.
    >
    > Does either of you have lots of message output in /var/log/firewall or
    > in /var/log/messages from SuseFirewall? If true could you use
    > susepaste.org to paste a few?
    >
    > If you know how to use Wireshark you can capture the traffic when
    > downloading torrents up to point of freeze. Set the capture options
    > for multiple files, saved every 3-30 seconds or something.
    >
    >


    Thanks for you reply. Freeze happens with nothing loaded as for example,
    streaming an avi file to the TV. Firewall is already disable and
    /var/log/message shows nothing. The only 3 lines before the hard reboot
    is -- mark----. In my case is a really hard hang, monitor is black, no
    response from keyboard or mouse, nothing, literally dead.


    I'll enable the magic sysrq keys and i'll see if i can get something
    with it on next freeze.

    Thanks

  7. #7

    Default Re: Complete freeze when downloading torrents

    i glanced thru the discussion here and remembered something i fixed long ago, but i'm not sure it really applies in this instance. I'll give you the details because if you do any "serious" torrenting, you will eventually have to address it.

    there are limits imposed by the system for the number of file descriptors processes can access, these limits are defined in /etc/security/limit.conf and the default for a normal install is 1024.

    this sounds like a lot, but if you have 300 connections you quickly exceed this default number and threads begin to be shut down. I added this line to limits.conf (edited as root) which confined the larger limit to one user only

    blkdragon soft nofile 4096

    this gave me enough "headroom" to do what i needed thou it could be set higher.

    i did NOT experience a system freeze when this limit was reached, just gradually the torrent threads shut down and throughput fell. Hence, this is probably not your situation, but might be worth a look.

    This situation is discussed in the Azureus/Vuze wiki:

    Too many open files - VuzeWiki

    though i didn't use precisely the workaround they mentioned.

    good luck

  8. #8
    Mysterious NNTP User

    Default Re: Complete freeze when downloading torrents

    On 18/04/11 20:06, j xavier wrote:

    > This situation is discussed in the Azureus/Vuze wiki:
    >
    > 'Too many open files - VuzeWiki'
    > (http://wiki.vuze.com/w/Too_many_open_files)
    >
    > though i didn't use precisely the workaround they mentioned.
    >
    > good luck
    >
    >


    Thanks for the help regarding this issue.
    It looks like i've found the culprit of the hard hangs and it was
    tvmobili. I've unload it and download files all night and server did not
    hang.

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Complete freeze when downloading torrents

    I've prepared a paper addressing this problem.

    If you're running Torrents, Meta downloads or some other massive simultaneous File Transfer, you should know that default TCP Buffers are inadequate because a default Distro has to be tuned to accomodate low resource hardware. If you have sufficient resources, you can safely enlarge your TCP Buffers and make other adjustments that enable TCP Windows scaling and Congestion Control algorithms that address less than reliable Internet connections.

    This is draft version of my paper which is largely finished for tuning Linux

    https://sites.google.com/site/4techs...ork-connection

    HTH,
    Tony

  10. #10
    Mysterious NNTP User

    Default Re: Complete freeze when downloading torrents

    On 19/04/11 21:06, tsu2 wrote:
    >
    > I've prepared a paper addressing this problem.
    >
    > If you're running Torrents, Meta downloads or some other massive
    > simultaneous File Transfer, you should know that default TCP Buffers are
    > inadequate because a default Distro has to be tuned to accomodate low
    > resource hardware. If you have sufficient resources, you can safely
    > enlarge your TCP Buffers and make other adjustments that enable TCP
    > Windows scaling and Congestion Control algorithms that address less than
    > reliable Internet connections.
    >
    > This is draft version of my paper which is largely finished for tuning
    > Linux
    >
    > http://tinyurl.com/3lp6onc
    >
    > HTH,
    > Tony
    >
    >



    Thanks Tony. I'll look introduce this changes on my machine

    Gonzalo

Similar Threads

  1. 11.2 - Torrents Some Need Seeds
    By robopensuse in forum General Chit-Chat
    Replies: 47
    Last Post: 23-Nov-2009, 07:43
  2. Torrents?
    By josephbc in forum Install/Boot/Login
    Replies: 6
    Last Post: 26-Apr-2009, 22:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •