vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   XCache not playing nice (https://vborg.vbsupport.ru/showthread.php?t=212574)

Shamil. 04-30-2009 09:14 PM

XCache not playing nice
 
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

Here's my php.ini

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

Quote:

Originally Posted by nexialys (Post 1802429)
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

Quote:

Originally Posted by Dismounted (Post 1802812)
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

Quote:

Originally Posted by ct2k7 (Post 1803263)
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

Quote:

Originally Posted by motowebmaster (Post 1803390)
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:


Quote:

  1. xcache.var_size = 128M
  2. xcache.var_count = 2
  3. xcache.var_slots = 16K
  4. xcache.var_ttl = 10
  5. xcache.var_maxttl = 10
  6. xcache.var_gc_interval = 300

Remember, 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 [DATE]1241346618[/DATE] at [TIME]1241346618[/TIME] ---------------

Quote:

Originally Posted by puertoblack2003 (Post 1803288)
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

1 Attachment(s)
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.


All times are GMT. The time now is 07:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01994 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete