Answer the question
In order to leave comments, you need to log in
Error on the site - 'cache engine is not available' how to solve (bitrix)?
Hello !
Faced such a problem, stably once a month or even more an error pops up on the site.
Only restarting the server solves the problem. but this is certainly not an option, help me figure it out.
Host: *:443 - UNCAUGHT_EXCEPTION - [ErrorException] E_USER_WARNING
Cache engine is not available (0)
/home/bitrix/ext_www/www/bitrix/modules/main/lib/data/cache.php:131
#0: trigger_error(string , integer)
/home/bitrix/ext_www/www/bitrix/modules/main/lib/data/cache.php:131
#1: Bitrix\Main\Data\Cache::createCacheEngine(array)
/home/bitrix/ext_www/ www/bitrix/modules/main/lib/data/cache.php:155
#2: Bitrix\Main\Data\Cache::createInstance()
/home/bitrix/ext_www/www/bitrix/modules/main/lib/data/managedcache.php:46
#3: Bitrix\Main\Data\ManagedCache->read(integer, string, string)
/home/bitrix/ext_www /www/bitrix/modules/main/lib/config/option.php:176
#4: Bitrix\Main\Config\Option::load(string)
/home/bitrix/ext_www/www/bitrix/modules/main/lib /config/option.php:38
#5: Bitrix\Main\Config\Option::get(string, string, string)
/home/bitrix/ext_www/www/bitrix/modules/main/lib/httprequest.php:392
#6: Bitrix\Main\HttpRequest->prepareCookie(array)
/home/bitrix/ext_www/www/bitrix/modules/main/lib/httprequest.php:69
#7: Bitrix\Main\HttpRequest->__construct(object, array, array, array, array)
/home/bitrix/ext_www/www/bitrix/modules/main/lib/httpapplication.php:46
#8: Bitrix\Main\HttpApplication->initializeContext(array)
/home/bitrix/ext_www/www/bitrix/modules/main /lib/application.php:122
#9: Bitrix\Main\Application->initializeExtendedKernel(array)
/home/bitrix/ext_www/www/bitrix/modules/main/include.php:22
#10: require_once(string)
/ home/bitrix/ext_www/www/bitrix/modules/main/include/prolog_before.php:14
#11: require_once(string)
/home/bitrix/ext_www/www/bitrix/modules/main/include/prolog.php:10
#12: require_once(string)
/home/bitrix/ext_www/www/bitrix/header.php:1
#13: require(string)
/home/bitrix/ext_www/www/catalog/index.php:2
#14: include_once(string)
/home/bitrix/ext_www/www/include/my_urlrewrite.php:159
cache - memcached
The /etc/sysconfig/memcached file has the following parameters:
MAXCONN = "1024"
CACHESIZE="32096"
OPTIONS=" -t 8"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question