Separate apc-caches for each fpm-pool
| From: | Simon Schick | Date: | Tue, 28 Aug 2012 08:03:10 +0000 |
| Subject: | Separate apc-caches for each fpm-pool | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318898@lists.php.net to get a copy of this message | ||
Hi, all
Not to get the bugfix https://bugs.php.net/bug.php?id=57825 too much
off-topic, I write this question in the mailinglist here:
Taking the case I have two fpm-pools on different sockets - the first
pool is responsible for www.example1.com and the second one for
www.example2.com.
If www.example1.com has 4 workers, they're all using the same
apc-cache. That's absolutely as expected. But also the workers of
www.example2.com are using this cache. In my opinion it would be nice
if the pools would have a separate cache.
I now found a solution for this: Just use more than one fpm-master
that is controlling the pools. (http://groups.drupal.org/node/198168)
Is this the way to go, or do you know of another way?
Should this be added to the APC- or fpm-documentation or is it enough
that you can find f.e. it using Google, if you need it?
Bye
Simon