Topic on Project:Support desk

XCache var cache was not initialized properly

5
Spiros71 (talkcontribs)

I have changed the xcache.var_size to 500 from 100, but nothing changed.

The error below comes up whenever I run any script, i.e. runjobs or even showjobs. Does anybody else have similar experience with xcache? Which is the recommended accelerator for mediawiki? Is it possible to disable xcache in localsettings.php for testing purposes?

  • MW 1.16.5
  • Apache version 2.2.23
  • PHP version 5.3.21
  • MySQL version 5.1.66-cll
Warning: xcache_get(): XCache var cache was not initialized properly. Check php log for actual reason in .../includes/BagOStuff.php on line 552
Warning: xcache_set(): XCache var cache was not initialized properly. Check php log for actual reason in ...includes/BagOStuff.php on line 567
MarkAHershberger (talkcontribs)
Bawolff (talkcontribs)

Did you try setting the variable to 100M?

Spiros71 (talkcontribs)

The issue persists with MW 1.23.5 and XCache 3.0.3. Bawolff, thanks, I am not sure what you mean with 100M? Just add "100M"? That is what it was initially :)

Kghbln (talkcontribs)

I get this for MW 1.25.2

PHP Warning:  xcache_get(): XCache var cache was not initialized properly. Check php log for actual reason in /.../w/includes/libs/objectcache/XCacheBagOStuff.php on line 39
PHP Warning:  xcache_set(): XCache var cache was not initialized properly. Check php log for actual reason in /.../w/includes/libs/objectcache/XCacheBagOStuff.php on line 67

The internet is concerning this issue full of information leading to nowhere. I guess XCache is just a waste of time. I will now kill it on my server once and for all:

apt-get remove --purge php5-xcache

Reply to "XCache var cache was not initialized properly"