optimus
Member
Hi,
I have an forum with ~100 users online and some good activity, but my php gona crazy now i'm ussing nginx as webserver + php-fpm 5.4 and memcache, there are some writes from notification system and my vps have an huge load ~3.0 with 2 core and 1gb ram.
What sugestion can be better for me with this configuration, work to user APC or xcache in same time with memcache ? and which configuration need to use.
Right now have this
I have an forum with ~100 users online and some good activity, but my php gona crazy now i'm ussing nginx as webserver + php-fpm 5.4 and memcache, there are some writes from notification system and my vps have an huge load ~3.0 with 2 core and 1gb ram.
What sugestion can be better for me with this configuration, work to user APC or xcache in same time with memcache ? and which configuration need to use.
Right now have this
Code:
$config['cache']['enabled'] = true;
$config['cache']['cacheSessions'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 7200,
'cache_id_prefix' => 'forumxs_'
);
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
'servers' =>array(
array(
'host' => '127.0.0.1', // your memcached server ip /address
'port' => 11211 // memcached port
)
),
'compression' => false
);