php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22758 performance problem with apache2 handler
Submitted: 2003-03-18 05:13 UTC Modified: 2003-03-27 12:20 UTC
From: bibifoc23 at yahoo dot fr Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.3.2RC1 OS: Linux 2.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bibifoc23 at yahoo dot fr
New email:
PHP Version: OS:

 

 [2003-03-18 05:13 UTC] bibifoc23 at yahoo dot fr
When i test the performance of the new apache2handler sapi, there is a huge difference with apache2filter sapi.

<?php

phpinfo();

?>

or

<?php

for ($i=0; $<100;$i++)
  echo $i;

?>

On Redhat 7.3 and apache 2.0.44, the apache2filter give a better result than the apache2handler.

i compil php with the same module in both case.

Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-20 22:53 UTC] ianh@php.net
Hi.
can you give us some numbers?
also how are you running the test. you need to run on 2 seperate machines.

Thanks
 [2003-03-21 01:08 UTC] magnus@php.net
Set correct status.
 [2003-03-21 03:13 UTC] bibifoc23 at yahoo dot fr
I run test with 2 PC--> one linux 2.4 as server and w2k as client.

i use ab -n1000 -c5 http://server.toto.fr/test.php

result with handler:
  60.02 req/s without failed request.
  200 ko/s
  cpu is 100% for the client
  near 100% for the server

result with filter:
  200 req/s without failed request
  600 ko/s
  cpu is 25% for the client
  100 % for the server

the size of the html code is 3k.
 [2003-03-25 08:35 UTC] iliaa@php.net
Which ap2 model are you using, worker or prefork?
 [2003-03-27 02:17 UTC] bibifoc23 at yahoo dot fr
I use prefork for apache2 and the following command line for php and apache:

 ./configure --with-mpm=prefork --prefix=/app/apache2

 ./configure --prefix=/app/php432 --with-config-file-path=/app/php432 --enable-sigchild --enable-inline-optimization --without-mysql --without-pear --with-ldap --with-apxs2=/app/apache2/bin/apxs
 [2003-03-27 12:20 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2003-06-08 07:48 UTC] st at kino-fahrplan dot de
> This bug has been fixed in CVS.

And what exactly was the bug? Also, this bug doesn't appear in the release notes for 4.3.2, why if it's been fixed?
 [2021-04-06 10:40 UTC] git@php.net
Automatic comment on behalf of roojs
Revision: https://github.com/php/pecl-tools-svn/commit/112c28684bb1772e9134e7ed585a6e2a40a06daa
Log: fix #22758 - support specifying revision in svn_copy (he dot chen at zte dot com dot cn)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC