Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
C200 crashes at high speed downloads.
01-18-2012, 01:49 PM (This post was last modified: 01-18-2012 01:50 PM by JasC.)
Post: #1
C200 crashes at high speed downloads.
Hi guys,

I am using the pch200 quite often for downloading torrents and nzb files.

The problem I am facing for months already (basicly since I got my pchc200) is that my PCH-C200 will crash when downloading at high speed.

I have been searching this forum and found a thread of people reporting the same issue, I just don't know if there is a fix already for this? Or maybe some kind of app?

I use the 'normal' standard programs which came with the pch200 to download nzb's and torrents (nzbget and for torrents to program which uses this url http://ipadres:8883/torrent/bt.cgi ). When I restrict my downloads to 750kb/s and upload to 750/kb/s I won't crash.

My connection is 120mbit.

Hope anyone can clarify something here Smile
Find all posts by this user
Add Thank You Quote this message in a reply
01-18-2012, 06:02 PM (This post was last modified: 01-18-2012 06:03 PM by DathRarhek.)
Post: #2
RE: C200 crashes at high speed downloads.
Known problem. Known fix.

What versions of the torrent downloader and nzb downloader are you using? Most newer versions of the custom usenet and torrent apps execute this:
Code:
    echo 524288 > /proc/sys/net/core/rmem_default
    echo 524288 > /proc/sys/net/core/rmem_max
    echo "16384 87380 87380" > /proc/sys/net/ipv4/tcp_rmem
You can also execute that manually via telnet. Required on each boot.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to DathRarhek for this post
01-18-2012, 07:17 PM (This post was last modified: 01-18-2012 07:51 PM by JasC.)
Post: #3
RE: C200 crashes at high speed downloads.
Thanks for reply.

I am using NZBGet version 0.6.0 and torrent downloader version I can't see anywhere Sad

Other details are:

Firmware version: 03-04-110530-21-POP-408-000
Kernel version: 21-POP
NMT Version: 03-04-110520-21-POP-408

Which pops up another question, does a firmware update (if available) fix this? And when I update my firmware and nmt apps, do i lose my data? All my apps are installed on same disc as all my files (internal 2tb drive)

Every time my system reboots I need to execute those commands you mean? Do you maybe have tips on which apps I could use to replace my current torrent downloader/nzb downloader?

I never used telnet actually, what to do? Can you maybe type in the commands here?

I guess I have to open the telnet port first (believe its port 23?)

Sorry for all the questions, I really want to get this fixed Smile
I just opened the port and connected via o ipadres 23

sh-3.00# is what I see.. now what to do? Looks like unix commands work here, have some experience with that, but not much.

If this can be fixed simpler, by means of updating something then that might a better idea i think Tongue
Update:

I just installed latest version of transmission, v2.42, will this fix the crashing when downloading high speed torrents?

I will also download the latest nzb get, v0.8 i believe.
Find all posts by this user
Add Thank You Quote this message in a reply
01-19-2012, 10:13 AM
Post: #4
RE: C200 crashes at high speed downloads.
No, no firmware update will fix this. It's not present in the latest firmware.

Having installed Transmission-2.42 should fix it. The commands are then executed when Transmission is started. Not only for torrent downloads but for all high speed transfers.

You can double check whether the commands are executed by typing this at the telnet command line:
Code:
cat /proc/sys/net/ipv4/tcp_rmem
You should see the values I listed in the other commands. You can also double check the other parameters by catting those.

Of course the real check is actually performing a high speed download. I'm unfortunately no longer on my 100mbit connection but rather have a poormans 10mbit connection, so I have no experience with the crashing.
Find all posts by this user
Add Thank You Quote this message in a reply
01-19-2012, 12:07 PM
Post: #5
RE: C200 crashes at high speed downloads.
Besides that, the PCH isn't designed as a high speed downloading machine. It's a know fact that high speed downloading can cause stability issues.
My nzbget is currently topped to 2850KB eventhoug 3200KB is possible. Better safe than sorry.


PCH-A100 (FW 01-17-100317-15-POP-402-000) (00-17-091216-15-POP-402 NMT Apps)
Philips 28PW9611/01 PAL SD, connected with Composite

Old skoolCool
Find all posts by this user
Add Thank You Quote this message in a reply
01-19-2012, 03:41 PM
Post: #6
RE: C200 crashes at high speed downloads.
Don't think it is working, got 2 crashed already Sad

Yea I guess I should limit my PCH to a certain download/upload speed.

Or I should get myself a synology NAS.
Find all posts by this user
Add Thank You Quote this message in a reply
01-19-2012, 08:55 PM
Post: #7
RE: C200 crashes at high speed downloads.
I'm having the same problem with nzbget. Unit (C200) freezes if I download at 2000+ KB/s.

I have transmission 2.42 and nzbget 0.8 installed through CSI.

After startup when both are running my /proc/sys/net/ipv4/tcp_rmem values are 16384 87380 1040384.

If I manually stop and start Transmission the values are 16384 87380 87380.

I seems that the values are changed after Transmission is started but I haven't found out by which process... I have manually stopped and started all NMT applications, but none of them change the values to 16384 87380 1040384 after starting.

Anyone have an idea about where the values are changed after starting Transmission and on how I can assure the correct values are used automatically after reboot/startup?
Find all posts by this user
Add Thank You Quote this message in a reply
01-20-2012, 09:42 AM
Post: #8
RE: C200 crashes at high speed downloads.
(01-19-2012 08:55 PM)Disney Wrote:  I'm having the same problem with nzbget. Unit (C200) freezes if I download at 2000+ KB/s.

I have transmission 2.42 and nzbget 0.8 installed through CSI.

After startup when both are running my /proc/sys/net/ipv4/tcp_rmem values are 16384 87380 1040384.

If I manually stop and start Transmission the values are 16384 87380 87380.

I seems that the values are changed after Transmission is started but I haven't found out by which process... I have manually stopped and started all NMT applications, but none of them change the values to 16384 87380 1040384 after starting.

Anyone have an idea about where the values are changed after starting Transmission and on how I can assure the correct values are used automatically after reboot/startup?

Hmm.. that's interesting behaviour that I can confirm also happening here. The commands are executed by Apps/Transmission/daemon.sh. Something during boot is either overwriting those values again, or the commands can't be executed. Maybe /proc isn't mounted at that point (likely), or the echo command isn't available (unlikely). I'll try to investigate this.

@JasC
Can you confirm this also being the case for you? And do the crashes disappear if the receive buffer is set lower? I think that's been confirmed a few times, so I was already surprised this wasn't working for you.
Find all posts by this user
Add Thank You Quote this message in a reply
01-20-2012, 07:03 PM (This post was last modified: 01-20-2012 07:08 PM by JasC.)
Post: #9
RE: C200 crashes at high speed downloads.
Will check it out tomorrow, and post findings here.
Ok checked it out quickly, didnt feel like waiting Tongue I can also confirm this behaviour! The crashes/freezes are gone when i limit my download speed, as Disney also posted!
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2012, 11:08 AM
Post: #10
RE: C200 crashes at high speed downloads.
@JasC
I would also be interested if the crashes are gone at high speed but with the receive buffer limited.

Can someone with the LTU package check if they have the same thing happening?

After checking the value of tcp_rmem during boot constantly it seems it set correctly for a short while but then reset again. I figured out that /etc/init.d/S07network call to "ipmonitor reset" is probably resetting it. As far as I know ipmonitor is syabas program, so I'm not sure how to go from here.

I haven't delved to deep in how the Apps startup mechanism works, but if we can somehow assure that the startup of Apps is after S07network finishes then we're good.
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2012, 12:12 PM (This post was last modified: 01-21-2012 12:13 PM by JasC.)
Post: #11
RE: C200 crashes at high speed downloads.
(01-21-2012 11:08 AM)DathRarhek Wrote:  @JasC
I would also be interested if the crashes are gone at high speed but with the receive buffer limited.

Can someone with the LTU package check if they have the same thing happening?

After checking the value of tcp_rmem during boot constantly it seems it set correctly for a short while but then reset again. I figured out that /etc/init.d/S07network call to "ipmonitor reset" is probably resetting it. As far as I know ipmonitor is syabas program, so I'm not sure how to go from here.

I haven't delved to deep in how the Apps startup mechanism works, but if we can somehow assure that the startup of Apps is after S07network finishes then we're good.

What do you mean with receive buffer? Low upload or limited amount of torrents?
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2012, 12:57 PM
Post: #12
RE: C200 crashes at high speed downloads.
(01-21-2012 12:12 PM)JasC Wrote:  What do you mean with receive buffer? Low upload or limited amount of torrents?

Sorry.. tcp receive window I mean. You do this by the commands I've posted before:
Code:
echo 524288 > /proc/sys/net/core/rmem_default
    echo 524288 > /proc/sys/net/core/rmem_max
    echo "16384 87380 87380" > /proc/sys/net/ipv4/tcp_rmem
Just execute these through telnet. You can check whether the values (before you set them) are wrong by executing:
Code:
cat /proc/sys/net/ipv4/tcp_rmem
Change to the other paths to check the values of those parameters.
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2012, 05:23 PM (This post was last modified: 01-21-2012 05:28 PM by JasC.)
Post: #13
RE: C200 crashes at high speed downloads.
When I connect with telnet and first do this command:

cat /proc/sys/net/ipv4/tcp_rmem

I get: 16384 87380 1040384

(this is ofcourse with all apps running with latest version)

Then I did:

echo 524288 > /proc/sys/net/core/rmem_default
echo 524288 > /proc/sys/net/core/rmem_max
echo "16384 87380 87380" > /proc/sys/net/ipv4/tcp_rmem

And afterwards did cat /proc/sys/net/ipv4/tcp_rmem

with this as result:

16384 87380 87380

I will now start downloading some large torrent file with transmission to see what happens.
Find all posts by this user
Add Thank You Quote this message in a reply
01-22-2012, 11:10 AM
Post: #14
RE: C200 crashes at high speed downloads.
Still downloading at unlimited speed without crashes here..
Find all posts by this user
Add Thank You Quote this message in a reply
01-22-2012, 12:28 PM (This post was last modified: 01-22-2012 12:57 PM by Disney.)
Post: #15
RE: C200 crashes at high speed downloads.
(01-21-2012 11:08 AM)DathRarhek Wrote:  @JasC
I would also be interested if the crashes are gone at high speed but with the receive buffer limited.

Can someone with the LTU package check if they have the same thing happening?

After checking the value of tcp_rmem during boot constantly it seems it set correctly for a short while but then reset again. I figured out that /etc/init.d/S07network call to "ipmonitor reset" is probably resetting it. As far as I know ipmonitor is syabas program, so I'm not sure how to go from here.

I haven't delved to deep in how the Apps startup mechanism works, but if we can somehow assure that the startup of Apps is after S07network finishes then we're good.

Ok, so I started a usenet download with all apps running and manually setting /proc/sys/net/ipv4/tcp_rmem. While monitoring the value during download the values change back to 16384 87380 1040384 after about 20 minutes...

I reset the value and will monitor again.

update: this time the values were reset after 20-25 minutes. I'm just letting it run now waiting for the freeze...
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  A400 maximum torrent speed clao 4 827 01-17-2014 02:58 PM
Last Post: chris57
  C-200 Torrent - I can't delete completed downloads sentreete 9 2,774 01-07-2014 05:45 PM
Last Post: chris57
  Bit torrent Sync on A200 / C200 rvdet 2 1,747 09-11-2013 04:48 PM
Last Post: chris57
  C200 Torrent Client Observations NJTheAVL 0 950 08-25-2013 12:07 AM
Last Post: NJTheAVL
  Slow download speed and UI response with large torrents Nightquest 0 981 08-21-2013 06:37 PM
Last Post: Nightquest
  HDD crashes with 24/7 Transmission usage th14 16 3,145 04-10-2013 07:10 PM
Last Post: michaelarrow
  Transmition crashes cretan 9 2,570 03-04-2013 11:00 AM
Last Post: Spoks
  transmission speed disappear xiaorui 1 827 02-13-2013 02:25 PM
Last Post: AdrianaBo
  Slow speed on torrent / okey on pc2pc Soerenhelmer 0 780 11-26-2012 06:32 PM
Last Post: Soerenhelmer
  GEt the most out of my usenet speed Goldrolly 2 1,370 11-06-2012 06:38 PM
Last Post: accident

Forum Jump: