1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

APC Caching Only 1 Site

Discussion in 'Server Configuration and Hosting' started by Solidus, Mar 5, 2014.

  1. Solidus

    Solidus Well-Known Member

    Hi.

    I have 2 XenForo forums on my server, but APC is caching only one. I am using the same settings in /library/config.php

    Code:
    $config['cache']['enabled'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
    $config['cache']['backend'] = 'Apc';
    and here is my apc.ini

    Code:
    extension=apc.so
    apc.enabled=1
    apc.shm_size=1024M
    apc.max_file_size=1M
    apc.ttl=3600
    apc.user.ttl=7200
    apc.file_update_protection=2
    apc.write_lock=1
    apc.num_files_hint=3000
    apc.stat=1
    Site 1:

    [​IMG]

    Site 2:

    [​IMG]

    PHP 5.4.25
    What could be wrong?
     
  2. Steve F

    Steve F Well-Known Member

    Your cache_id_prefix needs be unique to each site. Not absolutely sure that is your issue but I would start there and restart APC
     
  3. Moshe1010

    Moshe1010 Well-Known Member

    I would start by replacing a dead, beta, software like APC. Why using something that wasn't updated for years if there are better alternatives like xCache for example.
     
    MattW likes this.

Share This Page