| View previous topic :: View next topic |
| Author |
Message |
mtspecial
Joined: 08 Mar 2007 Posts: 14
|
Posted: Mar 09, 2007 3:32 pm Post subject: Initializing Upload takes longer than actual upload |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Mar 12, 2007 7:38 am Post subject: |
|
|
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 |
|
 |
mtspecial
Joined: 08 Mar 2007 Posts: 14
|
Posted: Mar 12, 2007 12:03 pm Post subject: |
|
|
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 |
|
 |
mtspecial
Joined: 08 Mar 2007 Posts: 14
|
Posted: Mar 12, 2007 12:12 pm Post subject: |
|
|
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 |
|
 |
|