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 12-01-2007 05:49 AM

Quote:

Originally Posted by Hemanth (Post 1392782)
Thanks.. But what are OOM's?

OOM= Out Of Memory.
if u run out of memory- while cacher requaired more memory- in the page u will see OOMs.
to solve it- u just have to increase allocated RAM. as it fit for ur need

the Sandman 12-01-2007 12:43 PM

Quote:

Originally Posted by Zia (Post 1392780)
regarding the misses & clogs- many times i have discussed with the author(phpxcache)
he always assured me..this is not a problem---this is purely okay.

mm do u mind to post ur var.cache list's screen shot -how come ur site got that much :eek::erm: varbiable to be cached :eek::rolleyes: ,i know TAZ ..
either ur using temp.cache hack by lendy ?

---
and yes we are using vbseo3 gold + xcache+datastore (this hack) no problem at all

Yes, I'm running lendy's Template Cache. The var list is well over 300 entries long - too long to post.

SemperFideles 12-01-2007 08:36 PM

Quote:

Originally Posted by Zia (Post 1392784)
OOM= Out Of Memory.
if u run out of memory- while cacher requaired more memory- in the page u will see OOMs.
to solve it- u just have to increase allocated RAM. as it fit for ur need

Right. Though you can also just increase the xcache.size and the xcache.var.size to fix the problem if you haven't maxed it out.

The default is set to xcache.size=32M and xcach.var.size=0M.

My board requires that my xcache.size=140M and my xcache.var.size=2M. I also have my count set to 2 for the number of processors.

As you can see, even though my xcache.size is 140MB and the xcache.var.size is 2MB (even though the variables get most of the hits), this is still way less than the 4GB of system RAM on my server. You do not necessarily need to upgrade your server to fix your OOM problem but simply change a couple of variables in your php.ini.

Zia 12-02-2007 03:34 AM

Quote:

Originally Posted by the Sandman (Post 1392903)
Yes, I'm running lendy's Template Cache. The var list is well over 300 entries long - too long to post.


Thnax.
do u using the compress option too 0f lendy's temp.cache hack?

the Sandman 12-02-2007 03:01 PM

Quote:

Originally Posted by Zia (Post 1393328)
Thnax.
do u using the compress option too 0f lendy's temp.cache hack?

Yes. Is that advisable?

Zia 12-03-2007 04:04 AM

Quote:

Originally Posted by the Sandman (Post 1393544)
Yes. Is that advisable?

sorry Sir....no idea.
we used lendy's one..but we didnt use compress option.
but at TAZ ur using compress & blieve theres no problem at all :) so its fine imho.

Chadi 12-07-2007 03:41 AM

This box is a dual xeon, 4gb memory server with a dozen domains only. What do you recommend for optimal performance and speed?

Also in the OP screenshot, where is this web result found? What path?

[xcache-common]

zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so

[xcache.admin]
xcache.admin.auth = On
xcache.admin.user = ""
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 = 0M

; 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 = 0

; same as aboves but for variable cache
xcache.var_size = 100M
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 = ""

; 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 = Off

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

[eAccelerator]
extension="eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/var/cache/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

;[Zend]
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
;zend_optimizer.version=3.3.0

;extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so

[Zend]
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
;#zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
;#zend_optimizer.version=3.3.0
;#zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
;#zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

Chadi 12-07-2007 05:38 AM

This is causing errors in vbjournal
https://vborg.vbsupport.ru/showthrea...96462&page=109

I get this when I go to "my journal" area

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/class_core.php:3118) in /includes/functions.php on line 2801


If I go to journal index I get this

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

lazytown 12-08-2007 04:29 AM

Quote:

Originally Posted by chadi (Post 1396628)
This is causing errors in vbjournal
https://vborg.vbsupport.ru/showthrea...96462&page=109

I get this when I go to "my journal" area

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/includes/class_core.php:3118) in /includes/functions.php on line 2801


If I go to journal index I get this

Warning: unserialize() expects parameter 1 to be string, array given in /journal.php on line 115

Yup, this doesn't work with VbJounal.. Also has problems (still) with vbgallery (or photopost vbgallery or whatever). I asked a few times what actions can be done code-wise to fix similar problem with mods, but I received no response. It's too bad because this does help a lot.

-vissa

Yellow Slider 12-08-2007 04:54 PM

I'm Using this hack for quite a long time now, and in the last few days the board seem to be slowing down with no reason, what do i Need to watch in the XCache fields? do i need to increase a var in the settings?
I'm using orban's temp' cach hack, i know that it's in the grave yard but its' working fine for me..

my board is running on C2D server with 2 GB ram.


All times are GMT. The time now is 01:53 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.01232 seconds
  • Memory Usage 1,758KB
  • 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
  • (7)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