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

2005-11-14 Thread Nicolas Ross
I've finally narrow-it down and found a solution. After much, much googeling, trying and error on my test machine and my xserve running mac os x 10.4, I've found out that apache2 was shipped with mac os X 10.4 server (server only). I decided to compile my own php (as allways) againts this

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

2005-10-25 Thread Nicolas Ross
. Nicolas - Original Message - From: Brent Baisley [EMAIL PROTECTED] To: Nicolas Ross [EMAIL PROTECTED] Cc: php-general@lists.php.net; Shawn Moore [EMAIL PROTECTED]; Atelier Fabien [EMAIL PROTECTED] Sent: Monday, October 24, 2005 5:03 PM Subject: Re: [PHP] php Slow with Mac OS X 10.4

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

2005-10-24 Thread Nicolas Ross
- Original Message - From: Nicolas Ross [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, September 14, 2005 9:00 AM Subject: [PHP] php Slow with Mac OS X 10.4 Hi all ! Here, we've got several Mac computer acting as servers to serve many kinds of sites. One of wich was running

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

2005-10-24 Thread Brent Baisley
: Nicolas Ross rossnick- [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, September 14, 2005 9:00 AM Subject: [PHP] php Slow with Mac OS X 10.4 Hi all ! Here, we've got several Mac computer acting as servers to serve many kinds of sites. One of wich was running, until the middle

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

2005-10-24 Thread Atelier Fabien
I'm no fs_usage expert, so I have no idea on how to profile IO with it. I do know/see very high CPU usage when running PHP. The httpd process takes up to 70% of CPU capacity. This 'peak' can take about 4 to 8 seconds for example. So I'm tempted to rule out DNS issues. Also because static

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

2005-10-24 Thread Nicolas Ross
: Nicolas Ross rossnick- [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, September 14, 2005 9:00 AM Subject: [PHP] php Slow with Mac OS X 10.4 Hi all ! Here, we've got several Mac computer acting as servers to serve many kinds of sites. One of wich was running, until

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

2005-10-24 Thread Nicolas Ross
; Shawn Moore [EMAIL PROTECTED]; Atelier Fabien [EMAIL PROTECTED] Sent: Monday, October 24, 2005 3:13 PM Subject: Re: [PHP] php Slow with Mac OS X 10.4 I haven't had any problems with slowdowns on 10.4. Usually when there are slowdowns on the Mac like you indicate, it has something to do

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

2005-10-24 Thread Brent Baisley
-general@lists.php.net; Shawn Moore [EMAIL PROTECTED]; Atelier Fabien [EMAIL PROTECTED] Sent: Monday, October 24, 2005 3:13 PM Subject: Re: [PHP] php Slow with Mac OS X 10.4 I haven't had any problems with slowdowns on 10.4. Usually when there are slowdowns on the Mac like you indicate

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

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 3:21 pm, Nicolas Ross wrote: As stated before in this thread, in my case it's nothing about dns. You've pointed to 2 potential problems so far. 1 is mysql_connect() 2 is include ''; Can you run a quick test to find out which one is WORSE, and focus on that first? If

[PHP] php Slow with Mac OS X 10.4

2005-09-14 Thread Nicolas Ross
Hi all ! Here, we've got several Mac computer acting as servers to serve many kinds of sites. One of wich was running, until the middle of august, Mac OS X 10.2. It was then with apache 1.3.x, and php 4.3.10 dso. All things were normal. At the middle of august, we upgraded to Mac OS X 10.4

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

2005-09-14 Thread Torgny Bjers
Quoting Nicolas Ross [EMAIL PROTECTED]: [snip] 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

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

2005-09-14 Thread Nicolas Ross
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

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

2005-09-14 Thread Jochem Maas
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

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

2005-09-14 Thread Nicolas Ross
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

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

2005-09-14 Thread Brent Baisley
There are two thing to check in the Apache config to make sure DNS is not the thing slowing you down. HostnameLookups defaults to On in Apache2, but defaulted to off in Apache1. Check that setting. Also, if you use Allow and Deny directives with domain names, Apache does a double reverse

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

2005-09-14 Thread Nicolas Ross
this page eats close to 100% of 1 cpu. Nicolas - Original Message - From: Brent Baisley [EMAIL PROTECTED] To: Nicolas Ross [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Wednesday, September 14, 2005 10:46 AM Subject: Re: [PHP] php Slow with Mac OS X 10.4 There are two thing