Ticket #1542 (new defect)

Opened 7 months ago

Last modified 2 months ago

upload large files

Reported by: anonymous Owned by: jan
Priority: normal Milestone: 1.5.0
Component: core Version: 1.5.x-svn
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

Hi.

I am using lighttpd 1.5.0 1922 with mod_uploadprogress and php fcgi.

Uploading 10mb files works fine, but 100mb+ files sometimes dont work.

My post action is a php script, which redirects to another page after handling the uploaded file (expected status: 302). But if I upload a large file (100mb and more) I sometimes see status 200 in accesslog (php script not executed) and the browser (ff2 / ie7) retries to upload the file. After 2 or 3 attempts I get 302 and the file is handled by the php script.

Any idea? I tried to debug, but I dont know what I need to looking for.

Thank You!

Attachments

Change History

Changed 7 months ago by tx

fix your php.ini to allow large posts and large upload :)

Changed 7 months ago by anonymous

  • pending unset

php.ini settings:

upload_max_filesize = 300M post_max_size = 350M max_execution_time = 30 max_input_time = 60 memory_limit = 400M

Sometimes upload of 100mb files works. Upload fails on 10mb files too, if I upload a big file simultaneously.

Changed 7 months ago by anonymous

The PHP script is executed after all. But the $_FILE array contains following error code:

UPLOAD_ERR_PARTIAL, Value: 3; The uploaded file was only partially uploaded.

So Firefox 2 uploads the file tree times: 1. error 2. error 3. ok

Any idea?

Changed 7 months ago by anonymous

IE7 tries it only one time and get a timeout. (accesslog still 200 -)(

Changed 7 months ago by anonymous

server.max-keep-alive-requests = 0

fixed it. Thank you for your help!

Ticket can be closed.

Changed 3 months ago by anonymous

  • priority changed from normal to highest
  • type changed from defect to enhancement
  • severity changed from normal to critical
  • milestone changed from 1.5.0 to 1.4.20

Changed 2 months ago by anonymous

  • priority changed from highest to normal
  • type changed from enhancement to defect
  • severity changed from critical to normal
  • milestone changed from 1.4.20 to 1.5.0

Add/Change #1542 (upload large files)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.