Randomly Throw Cache Error

My application sometimes throws internal server error. After hitting refresh button few times, it’s ok again. How weird it is.


require() [<a href='function.require'>function.require</a>]: GC cache entry '/Users/hieuvo/Dropbox/www/survey/common/models/results/ScaleQuestionResult.php' (dev=16777220 ino=36653767) was on gc-list for 3866 seconds

I use CApcCache


'cache'=>array(

            'class'=>'system.caching.CApcCache',

        ),

I found the culprit! Because I set the execute time in php.ini too long, it somehow affects APC. After setting it back to 30 seconds, everything is fine again.