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 apache

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

2005-10-25 Thread Nicolas Ross
lus one or two other file. Nicolas - Original Message - From: "Brent Baisley" <[EMAIL PROTECTED]> To: "Nicolas Ross" <[EMAIL PROTECTED]> Cc: ; "Shawn Moore" <[EMAIL PROTECTED]>; "Atelier Fabien" <[EMAIL PROTECTED]> Sen

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

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

2005-10-24 Thread Brent Baisley
inal Message - From: "Brent Baisley" <[EMAIL PROTECTED]> To: "Nicolas Ross" <[EMAIL PROTECTED]> Cc: ; "Shawn Moore" <[EMAIL PROTECTED]>; "Atelier Fabien" <[EMAIL PROTECTED]> Sent: Monday, October 24, 2005 3:13 PM Subject: Re: [PHP]

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

2005-10-24 Thread Nicolas Ross
ROTECTED]> Cc: ; "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 slo

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

2005-10-24 Thread Nicolas Ross
do you have (what apache, php etc.) ? Thanks, Nicolas - Original Message - From: "Brent Baisley" <[EMAIL PROTECTED]> To: "Nicolas Ross" <[EMAIL PROTECTED]> Cc: ; "Shawn Moore" <[EMAIL PROTECTED]>; "Atelier Fabien" <[EMAIL PROTEC

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 (h

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

2005-10-24 Thread Brent Baisley
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 with DNS lookups being performed. Apple seems to be having a hard time getting this right. You could problem find a ton of posts on very slow ssh on the A

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

2005-10-24 Thread Nicolas Ross
Just a little follow-up to my own post. From the latest expriments I've done with a fresh install of OS X 10.4 (with the latest 10.4.3 beta update), it seems to point to an IO problem. My test site uses mambo as a CMS, and I've inclued collecting of microseconds timestamps at key points of th

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

2005-09-14 Thread Nicolas Ross
rving this page eats close to 100% of 1 cpu. Nicolas - Original Message - From: "Brent Baisley" <[EMAIL PROTECTED]> To: "Nicolas Ross" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, September 14, 2005 10:46 AM Subject: Re: [PHP] php Slow with Mac OS X 10.4

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 tr

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 de

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 machines

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 site

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, sam