Bug #8377 Updated: File uploads with POST methods takes full Server processing capacity and memory
| From: | sniper@php.net | Date: | Wed, 09 May 2001 15:10:59 +0000 |
| Subject: | Bug #8377 Updated: File uploads with POST methods takes full Server processing capacity and memory | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54499@lists.php.net to get a copy of this message | ||
ID: 8377
Updated by: sniper
Reported By: samuel@liones.nl
Old-Status: Open
Status: Critical
Bug Type: Feature/Change Request
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:
Marked as to be fixed before 4.0.6
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 22:09:20] sniper@php.net
Just to note that this is still a problem..
I tried with 1Gb file and my system almost crashed.
(On Linux)
--Jani
---------------------------------------------------------------------------
[2000-12-22 16:34:12] rasmus@php.net
This is a known inefficiency. Jim Winstead is looking addressing this using libapreq which is
smarter about handling large file uploads.
(Moving to feature request)
---------------------------------------------------------------------------
[2000-12-22 10:16:58] samuel@liones.nl
When doing a file upload on a big file (say 22MB), PHP takes up progressingly more CPU capacity for
the whole duration of the upload.
The server doesn't crashes but it is so slow that other people can't reach my server, when
i'm uploading a big file.
I now use a ASP-component on the server-side which handles the uploading and this component
doesn't slow my server down when uploading a big file.
Can PHP handle big file uploads in the future?
This is the HTML that uploads the file:
<input type=hidden name='MAX_FILE_SIZE' value='25000000'>
<input type='file' size='50' name='frm_file_name'
class='input' value=''></input>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8377&edit=2