Bug #8377 Updated: File uploads with POST methods takes full Server processing capacity and memory

From: Date: Mon, 17 Sep 2001 17:14:58 +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-66128@lists.php.net to get a copy of this message
ID: 8377 Updated by: sniper Reported By: samuel@liones.nl Old Status: Critical Status: Assigned Bug Type: Feature/Change Request Operating System: Windows NT4/2000 PHP Version: 4.0.4 Old Assigned To: Assigned To: sniper New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#66128) next »