vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=237325)

rajubd 06-06-2010 04:30 PM

xcache much faster for me i don't want to use memcache
can you please say me waht is the best xcache configuration for Intel(R) Xeon(TM) MP CPU 2.80GHz

Deceptor 06-06-2010 04:33 PM

XCache isn't much faster actually, my benchmarks have shown at best it uses a little less runtime memory because it doesn't require a socket connection.

As for best configuration, I'm afraid I can't help you there, as far as I know there's no "good" configuration for XCache, if it's working it's fine :)

Super Jinni 06-17-2010 04:48 PM

Hi Deceptor,

I just installed your mode after installing XCache. But I'm having the same problem as rajubd.
When running the test I get this results:

Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully

I've checked all the configuration of the xcache.ini file and here you are the contents:
Code:

; configuration for php Xcache module

[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
zend_extension = /usr/lib/php5/20090626+lfs/xcache.so

[xcache.admin]
xcache.admin.enable_auth = Off
; Configure this to use admin pages
; xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
; xcache.admin.pass = ""

[xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme =        "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size  =                16M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =                1
; just a hash hints, you can always store count(items) > slots
xcache.slots =                8K
; ttl of the cache item, 0=forever
xcache.ttl  =                0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =          120

; same as aboves but for variable cache
xcache.var_size  =            16M
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 =                On
; N/A for /dev/zero
xcache.readonly_protection = On
; 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 =          On

[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 =          On

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

It will be appreciated if you can help with this. :)

Edit: BTW, I'm on 3.8.5

Regards!

Deceptor 06-17-2010 08:03 PM

Configuration seems fine, as I told rajubd you might need to contact XCache on their support forums to see why it isn't working, it's a fairly common problem. If they point out what was wrong I'd love to hear what it is :)

Super Jinni 06-18-2010 01:49 AM

OK, I'll try to get in touch with them, in the meanwhile, what would you suggest to use as an alternative to XCache? I mean what do you think is the best to use along with vb forums? I'm sure you have a lot of experience in this field so I'd like to hear some suggestions from you.:)

Another question, can I let XCache running/working and use another opcache operator beside it like memcached or APC?

Thanks :)

sadiq6210 06-18-2010 05:20 AM

when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.

Although I enabled it from (admincp >> vB Optimise Settings)

Super Jinni 06-18-2010 06:47 AM

I uninstalled XCache and installed APC instead, but still getting the same result when running the test:

Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully

I'm running CGI/FastCGI by the way (if that might have something to do with the issue).

Or is it possible to be a folder/file permission related problem?

Thanks for your help ^^

TeknoSounds 06-18-2010 06:56 AM

Quote:

Originally Posted by sadiq6210 (Post 2055283)
when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.

Although I enabled it from (admincp >> vB Optimise Settings)

do you have an OpCode cacher installed? One of the ones mentioned like xcache, memcache, APC, etc....

Quote:

Originally Posted by Super Jinni (Post 2055308)
I uninstalled XCache and installed APC instead, but still getting the same result when running the test:

I'm running CGI/FastCGI by the way (if that might have something to do with the issue).

Or is it possible to be a folder/file permission related problem?

Thanks for your help ^^

what operating system are you using?

Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?

Super Jinni 06-18-2010 09:16 AM

Quote:

Originally Posted by TeknoSounds (Post 2055312)
what operating system are you using?

Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?

I'm using Ubuntu 10.04 LTS.
I'm also using the 3.8's mod.
When I was searching about my issue I got to this thread and found the same issue was already reported. So I thought I'd post it here.

I also thought this issue is related to XCache only, but now it's exist with APC.

Deceptor 06-18-2010 11:24 AM

Super Jinni - Best alternative to XCache in my mind is Memcache. In regards to your issue it may be a CGI/FastCGI issue, do you know if you're using DSO or SuPHP for the handler? Typically cPanel let's you choose when building apache/php from within WHM.

Memcache would resolve the issues because it's different from your typical opcode cachers, it runs as a dedicated service :)

sadiq - Make sure vB Optimise is online and you have selected a cache system to use, with no cache system selected there's nothing to test :)


All times are GMT. The time now is 03:04 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.01391 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_code_printable
  • (3)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