[PHP-DEV] Fwd: Re: [PHP-DEV] PHP 4.0 Bug #2291: Slow file upload From: Andi Gutmans (andi <email protected>)
Date: 09/24/99

Here's the response Thies sent you.
If you use the CVS, he's already made the necessary changes in it.

Andi

> >From php-dev-return-10886-andi=vipe.technion.ac.il <email protected> Tue Sep
> 14 09:32:52 1999
>Delivered-To: andi <email protected>
>Delivered-To: andi <email protected>
>Mailing-List: contact php-dev-help <email protected>; run by ezmlm
>Delivered-To: mailing list php-dev <email protected>
>To: php-dev <email protected>
>From: "Thies C. Arntzen" <thies <email protected>>
>Date: Tue, 14 Sep 1999 11:32:06 +0200
>Lines: 45
>X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.3.17 i686)
>X-Accept-Language: en
>Subject: Re: [PHP-DEV] PHP 4.0 Bug #2291: Slow file upload
>
>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 <email protected> wrote:
> >
> > From: fmal <email protected>
> > 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 <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
>--
>
>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
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>