vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - datastore cache to XCache - boost your vBulletin (https://vborg.vbsupport.ru/showthread.php?t=141005)

Mecho 09-20-2007 01:07 PM

still this error :

Quote:

Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /includes/class_datastore_xcache.php on line 124

Unable to add cookies, header already sent.
File: /public_html/forum/includes/class_core.php
Line: 3116
any idea ?

here is my setting about Xcache in php.ini :

Quote:

; same as aboves but for variable cache
xcache.var_size = 4M
xcache.var_count = 1
xcache.var_slots = 8K
; default ttl
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300

xcache.test = Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path = "/dev/zero"


; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory = "/tmp/phpcore/"

; per request settings
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager = Off

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""

phpxcache 09-21-2007 06:05 AM

Quote:

Originally Posted by Mecho (Post 1343124)
still this error :
any idea ?
here is my setting about Xcache in php.ini :

try phpinfo() ?

Mecho 09-21-2007 09:10 AM

sorry but i dont get what u meant !

phpxcache 09-22-2007 07:36 AM

Quote:

Originally Posted by Mecho (Post 1343705)
sorry but i dont get what u meant !

why not try phpinfo() and show us what's there, just like you check your ini settings
to setup a phpinfo, see www.php.net/phpinfo example

Mecho 09-22-2007 02:26 PM

ah ok . got it >

phpinfo.php

phpxcache 09-23-2007 12:44 AM

how do you load xcache.so?
extension=xcache.so
OR
zend_extension=/path/to/xcache.so

try the other way

Hemanth 09-23-2007 03:09 PM

Installed and working smootly.. How can I check any performance improvements? :)

Btw. On first install it damaged the Zend installation.. After some investigation I simply reinstalled Zend and everything is smooth now.

Mecho 09-23-2007 07:36 PM

Quote:

Originally Posted by phpxcache (Post 1344907)
how do you load xcache.so?
extension=xcache.so
OR
zend_extension=/path/to/xcache.so

try the other way

it was Zend_extension ( correct path ) , i remarked it with ;; and them removed ;; from extension=xcache.so . server restarted . this errors showed up :
Quote:

Fatal error: XCache not installed in /includes/class_datastore_xcache.php on line 34
sry for this problem . i'm noob in these stuff .

Zia 10-06-2007 07:36 AM

Helo phpxcache..
can u say is there any way to use this varcache with particular Vb Module like Vbradio & Tv?

lazytown 10-08-2007 07:59 AM

Tried this out... Seemed to work great except some strange problems with vbjournal and photopost gallery (2.3 -- still problems with xcache datastore).

I had to disable it due to the plugin problems. If there was a guide on how to change plugins so they are compatible that might be helpful.


All times are GMT. The time now is 11:28 AM.

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.01274 seconds
  • Memory Usage 1,744KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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