Dave M G wrote:

> Per Jessen,
> 
> Thank you for responding.
> 
>> Might this be a name-server issue?
> 
> Maybe, but I don't think so. The reason I suspect that is not the case
> is because I can go first to a .html page on the server, and it loads
> up quickly. Then I go to one of my .php pages, and the slowdown
> occurs.

And your script does not cause any dns lookups? 

> If it were a name server issue, I would expect the slowdown to happen
> regardless of which page I load first.

Not necessarily - it would depend on what is being looked up. 

> So, I guess to be more specific, the slowdown happens the first time I
> load one of my PHP scripts on this site, not the first time I access
> the site.

Have a look at which external services you use - database, nameserver,
ldap etc.  I'm assuming an initial loop is out of the question?  Also,
check memory status - if the server is very heavily loaded, and your
stuff isn't in memory, it could take time to page it in.  10 seconds is
a long time, but ...



/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to