Re: PHP 4.0 Bug #2291: Slow file upload

From: Date: Tue, 14 Sep 1999 09:32:06 +0000
Subject: Re: PHP 4.0 Bug #2291: Slow file upload
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10886@lists.php.net to get a copy of this message
could you please check in php4/SAPI.c look for: #undef SAPI_POST_BLOCK_SIZE #define SAPI_POST_BLOCK_SIZE 2 and change the 2 to 4000 (or remove both lines) please check if this helps. tc fmal@fmal.com wrote: > > From: fmal@fmal.com > Operating system: AIX 4.3.2 > PHP version: 4.0 Beta 2 > PHP Bug Type: Performance problem > Bug description: Slow file upload > > The file upload is extremely slow also on local Ethernet : > not more than 3Kb/sec ! Final content is correct, but > httpd runs at 100% for a long before to finish. > > e.g. : a 500 Kb image file needs about 210 sec at 90/100 % > cpu to upload. > The same file with php 3.0.11 needs < 5 sec > > Apache is 1.3.9 (only php4 module) > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#10886) next »