Hi all,

I have a very strange problem. Most times a first request takes a very long
time to complete. Profiling show the costs of the first request is 4,935,395
while other requests (same page, just some clicks later) cost only about
501,303. There's also a difference between response time: about 250ms or
more than 3 seconds.

Nothing changed in code, I request the very same page under the same
condition. The only difference is the order. The first request is *always*
the slowest. Waiting 2 hours, a next request taks 3 seconds. Waiting half an
hour, the next request taks 1 seconds (or something). It looks something
similar to
http://stackoverflow.com/questions/1688261/zend-community-server-very-slow-on-first-request-with-os-x-10-6,
but I'm not using Zend Server, but Apache and Php at an Ubuntu system.

Are there any thoughts about this? The packages I have installed are APC and
Xdebug and no other tools. I have both Xdebug output profiles to compare if
you need to. Any help will be much appreciated!

Thanks in advance,
Jurian Sluiman

Reply via email to