Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
albn Posted September 16, 2014 Posted September 16, 2014 Hi all I'm in the process of optimising a somewhat large IPB forum, I've installed Xcache and enabled it within the IPB config file, but users keep on getting logged out every now and again Disabling xcache and they're able to stay logged in I had the same issue with an Xenforo forum and adding a line to the config file to disable caching of sessions fixed it Any tips? Edit- Bit more information A friend of mine says it's because I have apache running as FastCGI as opposed to DSO He suggested changing to mod_ruid2 Any thoughts?
Grumpy Posted September 24, 2014 Posted September 24, 2014 If you want me to suggest a solution without going back and forth for a long time trying to find the issue... configure ipb to not use any caching system. (do this first to avoid downtime) uninstall xcache install memcached (daemon) - Off memory, should be available under EPEL repo install php-pecl-memcache (php plugin) - Off memory, should also be available under EPEL repo. make sure to get php-pecl-memcache, not php-pecl-memcached plugin. install zend opcache (if php 5.5+ just turn it on from ini) - You can get it from: http://pecl.php.net/package/ZendOpcache there is only beta version. restart php configure ipb to use memcache instead. --------- Edit: Realized I posted like a week+ too late.
RevengeFNF Posted September 24, 2014 Posted September 24, 2014 If you want me to suggest a solution without going back and forth for a long time trying to find the issue... configure ipb to not use any caching system. (do this first to avoid downtime) uninstall xcache install memcached (daemon) - Off memory, should be available under EPEL repo install php-pecl-memcache (php plugin) - Off memory, should also be available under EPEL repo. make sure to get php-pecl-memcache, not php-pecl-memcached plugin. install zend opcache (if php 5.5+ just turn it on from ini) - You can get it from: http://pecl.php.net/package/ZendOpcache there is only beta version. restart php configure ipb to use memcache instead. --------- Edit: Realized I posted like a week+ too late. You are saying ti disable the cache system and enable memcache? I have both enabled.
Grumpy Posted September 25, 2014 Posted September 25, 2014 I'm saying memcache & zend opcache should be used in REPLACEMENT of xcache (which does 2 things). You cannot use both. It is literally not possible without custom coding. If you set both to be on, I don't know which IPB will pick to use.
TCWT Posted January 21, 2015 Posted January 21, 2015 Thanks, how do I know if it's caching the scripts?
Rhett Posted January 21, 2015 Posted January 21, 2015 Look at your xcache-admin page if you have it setup and you can monitor the usage and adjust as needed. If you don't have the xcache-admin package installed, install it.
ASTRAPI Posted January 21, 2015 Posted January 21, 2015 Zend opcache + Memcache is the best/faster option
Recommended Posts
Archived
This topic is now archived and is closed to further replies.