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)

Zia 03-03-2007 03:56 PM

Quote:

Originally Posted by MikeWarner (Post 1194908)
No - I need 100mb. I have tried to reduce it, but was getting ooms using 90mb. I'll give it a try later. Thanks.

ag OOMS ..thet u obiviously need 100 MB..(wondering how many things ur using)
then did u try 10 or 20 Mb for xcache.var_size ?

bluechris 03-03-2007 06:50 PM

Thx guys for the reply... i got it working now.. is there anyway that i can see stats of the site how is it going... what is cached etc?

bluechris 03-03-2007 07:33 PM

Nevermind i got the admin page working and i see the statistics... the point is i dont see cache working really... or i am mistaken.... see my php.ini settings

Code:

[xcache]
xcache.shm_scheme =        "mmap"
xcache.size  =                32M
xcache.count =                2
xcache.slots =                8K
xcache.ttl  =                0
xcache.gc_interval =          0

xcache.var_size  =            32M
xcache.var_count =            2
xcache.var_slots =            8K
xcache.var_ttl  =            0
xcache.var_maxttl  =          0
xcache.var_gc_interval =    300

xcache.test =                Off

xcache.readonly_protection = Off
xcache.mmap_path =    "c:/temp"

xcache.coredump_directory =  ""


xcache.cacher =              On
xcache.stat  =              On
xcache.optimizer =            On

[xcache.coverager]
xcache.coverager =          Off
xcache.coveragedump_directory = ""


Also in admin page of xcache i see this results in the attached gif.

the only 4 hits that had cached is the pages from admin of xcache, do i need to do something extra in my VB? or anywhere else?

shifangjumie 03-03-2007 11:01 PM

国内的兄弟??

Zia 03-04-2007 01:50 AM

Quote:

Originally Posted by bluechris (Post 1195052)
Nevermind i got the admin page working and i see the statistics... the point is i dont see cache working really... or i am mistaken.... see my php.ini settings

Code:

[xcache]
xcache.shm_scheme =        "mmap"
xcache.size  =                32M
xcache.count =                2
xcache.slots =                8K
xcache.ttl  =                0
xcache.gc_interval =          0

xcache.var_size  =            32M
xcache.var_count =            2
xcache.var_slots =            8K
xcache.var_ttl  =            0
xcache.var_maxttl  =          0
xcache.var_gc_interval =    300

xcache.test =                Off

xcache.readonly_protection = Off
xcache.mmap_path =    "c:/temp"

xcache.coredump_directory =  ""


xcache.cacher =              On
xcache.stat  =              On
xcache.optimizer =            On

[xcache.coverager]
xcache.coverager =          Off
xcache.coveragedump_directory = ""


Also in admin page of xcache i see this results in the attached gif.

the only 4 hits that had cached is the pages from admin of xcache, do i need to do something extra in my VB? or anywhere else?

Ur on win server?
seemed that ur cache is working...

i m confused ur var.cache is working or not :confused: .....did u follow all the steps properly to enable var.cache?

phpxcache 03-04-2007 01:57 AM

Quote:

Originally Posted by bluechris (Post 1195052)
Nevermind i got the admin page working and i see the statistics... the point is i dont see cache working really... or i am mistaken.... see my php.ini settings
the only 4 hits that had cached is the pages from admin of xcache, do i need to do something extra in my VB? or anywhere else?

i assume you're usig windows, can u tell me how is your php installed? not the installtion steps, but about how it looks like. iis? apache? mod_fastcgi or not?


See Faq: Why is my cache being cleared?

bluechris 03-04-2007 04:35 AM

I use IIS with php 5.2.1 ... but i got the big picture from the links and other search i did on web...
I think the problem is that i use fast-cgi..... this dont not work good in windows cause caching programs cannot share among many worker processes that windows run for each user ... my 2 options now is run as isapi i suppose or w8 for something else...... i dont know what else i can do.

Quote:

Originally Posted by Zia (Post 1195202)
Ur on win server?
seemed that ur cache is working...

i m confused ur var.cache is working or not :confused: .....did u follow all the steps properly to enable var.cache?

Yeap i got same statistics for var cache... says that hasn't cached anything.

MikeWarner 03-04-2007 06:39 AM

Getting this error:
Fatal error: Cannot redeclare class vb_datastore:vb_datastore_xcache in /home/migweb/public_html/forums/includes/class_datastore_xcache.php on line 14

I double checked everything.

phpxcache 03-04-2007 06:56 AM

Quote:

Originally Posted by MikeWarner (Post 1195307)
Getting this error:
Fatal error: Cannot redeclare class vb_datastore:vb_datastore_xcache in /home/migweb/public_html/forums/includes/class_datastore_xcache.php on line 14

I double checked everything.

you gotta remove the old patch that you applied (inserted) to use the new installtion way.

search includes/* for string "vB_Datastore_XCache" (without the quotes)

MikeWarner 03-04-2007 07:51 AM

Hmmm... now getting:
Fatal error: XCache variable data cache is not enabled, please set xcache.var_size in php.ini in /includes/class_datastore_xcache.php on line 39

xcahce.var_size is set to 10 and is showing in the xcache cp.


All times are GMT. The time now is 02: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.01055 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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