Hi all,
I'm running PHP 5.3 as fastCGI (using php-fpm) and APC.
I understand that in fastCGI mode, there are several php processes (managed by the fpm) and for each one of them, APC hold a separate cache in memory (per process).
If my assumptions are true, is there any way to clear the cache of all processes at once?
Thanks,
fatfish
PHP fastCGI and APC
Moderator: General Moderators
Re: PHP fastCGI and APC
APC uses shared memory, so it could be that it shares its cache across all processes in a pool. Can't say for sure though. If it's so, any script executing apc_clear_cache() in the pool would empty cache for all processes.