Re: php Slow with Mac OS X 10.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nicolas Ross wrote:
Now, in a different server room, we have a set of 3 xserves cluster node
dual g5 with 4 gigs of ram each. One of them was upgraded to Mac OS X 10.4
(server) and the other 2 are still with 10.3.

If I take the same setup (same compile options, same versions) on these
machines, the exact same site is slow as hell on the 10.4, and lightning
fast on 10.3.


[snip]

Any hints ?


Have you compared the httpd.conf files? It could be that they've for some reason changed the KeepAlive to Off and MaxKeepAliveRequests and KeepAliveTimeout
values to something odd, check those, might improve performance a bit.


In all cases, it was the same httpd.conf. Of course, from apache 1 to 2 there where differences, but basicly it's the same.

your description gives the impression that there is a DNS configuration problem...
like apache is trying for 5-10 seconds to look something up, fails and then finally
decides to run your script.

you can test that with a simple script like:

<?php /*make sure all outputbuffering is off!*/ for ($i=0;$i < 100000;$i++) { echo "$i<br />"; } ?>

chances are it will start outputting after a certain ammount of time rather than right away.
that said this is a very simplistic test and my understanding of this stuff is rather limited.


Nicolas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux