Status
Not open for further replies.

Gadget_Guy

Customer
Hi,

Lately my site has been throwing memory errors on occasion when I use XCache instead of FileCache

TSC Error.jpg

I have Xcache settings at 32M for both xcache.size and xcache.var_size

How do I know what to make these settings? Apparently 32M is not enough.

I don't want to just crank up these settings and waste our server RAM.

Our VPS is only 1.8G of RAM

Can anyone make a recommendation?

I have since disabled XCache and went back to FileCache as that seems to be stable.

I think the site was faster using XCache though.

D.
 
Did you retart apache after setting those settings?

Also, are you sure you're editing the correct php.ini? VPS setups with control panels often have very complex php.ini structures and editing the wrong one could lead to the settings not being recognised.

What is displayed for size and var_size when you're viewing PHP Info in the AdminCP?


If nothing of this helps then I'm afraid you'll have to contact your host - due to the gigantic amount of different server configurations it's unfortuantely not possible for us to advice any further :(


EDIT: It's a bad idea to have both vBSEO and vBOptimise caching enabled - double caching of the same content could lead to issues. Not THIS issue, just other unknown issues.
 
Hi,

Thanks for the very quick reply.

xcache.JPG

That is my XCache config.... so it looks like it is seeing the configuration.

Yes. Apache was restarted when it was setup.


Should I take the settings to 64M each?

Is there a way to monitor the cache size to see how much is being used and watch it?

Also... from your other suggestion. If I turn on XCache in your product, you are suggesting that I not turn it on in VBSEO as well?

D.

I also just realized that I didn't make a change in my config.php file for Xcache.... could this be part of the problem?

My config.php looks like this currently:

// ****** DATASTORE CACHE CONFIGURATION *****

// Here you can configure different methods for caching datastore items.

// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php

// vB_Datastore_APC - to use APC

// vB_Datastore_XCache - to use XCache

// vB_Datastore_Memcached - to use a Memcache server, more configuration below

// $config['Datastore']['class'] = 'vB_Datastore_XCache';



D.
 
Last edited by a moderator:
To monitor the XCache status you can use "XCache Admin", that should be findable on google quite easily how to set that up.

You could try taking only var_size up to 64M.
 
Can you comment on what I need to change in my config.php?

Also, can you confirm that I turn on XCache on your product and NOT Vbseo?

D.
 
I can't say whether a config change will work, but I can say that you should turn cache off in vBSEO if caching (even file cache) is on in vBO yes.
 
What I am referring to is my Vbulletin Config.php file.

It currently looks like this:

My config.php looks like this currently:

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config['Datastore']['class'] = 'vB_Datastore_XCache';


Am I supposed to uncomment that last line? Or do I just leave it alone?

D.
 
Status
Not open for further replies.

Similar threads

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,972
Customer rating
0.00 star(s) 0 ratings
Top