I followed all instructions, have the following in my settings.php:

$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
  'default' => array(
    'engine' => 'apc',
    'server' => array(),
    'shared' => TRUE,
    'prefix' => '',
    'path' => 'sites/default/files/filecache',
    'static' => FALSE,
    'fast_cache' => TRUE,
  ),
);

Installed and activated the module.

Confirm apc is running by visiting: http://gossipfeast.com/apc.php

But that same page shows that nothing is being cached. Any ideas?

Comments

raintonr’s picture

I can confirm APC is working with 6.x-1.0-beta8 using these settings:

$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
  'default' => array(
    'engine' => 'apc',
    'server' => array(),
    'shared' => TRUE,
    'prefix' => '',
  ),
);

Visiting APC page shows many user objects and lots of fragmentation. Dunno if that's an issue or not, but something is certainly happening.

Have you checked error logs or other things?

slantview’s picture

Status: Active » Fixed

This works for me. Setting to fixed unless you can provide additional data. Thanks!

Status: Fixed » Closed (fixed)

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

tonu110’s picture

I have the same problem, apc.php shows no stats, always shows uptime 0min. How to fix, please help I need data to analyze..

some of the stats:

Start Time 2014/02/03 05:00:39
Uptime 0 minutes
File Upload Support 1
File Cache Information
Cached Files 0 ( 0.0 Bytes)
Hits 1
Misses 0
Request Rate (hits, misses) 1.00 cache requests/second
Hit Rate 1.00 cache requests/second
Miss Rate 0.00 cache requests/second
Insert Rate 0.00 cache requests/second
Cache full count 0
User Cache Information
Cached Variables 0 ( 0.0 Bytes)
Hits 0
Misses 0
Request Rate (hits, misses) 0.00 cache requests/second
Hit Rate 0.00 cache requests/second
Miss Rate 0.00 cache requests/second
Insert Rate 0.00 cache requests/second
Cache full count 0