RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Initializing Upload takes longer than actual upload

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
mtspecial



Joined: 08 Mar 2007
Posts: 14

PostPosted: Mar 09, 2007 3:32 pm    Post subject: Initializing Upload takes longer than actual upload Reply with quote

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?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Mar 12, 2007 7:38 am    Post subject: Reply with quote

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:

<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
Back to top
View user's profile Send private message Visit poster's website
mtspecial



Joined: 08 Mar 2007
Posts: 14

PostPosted: Mar 12, 2007 12:03 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mtspecial



Joined: 08 Mar 2007
Posts: 14

PostPosted: Mar 12, 2007 12:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group