Re: Separate apc-caches for each fpm-pool
| From: | Simon Schick | Date: | Tue, 28 Aug 2012 08:04:59 +0000 |
| Subject: | Re: Separate apc-caches for each fpm-pool | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318899@lists.php.net to get a copy of this message | ||
Sorry, I first posted it with the wrong subject ([PHP-DEV] instead of [PHP])
http://news.php.net/php.general/318898
On Mon, Aug 20, 2012 at 11:44 AM, Simon Schick <simonsimcity@gmail.com> wrote:
> 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