In cacherouter_stats.memcache.inc we see a lot of "conf['cacherouter']['default']['server']"

but it should be

conf['cacherouter']['default']['servers']

(see the cacherouter project homepage - if you are using "server" then actually your cacherouter doesnt work and defaults to 11211, which is why you may not have noticed anything if you are on 11211)

Also, it fails to see extra bins' servers, e.g. only the default servers config are shown, not the others for the specific bins.

  'default' => array(
    'engine' => 'memcache',
    'servers' => array('localhost:11211'),
    'shared' => TRUE,
    'static' => FALSE,
    'fast_cache' => TRUE,
  ),
  'cache_admin_menu' => array(
    'servers' => array('localhost:11212'),
  ),
  'cache_apachesolr' => array(
    'servers' => array('localhost:11213'),
  ),

For above example, Cacherouter Stats only shows server: 11221, because ist doesnt anywhere foreach loop through the other bins.

Comments

fizk’s picture

Assigned: Unassigned » fizk
Status: Active » Fixed

Fixed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

fizk’s picture

Status: Closed (fixed) » Needs work

The conf['cacherouter']['default']['servers'] change was made, but extra bins' servers are still ignored.

fas’s picture

Hi Fizk,

I opened a thread duplicate ...sorry

Thanks for the fast response!

Now I see, I'm not the only one with this problem.

Any news on this?

Regards!

fizk’s picture

Hi fas,

I'll try to get this fixed asap.

Cheers,
Yonas

fizk’s picture

Status: Needs work » Closed (fixed)

Fixed in 6.x-1.2-beta5.