APC Caching Only 1 Site

m1ne

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:

apc.jpg


Site 2:

apc2.jpg


PHP 5.4.25
What could be wrong?
 
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
 
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.
 
Back
Top Bottom