PDA

View Full Version : XCache not playing nice


Shamil.
04-30-2009, 09:14 PM
Hello,

I've installed xcache on my server, and it doesn't appear to be playing nice:

xcache.var_size is either 0 or too small to enable var data caching

Well, here's my PHPinfo (http://theflickzone.com/phpinfo.php)

Here's my php.ini (http://vb-tfz.pastebin.com/m22ec6d6e)

That should give you enough information as to why XCache isn't playing nice.

What do you think is happening?

Paul M
04-30-2009, 10:22 PM
Its not listed in your phpinfo, so I guess php is not loading it.

Shamil.
04-30-2009, 10:24 PM
I've just removed it, becuase it was causing HTTP 503s, I'll add it again.

Loaded... Funny how the PHP & Zend logos don't load when the module is loaded.

nexialys
05-01-2009, 11:21 AM
that just mean it's not compatible... you'll have to use another cache engine.

Shamil.
05-01-2009, 05:21 PM
that just mean it's not compatible... you'll have to use another cache engine.

Hi, what two software/modules are incompatible?

Dismounted
05-02-2009, 12:40 AM
My guess is that XCache is not compatible with ionCube's loader.

Shamil.
05-02-2009, 04:35 AM
Interesting, they were working on another server together.

puertoblack2003
05-02-2009, 08:06 AM
My guess is that XCache is not compatible with ionCube's loader.


you are correct been there and hated it...:(

Shamil.
05-02-2009, 08:44 PM
That is horrible.. but then how did I get this to work on another server?

puertoblack2003
05-02-2009, 09:33 PM
That is horrible.. but then how did I get this to work on another server?

i ended up using eAccelerator which works well.To find out more about xcache go to vb.com under server configs they may can help you more over there.

motowebmaster
05-03-2009, 03:06 AM
IONCube and XCache will play together.

Your Var Cache needs to be be enabled and set to something 4mb at first. It can be reduced after you've got an idea of what will be used.

Shamil.
05-03-2009, 09:28 AM
IONCube and XCache will play together.

Your Var Cache needs to be be enabled and set to something 4mb at first. It can be reduced after you've got an idea of what will be used.

Here's what in my PHP.ini when:



xcache.var_size = 128M
xcache.var_count = 2
xcache.var_slots = 16K
xcache.var_ttl = 10
xcache.var_maxttl = 10
xcache.var_gc_interval = 300Remember, I have commented the XCache module in the module loading section, since it is a production server and the HTTP 503 errors aren't helping any sites.

--------------- Added 1241346618 at 1241346618 ---------------

i ended up using eAccelerator which works well.To find out more about xcache go to vb.com under server configs they may can help you more over there.

eAcc hasn't performed too well, the second one to perform was APC, but XCache was by far the best.

Mattcch
05-03-2009, 10:53 AM
my solaris box current running xcache1.22 config, may see the print-screen chop pic below.
and don't know tuned it or not for xcache.var_size = 3M .
should I increase its value?

addon:
initial swap space decrease from 1200M to about 450M after starting xcache with this values.
But about 1-2 seconds earn in vb response time and not hang at all.

motowebmaster
05-04-2009, 01:25 AM
Try increasing the memory limit in php.ini. The link to your phpinfo states that it is 32M. Increase it to something much larger at first, like 400M or 800M if your server has the RAM available. Also, reduce your xcache counts to 1, for both the primary and var cache. Make your var cache size 4M.

Restart your webserver and see what happens. 503 errors are common with temporary overload of server resources. Something is getting in the way.

Some VPS technologies don't play well with XCache, due to the way they share memory. If you continue to have problems, I'd open a ticket with vbulletin and contact your host.

DieselMinded
05-04-2009, 03:28 AM
Try APC

Shamil.
05-10-2009, 09:39 PM
APC works, and now the VPS has crapped up --> cPanel's gone AWOL and it's wiped all of my sites... luckily, I have today's backups.