We are experiencing performance problems with our server and to narrow down the problem I wanted to disable cacherouter. I disabled the module and then changed my settings.php to comment out the cacherouter module. After doing this my site doesn't load. It seems frozen and times out. I am using APC as my caching mechanism. I have tried to restart apache but it still doesn't load. Is there anything special that has to be done to remove CacheRouter?

Comments

1kenthomas’s picture

Is this still an issue? If no activity in 1 week, I will close.

Thanks.

superfedya’s picture

Same problem with filecache, how to uninstall cacherouter?

1kenthomas’s picture

Hmm. You will want to remove any references in settings.php. Otherwise-- see README.txt. Uninstallation is the reverse of installation (I think). Let us know if you have problems.

Xermit’s picture

Bad day :)

I have similar problem.

I unchecked cacherouter module
and delete from settings.php
lines:

$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter_cookie'] = 'DRUPAL_UID';
$conf['cacherouter'] = array(
  'default' => array(
    'engine' => 'none',
    'servers' => array(),
    'shared' => TRUE,
    'prefix' => '',
    'path' => 'tmp/filecache',
    'static' => FALSE,
    'fast_cache' => FALSE,
  ),
);

I clean tmp/filecache directory and remove casherouter and cacherouter_stats directories.

And I had error:

    * warning: include_once() [function.include-once]: Unable to access ./sites/all/modules/cacherouter/cacherouter.module in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 619.
    * warning: include_once(./sites/all/modules/cacherouter/cacherouter.module) [function.include-once]: failed to open stream: No error in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 619.
    * warning: include_once() [function.include]: Failed opening './sites/all/modules/cacherouter/cacherouter.module' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\drupal\includes\bootstrap.inc on line 619.

After I stop apache (XAMPP for Windows Version 1.6.4)

Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4
with 
eAccelerator 0.9.5.2 [shm:win32 sem:win32]
PHP 5.2.4 [ZE 2.2.0]
Using apache2handler on Windows NT PC 5.1 build 2600
[eAccelerator]
extension=eaccelerator.dll
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "C:\xampp\tmp"
eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.debug = "0"
eaccelerator.check_mtime = "1"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only = "0"
eaccelerator.compress = "1"
eaccelerator.compress_level = "9"
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"
eaccelerator.allowed_admin_path = "c:\xampp\htdocs\xampp"

disable eAccelerator, clear tmp directory eAccelerator, start Apache,
but I again see the error.

I don't understand that is happened

I will glad any advice.

Xermit’s picture

I restart os and repeating clean cache eAccelerator and disable cacheroute with cleaning cache directory before start apache.
but i again see the error.

Xermit’s picture

I resolved it, I repeat described above actions again:
1) disable cacherouter
2) remove casherouter module
3) create empty cacherouter directory in modules directory
4) to clear cacherouter file cache directory
5) stoping apache
6) remove cacherouter settings from settings.php
7) to clear eAccelerator fle cache directory
8) start apache
9) to clear standard drupal db cache
10) remove empty cacherouter directory from modules directory

But never ask me what was it.

andypost’s picture

Status: Active » Closed (fixed)

Please disable module before deleting it's files