Bug #8377 Updated: File uploads with POST methods takes full Server processing capacity and memory
| From: | sniper@php.net | Date: | Sun, 28 Oct 2001 17:16:48 +0000 |
| Subject: | Bug #8377 Updated: File uploads with POST methods takes full Server processing capacity and memory | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69196@lists.php.net to get a copy of this message | ||
ID: 8377
Updated by: sniper
Reported By: samuel@liones.nl
Old Status: Assigned
Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows NT4/2000
PHP Version: 4.0.4
Old Assigned To: sniper
Assigned To:
New Comment:
This should be fixed in CVS now. You can try the latest
development build from http://www.php4win.com/ but make
sure it's dated after 27th of October 2001.
Also, there are some minor leaks still in the new code.
If you encounter such leaks, please send the shortest
possible code + html with which you can reproduce the leak
to php-dev@lists.php.net (or me) so we can get rid of these
leaks.
The fix will be in PHP 4.2.0.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-09-17 13:14:58] sniper@php.net
I've been working on this issue. The fix won't be
in 4.0.7/4.1 but hopefully in the next release after those.
--Jani
------------------------------------------------------------------------
[2001-05-09 11:10:59] sniper@php.net
Marked as to be fixed before 4.0.6
------------------------------------------------------------------------
[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>
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=8377&edit=1