macgeneration
Customer
Hello
We have a bug on our XenForo 1.5 forum using DragonByte Optimize. It worked fine for multiple years but we recently changed our infrastructure and since then, we have an issue with cache invalidation.
The data is written in our Memcached server, but it is never deleted or re-written. If a user add a post in a topic, the post is not visible until we flush the server ourselves.
We are using the same Memcached server with several other websites and it works fine. We are also using the Memcached option of XenForo itself and it works fine.
The only change we made on the new infrastructure is the PHP version. We were using PHP 7.0.x on the older servers, we are using PHP 7.2.x on the new one. Is it a known bug with this extension ?
Here's the code we have in our XenForo config file :
On the log side, we have noticed some errors, like this one :
Let me know if you need more information.
Thanks
Nicolas for MacGeneration
We have a bug on our XenForo 1.5 forum using DragonByte Optimize. It worked fine for multiple years but we recently changed our infrastructure and since then, we have an issue with cache invalidation.
The data is written in our Memcached server, but it is never deleted or re-written. If a user add a post in a topic, the post is not visible until we flush the server ourselves.
We are using the same Memcached server with several other websites and it works fine. We are also using the Memcached option of XenForo itself and it works fine.
The only change we made on the new infrastructure is the PHP version. We were using PHP 7.0.x on the older servers, we are using PHP 7.2.x on the new one. Is it a known bug with this extension ?
Here's the code we have in our XenForo config file :
PHP:
//DB optimize
$config['Optimise']['memcacheServers'] = array(
array('host' => '10.10.0.23', 'port' => 11211, 'persistent' => true, 'weight' => 1, 'timeout' => 1, 'retry_interval' => 15)
);
On the log side, we have noticed some errors, like this one :
Code:
[Wed May 29 11:36:45.837540 2019] [php7:error] [pid 17813] [client 86.253.236.165:55454] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /mnt/www/forummacg/library/DBTech/Optimise/Operator/Memcache.php on line 155, referer: https://forums.macg.co/admin.php?tools/run-deferred
Let me know if you need more information.
Thanks
Nicolas for MacGeneration