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
.
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
- 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
: 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
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
: 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
; 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
-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
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
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
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
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
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
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
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
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
16 matches
Mail list logo