Re: Apache 1.3 'lag' with PHP ...
| From: | Greg Donald | Date: | Wed, 03 Nov 2004 17:38:48 +0000 |
| Subject: | Re: Apache 1.3 'lag' with PHP ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201067@lists.php.net to get a copy of this message | ||
On Wed, 3 Nov 2004 13:22:46 -0400 (AST), Marc G. Fournier
<scrappy@hub.org> wrote:
> When you go to http://www.postgresql.org/index-test.php, at the
> bottom,
> there is 'load times' based on various settings throughout the code ...
> the file reads in one file, and has two database access sections to it ...
> timings look like:
>
> loading globals.php: -0.237975
> loading loading news : 0.013936
> loading loading events: 0.007907
> total load time: -0.212738
>
> The problem is when you go that page, it seems to 'hang' for a few seconds
> before loading ... even using lynx on the same machine ...
It comes up instantly for me. I tried several times and noticed no lag.
loading globals.php: -0.336546
loading loading news : 0.013041
loading loading events: 0.008733
total load time: -0.312371
Sure it's not a DNS issue?
> Is there something else that I should be looking at to optimize things?
> Or to track down the slowdown?
Did you happen to try running the Apache benchmark tool 'ab' on it.
It provides quite a bit of info aside from the actual timed requests.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/