Following your advice as close as possible. Everything works except for one combination. mod_fcgid & APC. I just cannot get these two to play together as APC uptime never exceeds 1 minute at which point it restarts and clears all the cache entries (both system and user).
I've just noticed, you say APC doesn't keep cache more then 1 minute…
Could it be this fastcgid setting ? :
If a fastcgi process is destroyed then it's cache will be too…
With this set to 60, on a busy site the cache will do it's job well but on a site with only a few visits per day the cache will work so long as the visiters don't spend more then 60s before reloading or changing page.
Can you try setting it to 180s and see if the cache lasts longer then two minutes ?
I believe this is the main issue:
APC is not very effective when using mod_fcgid. It just can\'t share its memory across subsequent requests to the same php code if those requests get routed to seperate php-cgi processes.
Chances are there is a work around. Its just above my pay scale LOL
There are no replies made for this post yet. Be one of the first to reply to this post!