Initializing Upload takes longer than actual upload

XUpload related questions

Moderator: admin

Message
Author
mtspecial
Posts: 14
Joined: Mar 08, 2007 8:39 pm

Initializing Upload takes longer than actual upload

#1 Postby mtspecial » Mar 09, 2007 3:32 pm

It takes longer for the Upload Progress bar to appear than the actual file upload takes.

Uploading a 330MB file takes about 30 seconds to show upload progress and then completes upload in 11 seconds.

I had to change the "for(1..3){ last if -e $flength_file; sleep 1; }" to "for(1..120){ last if -e $flength_file; sleep 1; }" just so I don't get the "Transfer Complete" message after 3 seconds.

I have the .htaccess file in the same directory as the upload.cgi.

SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"

Running Apache 1.3.33 on OS X 10.4.8
There is no mod_security module loaded either.

using xuploadpro 2.4.

Any ideas?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Mar 12, 2007 7:38 am

Well...delay happens cause temp file appear with this big delay. Probably your filesystem caching files or this is feature of Apache under OS X.

You can look up into your temp folder when current temp upload file appear.

do you have mod_gzip fix in .htaccess?

Code: Select all

<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>

mtspecial
Posts: 14
Joined: Mar 08, 2007 8:39 pm

#3 Postby mtspecial » Mar 12, 2007 12:03 pm

I can look into my temp folder when file starts upload. It doesn't appear until the progress bar starts.

I do have
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>

in my .htaccess file.

mtspecial
Posts: 14
Joined: Mar 08, 2007 8:39 pm

#4 Postby mtspecial » Mar 12, 2007 12:12 pm

Figured out what was going on for all those who also use OS X server...

DISABLE Performance Cache and enable Keep Alive in the httpd.conf file.

Runs smooth as can be now.


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests