You are here: Re: [PHP] php Slow with Mac OS X 10.4 « PHP « IT news, forums, messages
Re: [PHP] php Slow with Mac OS X 10.4

Posted by "Nicolas Ross" on 09/14/05 16:57

>> 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.

It did occure to me that there maybe a dns issue, but it can't be. My tests
were done on two separates server rooms. In the second one (the one with the
xserves), I have 3 computers. All ip config is exactly the same (apart from
main ip)... And the only non-network related difference between the nodes
are the OS (10.3 vs 10.4).

Besides, if it were a DNS problem, I would also experience delays elswhere,
like ssh, ftp an other things network-related.

I did the test, and it started to output immediatly...

Thanks,

Nicolas

 

Navigation:

[Reply to this 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

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