I just installed cache router and I'm very excited to play around with it. Unfortunately, I get instant segfault errors with xcache.

Here's my settings.php:

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

I even tried

$conf['cacherouter'] = array(
  'default' => array(
    'engine' => 'xcache',
  ),
);

Any thoughts on how to diagnose this?

Thanks!!

Comments

lewisvis’s picture

I've the same problem as you. I tried apc instead, but also got segfault. Afterward, i installed two more packages php5-dev and apache2-prefork-dev besides php-apc. The server is working very fast now.
Good luck.

lewisvis’s picture

My server can also work with xcache now. Follow this link:
http://www.howtoforge.com/xcache-php5-apache2-debian-etch

Attention: the hint in the comment is most important, i.e., add "extension=xcache.so" in php.ini.

AlexisWilke’s picture

As a note, I did not have any problems. I suppose it was a bug from a while back. You may want to close this bug report?