Get the most out of your Centmin Mod LEMP stack
Become a Member

Xenforo Libmemcached xenforo

Discussion in 'Forum software usage' started by viralpoet, Mar 13, 2017.

  1. viralpoet

    viralpoet Member

    35
    3
    8
    Mar 5, 2017
    Ratings:
    +9
    Local Time:
    9:13 PM
    1.10.3
    10
    I'm using the following cache in my xenforo config.php file
    Code:
    //$config['debug'] = 'true';
    $config['cache']['enabled'] = true;
    $config['cache']['cacheSessions'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions'] = array(
                                            'caching'                      => true,
                                            'automatic_serialization'      => false,
                                            'lifetime'                     => 0,
                                            'cache_id_prefix' => 'bees',
                                            );
    
    $config['cache']['backend'] = 'libmemcached';
    $config['cache']['backendOptions'] = array(
        'compression' => false,
        'servers' => array(
            array(
                // your memcached server IP /address
                'host' => 'localhost',
                
                // memcached port
                'port' => 11211,
                'persistent' => 'true',
                'weight' => '1',
            )
        )
     );
    It seems to work for a short while before giving me a server error message. It worked on my old server, so what do I need to check thats different?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,993
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,424
    Local Time:
    6:13 PM
    Nginx 1.13.x
    MariaDB 5.5