![]() |
|
I had to turn this off. It doesn' seem to update the cache from the command line. Meaning, when a script that updates the datastore is run in a browser it works fine, when it's run as a server cron it does nothing. I'm not sure if it's a vBulletin issue or an xcache issue. I just have no time to look into it right now.
|
Quote:
Thanks for the tip for: PHP Code:
https://vborg.vbsupport.ru/showthread.php?t=123719 Maybe you should give a try because it doesn't seem i have any cron issues... |
LOL, very cute showing me my own hack. However, I am refering to server cron. I have some very intensive scripts on certain sites that run every few minutes and need to be run using the command line.
Now that the xcache forums are back up I see it does not support cli yet. So I will wait. Meanwhile, it does a great job caching and optimizing the PHP scripts. |
I just installed xcache and my boards are running smooth and fast.
I will install this hack once all the bugs have been fixed. |
Quote:
I also have cronjobs set to run every few minutes (via cpanel - rsync between multiple servers) They are fine for me. |
Quote:
|
how do install xcache in first place
|
Quote:
|
Personally, I would not go this way.
I prefer installing memcached (for datastore) then use XCache for the rest of the php files. From my tests, this combination improves the VB performance by over 250%. Expecially if you use 2 servers or more for your site. An example: With the above setup, the forumhome memory usage drops from 3,500KB to 720KB. The rest is cached by the memcached/XCache combo. Still, that does not say your code is bad. Congrats on a good idea. :) |
i m also getting this error
Fatal error: Class vb_datastore_xcache: Cannot inherit from undefined class vb_datastore in /home/forum/public_html/includes/class_datastore_xcache.php on line 14 i checked the answer of phpxcache regarding this error but unable to do. Please guide me. |
Anybody get this mod working okay? Sounds like a brilliant idea!
|
its working on our site without any single issue...
b4 using it..u must have xcache installed |
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
|
Quote:
|
Quote:
Thanks Gabriel. |
haven't used memcached but just installed xcache/datastore hack on one of my forums.. made a tremendous difference to the speed :D
excellent stuff ! anyone have any ideas how this would work with load balanced multi web server setup ? guess memcached would work better for load balanced servers ? |
Quote:
Gabriel. |
Quote:
|
Quote:
how can I work with memcache and Xcache to get the most out of the two of them? memcache will cache the DB ( how exactly ? ) there is another hack? and the Xcache will cache the php time? and the php process time will be faster? |
Quote:
this hack/addon just allow you cache datastore to XCache beside memcached/file/apc/... so if you wanna use memcache for DB/datastore, just install XCache extension but not this hack. the meaning of "datastore" is defined by vbulletin, not me. it's simply a DB cache, nothing more, nothing less. |
Quote:
beside of that, What do you think will do the work better Xcache with this hack or Memcache? Are they doing the same things? There is DC caching and PHP caching, What do I use Memcache for? |
XCache datastore is same as file/apc/memcached data sore, u just pick one of them.
1. use XCache for php caching, and/or: 2. use of and ONLY one of "ea/file/apc/memcached/XCache" for datastore caching, u can't do Xcache_datastore + memcached_datastore or anther combination, but you can xcache_php_caching + xcache_datastore or xcache_php_caching + memcached_datastore or xcache_php_caching + file_datastore etc "ea/file/apc/memcached" is officially supported by vBulletin, this hack only add and XCache optional choice for you. |
What is the lowest I should set my var.cache size?
Would it be foolish to set it to something as low a 4M? I ask because after running it for about an hour I only used around 2mb of the cache and it was showing no signs of maxing out. |
4M is plenty if you are only using it for vbulletin (I only have mine set to 2M).
|
Quote:
Are you planning to release a modification that will work with Xcache / memcache and will cache php too? Thanks a lot. |
Quote:
More exacly, use memcached for datastore and XCache for the php files. I built my own rpms, optimized for lighty and vbulletin. Please dont ask me anything if you use Crapache. :) |
I have installed this modification, and nothing is changed..
how can I Be 100% that this modification is doing some thing? :\ Maybe I havn't installed it property , but there isn't anything to do, upload a file and to add a line in the config file.. what may be wrong? config file - PHP Code:
PHP Code:
|
Quote:
|
I've done it after posting here, and still there in no change..
how can i check and see if the modification actually works? View the Attachments file maybe it will give you some clue, I've installed the cache templates modification as well.. |
Can't anyone help me ? :\
|
yellow spider..
as ur attachment.its saying var.cache is working |
Will this modification work if you have xcache running as a rpm?
Thanks, Itworx4me |
Quote:
|
I get this error when trying to install this mod:
Fatal error: XCache not installed in /includes/class_datastore_xcache.php on line 34 Any idea? Thanks, Itworx4me |
u have to get your XCache run first.
i suppose u have installed a XCache with rpm, but u shall append php.ini with xcache.ini and update some values. see http://xcache.lighttpd.net/wiki/Inst...AsPhpExtension |
Wow I finally figured it out and installed this hack myself. No errors as my site is Super Fast!! I'm using vbulletin 3.6.8
|
congrats........it really works
|
I asked my host about xcache and this was their reply
Quote:
any comment is greatly appreciated. Thanks |
Quote:
|
All times are GMT. The time now is 01:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|