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)

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:09 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.00985 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete