The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[DBTech] vB Optimise 2.0.1 (Lite) Details »» | |||||||||||||||||||||||||||||||||
vB Optimise Lite
This is ported from my original version released for vBulletin 3.8 located here. In this release I have re-coded vB Optimise from the gound and focused stability over features. Professional version & feature list available @ www.DragonByte-Tech.com/forum Priority support for Lite version is handled at the Developers Website. What does it do? vB Optimise is intended to optimise vBulletin software by integrating several PHP "cachers" and handling data before vBulletin. This works by encountering and handling data prior to vBulletin in order to skip the arbitary execution that would be more server intensive. Real-Life Statistics We've teamed up with some Big Forums to show you the impact of vB Optimise, you can view this public chart which shows both our statistics and theirs: View Public vB Optimise Resource Statistics Features - Lite
Features - Pro
Release Notes If you've used vB Optimise before you'll be aware the previous version had phrase caching, however this caused complications with the way phrases are used within vBulletin so it has not been ported over at this time. Available Translations v1.6.0 French - Thanks to finereader Change Log [>>] Version 2.0.1 No change, just keeping in sync with vB 3.8/Pro [>>] Version 1.6.1 Automatic Cache Flusher has additional parameters to make sure no data is stale Resolved Bug: Potential PHP error when using eAccelerator which cannot flush within Admin CP on certain actions [>>] Version 1.6.0 New OpCode Cacher Support: WinCache [>>] Version 1.5.0 Resolved Bug: Style cache may have fetched ID 0 instead of correct file Resolved Bug: Filecache permissions may not have worked Optimisation: Re-wrote some base code to enhance operations. [>>] Version 1.0.1 Added XCache Authentification Support Added Filecache Support Support Priority support will be handled at DBTech. FAQ Q: I have WinCache installed, but vB Optimise tells me it's not? A: WinCache only introduced OpCode support in version 1.1, if you're using version 1.0.x you will need to upgrade. Q: I'm using the XCache method, flushing doesn't work? A: If you have XCache authentification, turn the admin option on within vB Optimise Settings, then edit ./vboptimise/config.php and specify your XCache username/password. Alternatively you can disable XCache authentification within php.ini: Code:
xcache.admin.enable_auth = Off A: eAccelerator does not provide the caching extension by default, you will need to recompile PHP with additional flags. For more information read eAccelerator documentation located here: http://eaccelerator.net/wiki/CompileConfiguration (Specifically look at: with-eaccelerator-shared-memory) Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
Teascu Dorin, xrvel |
Comments |
#162
|
|||
|
|||
Quote:
i am not using XCache, i am only using memecache? any ideas? |
#163
|
||||
|
||||
Quote:
|
#164
|
|||
|
|||
thank you again
|
#165
|
||||
|
||||
No problem
|
#166
|
|||
|
|||
Hi there Guys, I seem to be in the same boat as the above poster.
I have a linux server (my own) and am running memcache but I get the following two errors with the system test: Code:
Running Test: Store Cache Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration. Running Test: Fetch Cache Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration. from php.ini Code:
additional .ini files parsed /etc/php/apache2-php5/ext-active/memcache.ini .. memcache memcache support enabled Version 3.0.4 Revision $Revision: 1.83.2.36 $ Directive Local Value Master Value memcache.allow_failover 1 1 memcache.chunk_size 32768 32768 memcache.compress_threshold 20000 20000 memcache.default_port 11211 11211 memcache.hash_function crc32 crc32 memcache.hash_strategy consistent consistent memcache.lock_timeout 15 15 memcache.max_failover_attempts 20 20 memcache.protocol ascii ascii memcache.redundancy 1 1 memcache.session_redundancy 2 2 Code:
helios init.d # vi /etc/php/apache2-php5/ext-active/memcache.ini extension=memcache.so memcache.allow_failover=true memcache.max_failover_attempts=20 memcache.chunk_size=32768 memcache.default_port=11211 memcache.hash_strategy=consistent memcache.hash_function=crc32 memcache.redundancy=1 memcache.session_redundancy=2 memcache.protocol=ascii TIA Will edit - sorry I see I have found this error here in the vb4 mod thread - I have this implemented in vb3.8.x |
#167
|
||||
|
||||
stardotstar - No worries about the version confusion As for the cache issue, what is the command for starting the memcached service you're using?
|
#168
|
|||
|
|||
Hi Deceptor, that is a good question - its installed on my Gentoo Linux host and as far as I know it has been called by the init.d daemon which is a "start|restart|stop" kind of thing - I'll try and work that out...
Thanks for the fast reply. I have looked at the /etc/conf.d/memcached file which probably defines the parameters fed to the command line when invoking the memcached daemon: Code:
helios conf.d # cat memcached # Copyright 2003 Gentoo Technologies, Inc # $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.6/conf,v 1.1 2008/08/01 15:56:55 caleb Exp $ # memcached config file MEMCACHED_BINARY="/usr/bin/memcached" #Specify memory usage in megabytes (do not use letters) #64MB is default MEMUSAGE="512" #User to run as MEMCACHED_RUNAS="memcached" #Specify maximum number of concurrent connections #1024 is default MAXCONN="1024" #Listen for connections on what address? # If this is empty, memcached will listen on 0.0.0.0 # be sure you have a firewall in place! LISTENON="127.0.0.1" #Listen for connections on what port? PORT="11211" #PID file location # '-${PORT}.${CONF}.pid' will be appended to this! # You do not normally need to change this. PIDBASE="/var/run/memcached/memcached" #Other Options MISC_OPTS="" Is there any way that I can check that? In the mean time I have switched the system over to file cache and it passes all the tests - would that be less efficient than memcache? I have put this in place with yslow and members are noticing an improvement - if I can get this to be as efficient as possible I will certainly seriously consider the commercial version - thank you for making this available in the Lite format! [edit] ahhh, this is probably what you want to see: Code:
106 18722 0.5 0.5 45208 18580 ? Ssl May18 4:23 /usr/bin/memcached -d -p 11211 -l 127.0.0.1 -m 512 -c 1024 -u memcached -P /var/run/memcached/memcached-11211.pid |
#169
|
||||
|
||||
Hi stardotstar,
Your configuration seems fine and the process is indeed running on localhost port 11211 which is a typical setup, and 512mb of ram is more than enough, so really it should be working. Might seem silly asking, but I presume you've setup Memcache configuration within vbulletins /includes/config.php? |
#170
|
|||
|
|||
Doh Doh Doh, double Doh;
I never ever realised that it needed configuring in my vB configs. I am googling how to do that properly now - the current config has the entire section rem'd out. I guess this in itself will improve the performance of my site? Thank you!! |
#171
|
|||
|
|||
OK I have it all configured (I have two boards so I set the prefix for this one to something unique) and saved the config.php
Now I have gone back to the admin cp and changed the vB optimise setting to memcache and run the tests and all passes. I can see memcache running when I top the server. I guess I'll wait and see what my users say. Great support! Thank you! [UPDATE] I have come across a strange problem on the boards when the new config.php is in place... When the memcache config is in place and people (including myself) try to edit posts they get an error when attempting to save the edit: vBulletin Message 1. maxloggedin cancel changes I have googled this and its very rare and in the past has only been responded to by asking people to turn products off to search for an offending product. I turned the recent products off (including this one) to no avail Then I copied my old (non-memcache) config back into place and the problem went away. I changed my config to remove the section for a prefix for caching in case this was causing trouble but made no difference. I have therefore returned to the old config in which memcache was disabled. Can I get some thoughts on this as it is clearly associated with my optimisation setup as per the recommendations for this product to work - but - and I stress this - clearly not the product itself. I have posted this in a thread on vb.com that I necromanced for this discussion: http://www.vbulletin.com/forum/showt...03#post1982603 for the record here is the original config.php: Code:
// ****** DATASTORE CACHE CONFIGURATION ***** // Here you can configure different methods for caching datastore items. // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php // vB_Datastore_APC - to use APC // vB_Datastore_XCache - to use XCache // vB_Datastore_Memcached - to use a Memcache server, more configuration below // $config['Datastore']['class'] = 'vB_Datastore_Filecache'; // ******** DATASTORE PREFIX ****** // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more // than one set of forums installed on your host, you *may* need to use a prefix // so that they do not try to use the same variable within the cache. // This works in a similar manner to the database table prefix. // $config['Datastore']['prefix'] = ''; // It is also necessary to specify the hostname or IP address and the port the server is listening on /* $config['Datastore']['class'] = 'vB_Datastore_Memcached'; $i = 0; // First Server $i++; $config['Misc']['memcacheserver'][$i] = '127.0.0.1'; $config['Misc']['memcacheport'][$i] = 11211; $config['Misc']['memcachepersistent'][$i] = true; $config['Misc']['memcacheweight'][$i] = 1; $config['Misc']['memcachetimeout'][$i] = 1; $config['Misc']['memcacheretry_interval'][$i] = 15; */ Code:
// ****** DATASTORE CACHE CONFIGURATION ***** // Here you can configure different methods for caching datastore items. // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php // vB_Datastore_APC - to use APC // vB_Datastore_XCache - to use XCache // vB_Datastore_Memcached - to use a Memcache server, more configuration below // $config['Datastore']['class'] = 'vB_Datastore_Filecache'; // ******** DATASTORE PREFIX ****** // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more // than one set of forums installed on your host, you *may* need to use a prefix // so that they do not try to use the same variable within the cache. // This works in a similar manner to the database table prefix. $config['Datastore']['prefix'] = 'heli'; // It is also necessary to specify the hostname or IP address and the port the server is listening on $config['Datastore']['class'] = 'vB_Datastore_Memcached'; $i = 0; // First Server $i++; $config['Misc']['memcacheserver'][$i] = '127.0.0.1'; $config['Misc']['memcacheport'][$i] = 11211; $config['Misc']['memcachepersistent'][$i] = true; $config['Misc']['memcacheweight'][$i] = 1; $config['Misc']['memcachetimeout'][$i] = 1; $config['Misc']['memcacheretry_interval'][$i] = 15; http://www.vbulletin.com/forum/showt...th-maxloggedin |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|