RE: [PHP] PHP slowness
| From: | Gerard | Date: | Sat, 26 Feb 2005 10:54:42 +0000 |
| Subject: | RE: [PHP] PHP slowness | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209496@lists.php.net to get a copy of this message | ||
> Gerard wrote:
> > Another interesting note; if you click from page to page fast enough, it
> > doesn't take as long to load. For some reason, after the
> initial 5 second
> > startup hic, it loads consequent pages smoothly. If you wait
> for 10 seconds
> > and then click a link, it loads for 5 seconds again.
> >
> > I don't get this, especially since it seems to affect both PHP4
> and PHP5...
>
> strace it and see what is going on. Compare the syscalls between a php
> request and a static request. There will be a clue in there somewhere.
>
How would I go about stracing page requests? I never know which apache child
is going to handle which page.
> -Rasmus
>
- Gerard