NYCPHP Meetup

NYPHP.org

[nycphp-talk] Performance testing advice

Cliff Hirsch cliff at pinestream.com
Fri Nov 2 13:28:05 EDT 2007


I have an interesting problem with my site. I¹m using Firebug and yslow
(awesome tool and book) to evaluate my page load times. Things are fairly
reasonable, given that there has been little optimization so far. But there
is one strange bug. My first access can take upwards of 30 seconds for
anything to happen ‹ just a blank white browser while I wait...and wait...
After that first hit, things are fine, regardless of whether I use different
browsers, different PCs, flush caches, etc.

Its almost like the server is sleeping (remember this is a new site and is
locked down so its possible that hours may go by between hits). Or maybe
there are caches, like APC, that need to be filled up. Or Apache is on a
cigarette break. Or DNS is doing lookup using the yellow pages. I don¹t even
know where to begin to look or what log may hold the key.

Any thoughts on how to debug this?

Cliff

P.S. My APC cache shows 2 day uptime, 125,000 hits, 500 misses, 99.6% hit
rate. So this doesn¹t look like the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20071102/bc34eade/attachment.html>


More information about the talk mailing list