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)

Icy 03-02-2008 12:44 PM

Have you installed XCache as PHP extension? Would you please post your php.ini?

Amenadiel 03-02-2008 10:04 PM

yes, XCach? is running and I have 8 threads of php cached, but no cached vars.

https://vborg.vbsupport.ru/

IrPr 03-02-2008 10:13 PM

Hi moo
such a nice work! my huge forum is on the fly with lighty n xcache

Opcode cache works like a charm, Variable cache is workin too but there is sth wrong with this class to me
it kills my forum when i swich datastore to this class! server load increases upto 12 then will changes frequency up and down
Im using XCache for Template Cache module without such problem! template vars are cached and they'r fetching as charm
but for datastore it s*x! sth wrong when cachin or probably fetchin

here is my xcache admin interface snaps which indicates what i wrote
Attachment 76647
and here is my xcache configuration using 8 splits due to SMP CPU ( Clovertown Quad Core )
Code:

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

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

xcache.test =                Off
xcache.readonly_protection = Off
xcache.mmap_path =    "/dev/zero"

xcache.coredump_directory =  "/tmp/phpcore/"
xcache.cacher =              On
xcache.stat  =              On
xcache.optimizer =          Off

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

PS: i loaded xcache.so with zend extension, not default extensions directive

Please help me guys, any suggestion is welcome!

Regards

IrPr 03-02-2008 10:27 PM

Quote:

Originally Posted by Amenadiel (Post 1455499)
yes, XCach? is running and I have 8 threads of php cached, but no cached vars.

http://www.chilehardware.com/images/...xcache_chw.jpg

Seems config.php issue to me
make sure that ur config.php is clean by one $config['Datastore']['class'] assigned by 'vB_Datastore_XCache' and not commented out!

IrPr 03-02-2008 10:35 PM

Quote:

Originally Posted by doraj (Post 1443601)
If I use XCache Datastore, Can I also active "GZip Compression" to my AdminPC or are possible conflicts?

Thanks..

Ofcourse You can, theres no relationship between PHP Output handlers (GZIP or Deflate) and PHP Opcoder/Variable cachers ( XCache or APC or eAccelerator )

Amenadiel 03-03-2008 09:09 PM

Ok I solved the mistery. I spoke to the machine admin (I run the forum but I avoid messing with server configuration for I am no linux expert) and he told me that he compiled xcache without var cache support. He thought it wasn't necessary.

We will recompile in a few days. I'll update you guys then.

Icy 03-04-2008 01:52 AM

IrPr! You should increase the memory for op code cache. OOMs (out of memory) is no good. Try using 64 MB & see if there are any OOMs.

IrPr 03-04-2008 11:07 AM

Quote:

Originally Posted by Icy (Post 1456415)
IrPr! You should increase the memory for op code cache. OOMs (out of memory) is no good. Try using 64 MB & see if there are any OOMs.

Thanks Icy, i will increase
but what about Datastore class issue? i mean Variable cache
any idea?

BTW is there any other modification which conflicts with?

Icy 03-05-2008 05:59 AM

What PHP version are your using? If PHP 5.2.5 then check this link & downgrade to PHP 5.2.4.

IrPr 03-05-2008 11:52 AM

Quote:

Originally Posted by Icy (Post 1457298)
What PHP version are your using? If PHP 5.2.5 then check this link & downgrade to PHP 5.2.4.

I did but still same problem
i get no segment error but server load still increases
here is my phpinfo()
MOo please help


All times are GMT. The time now is 11:54 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.01281 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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