aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: amuled hang downloading big files  (Read 7516 times)

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
amuled hang downloading big files
« on: July 21, 2005, 01:51:05 PM »

Hi all:
I have working with amuled-2.0.3 without any problem. Usually, I am uploading a lot of traffic to Internet, but I download very few times.
Past week I started to download 5 files about 3.5 Gbytes each one, not all of them at the first time (I started only one, when it finished I started the second and go on). Because these files are very large, it download from a lot of sources at the same time (20-70 sources working).
Well, when I am downloading these files amuled is very unstable. It doesn't work more than 3-5 hours without hang. amulecmd can't connect to amuled (neither amulegui or amuleweb). Only way is kill amuled proccess.

Does anyone know what is happen ?

Regards, errico2.

PD: of course, there is HD avaialable.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1551
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: amuled hang downloading big files
« Reply #1 on: July 21, 2005, 01:53:30 PM »

On which FS is your tmp?
Logged
Homefucking is killing prostitution

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #2 on: July 21, 2005, 01:59:49 PM »

ext2fs
Logged

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #3 on: July 21, 2005, 02:00:50 PM »

All is ext2, Linux, /tmp, tmp partition for amule, destination partition....
Logged

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #4 on: July 21, 2005, 02:39:52 PM »

Another time again. It was working for 1 hour. CPU is now 98% idle, HD is available, amulecmd can't connect, there is no connection with another pcs, only this connection:
tcp       70      0 x.x.x.x:35224     195.245.244.243:4661    ESTABLISHED
All other connection are SYN_RECV:
tcp        0      0 x.x.x.x:15870     213.97.33.143:4097      SYN_RECV    
tcp        0      0 x.x.x.x:15870     83.33.248.232:4217      SYN_RECV    
tcp        0      0 x.x.x.x:15870     83.42.30.66:13340       SYN_RECV
.....
But:
$ ps ax | grep amule
  741 ?        S      0:00 amuleweb --amule-config-file=/home/xx/.aMule/amule.conf
  778 ?        S      0:00 amuled

Any idea ?

Regards, errico2.
Logged

lfroen

  • Guest
Re: amuled hang downloading big files
« Reply #5 on: July 21, 2005, 02:49:22 PM »

Quote
download 5 files about 3.5 Gbytes each one

There's some places in amule's code where filesize is "int". This effectively limits in to 2Gb. IMHO you will have same results with gui amule too. Correct me if I'm wrong
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled hang downloading big files
« Reply #6 on: July 21, 2005, 03:39:27 PM »

lfroen: well wrong I downloaded 4Gb files no problem...but with just aMule, I shoudl try aMuled...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuled hang downloading big files
« Reply #7 on: July 21, 2005, 04:19:28 PM »

There's no 4Gb bug since more than 1 year.
Logged

lfroen

  • Guest
Re: amuled hang downloading big files
« Reply #8 on: July 21, 2005, 05:18:26 PM »

Amuled code is ends @ the network level. And it doesn't matter for a socket what kind of files you're down/up loading. I would be very surprized to find a difference
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled hang downloading big files
« Reply #9 on: July 21, 2005, 05:19:38 PM »

Quote
Originally posted by Kry
There's no 4Gb bug since more than 1 year.

the bug was about 2Gb but anyways :P
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #10 on: July 21, 2005, 08:26:36 PM »

I have downloaded a file of 1202274304 bytes (1,2 GB) without problems.
Usually the problems appears with the other files with size about 3,5 GB. I have started to download the last file of 3,5G....
I think it can't be a bug about 'int' usage, because it works sometimes.... and if I try serveral times, the file download 100%. I think that an 'int' bug doesn't work anytime, but.... I don't know amule code....
Regards, errico2.
Logged

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #11 on: July 21, 2005, 08:35:25 PM »

I have seen another problem, perhaps it is ok, but I'm going to explain....

The amule tmp fs has 4 Gbytes. I start to download one file of 3,2 Gb of size. amuled creates a file called 001.part with size 3,2 Gb, but if I do a 'df -h' I see that the tmp fs has 4Gbytes free yet.....
Well, when amuled is downloading the file the free tmp fs is going down... 4G.. 3,9G .... 3,8G ... until 800M. It is ok, 4Gbyes total free - 3,2Gb file size = 800Mbytes.
Then amuled starts to move the file to another filesystem. When it is finished, I can see that the file 001.part doesn't exist, but if I do a 'df -h' I has only 800Mb free....  Eh!! where is the other 3,2Gb....
And it is real, there is only 800Mb free, because if I try to copy a big file to this partition, it crashed due to there is no disk.
If I reboot the Linux, I have got again 4Gb free.....
It's a Red Hat 9, with 2.4.20. Is it a linux problem or amuled problem ?

Regards, errico2.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled hang downloading big files
« Reply #12 on: July 21, 2005, 09:36:57 PM »

It's a Red Hat 9, with 2.4.20. Is it a linux problem or amuled problem ?

^^^
there is your 2gb file problem...redhat has a lmitation in ext2/3 for 2gb files...
this is even still present in redhat enterprise linux 3.
search a little in google, and you'll find some kernel option for it probably

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

errico2

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 65
Re: amuled hang downloading big files
« Reply #13 on: July 22, 2005, 08:16:35 AM »

And this limitation is the reason of the amuled hang ?

Regards, errico2
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled hang downloading big files
« Reply #14 on: July 22, 2005, 09:12:55 AM »

maybe.....

I just know this because I know some systems with rhel and when you do a wget on a debian dvd for example, it does not work....
so this might be a reason for your problem, since aMule has no probelm with files greater 2gb....
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2