Reply to Re: [PHP] php Slow with Mac OS X 10.4

Your name:

Reply:


Posted by Jochem Maas on 09/14/05 16:52

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация