Page 1 of 1

File upload hangs for large file

PostPosted:Wed Sep 14, 2011 8:56 am
by stevert
I started a file upload of a large file (3835 MB), the "Add new documents" dialog shows "uploading file 0%". It has been like this for the last 6 hours.

Client is Firefox 6.0 on XP SP3, Server is 5.1.7 on Ubuntu 11.04. Max file size parameter is "1024". I know this value is too small, but when I had it set to "10240" I got a file size exceeded exception which showed the parameter value as "-2147483648". So I thought I would try a little experiment!

On the client, the CPU for firefix is about 35% and has been so for the past 10 hours.

On the server the system monitor for the JBoss process shows a constant use of 8%. The network traffic monitor shows traffic of approximately 500 KiB/s receiving and 210 KiB/s sending. The total received in the 10 hour period is 4.8 GiB (from 19.2 to 27.1).

The following is an excerpt from the Firefox web console, They are appearing in the log very fast, about 30 every second.
Code: Select all
[09:53:12.703] POST http://doc.rt.int:8080/OpenKM/frontend/General [HTTP/1.1 200 OK 0ms]
I will abort the client now.

Any ideas

Regards

Steve.

Re: File upload hangs for large file

PostPosted:Fri Sep 16, 2011 9:34 pm
by jllort
I suggest firefox 3 or 4, we've not tested on firefox 6 and seems cold be some problem.

To uploading this kind of files, it'll be better using file import feature from administration or webservices. 3GB file is not the best scenario for UI althought might run without major problems.

Re: File upload hangs for large file

PostPosted:Mon Mar 12, 2012 4:51 am
by Alexires
I don't know if this is the correct place to ask this, but I find that when I go to upload folders into my OpenKM via the admin>import repository, it will count up to some % value and then stop (as if the page had timed out) however, the firefox thingy is still spinning and it says "Transferring data from OpenKM.example.com". The upload completes (I checked the uploaded documents against the source documents) but it just stops reporting the correct %.

I've tried Firefox 10 as well as Firefox 3.6.27 which got a little further, but has now stopped. The server isn't doing anything, so the upload is finished. Is it a timeout problem with OpenKM or with Firefox? How does OpenKM report to the browser what % is done?

Re: File upload hangs for large file

PostPosted:Mon Mar 12, 2012 8:59 am
by pavila
Please, open a new forum thread for this.