XUpload - Progress bar stops

Message
Author
Maks
Posts: 3
Joined: Sep 03, 2008 10:00 am

Progress bar stops

#1 Postby Maks » Sep 03, 2008 10:33 am

Hi,

I have Xupload pro, latest version.

Everytime I try to upload a large file the progress bar will stop at approximately 7.24 minutes.
File progress is at approximately 21.6 of 91.0 Mbytes at that moment.
Browser: Firefox

When I check the temp dir the temp file size keeps increasing.

Vars in XUploadConfig.pm are set to:
max_upload_size => 100
max_upload_filesize => 500
(switched these, seemed to be a bug I read about earlier)

I already checked:
- TimeOut in apache2.conf -> set to 6000 , no result
- post_max_size in php.ini -> set to 120M , no result
- upload_max_filesize in php.ini -> set to 200M , no result

Is there any config parameter I am missing? Or any other suggestions why the progress bar is hanging?
Any help would be very much appreciated as I need the system up and running in a couple of days...


Thanks in advance,
Maks

Maks
Posts: 3
Joined: Sep 03, 2008 10:00 am

#2 Postby Maks » Sep 03, 2008 3:31 pm

After more testing seems that progress bar will stop on different times/different upload sizes.
Tested it from Windows machine and OsX, all with firefox...
Still have to see the first time the progress bar will make it to the end of the upload with a large file.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#3 Postby PilgrimX182 » Sep 04, 2008 6:38 am

Try to increase delay between ajax requests: in Templates/xstatus.js find

Code: Select all

setTimeout("jah('upload_status.cgi?uid="+sid+"&ajax2=1&num="+num+"');",100);
and increase 100 to 500 or 1000 or even 5000
Make several tests after this.

Do you have Firebug extension? It shows you ajax requests in realtime. Try it and check if it's ajax timeout or something else.

Maks
Posts: 3
Joined: Sep 03, 2008 10:00 am

#4 Postby Maks » Sep 05, 2008 7:37 am

Thanks for your reply.
I will try and see if this help.