View Full Version : Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite)
Deceptor
03-01-2010, 10:00 PM
vB Optimise Lite
This is ported from my original version released for vBulletin 3.8 located here (https://vborg.vbsupport.ru/showthread.php?t=199207). 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 (http://www.dragonbyte-tech.com/vboptimisesites.php)
Features - Lite
Supported Extensions
APC
eAccelerator
Memcache
XCache
WinCache
Filecache
Style Cacher
Caches style data to globally reduce a query within all vBulletin forum-based pages.
Template Cacher
Caches template data to globally reduce a query within all vBulletin forum-based pages.
Datastore Cacher
Forces custom datastore items from modifications (including those from vB's blogs) to use your configured Datastore Cache method instead of being forced into the database. This reduces page queries by where affected.
vB CMS Template Caching
(Automatic) Corrects many uncached templates within vB CMS to reduce upto 20+ queries on CMS pages (number varies based on content).
Optimal Settings Check
Provides a quick interface to identify possible settings which can be changed on your forum for further optimisation.
Self-System Tester
Provides a relatively straight-forward system check to ensure your vB Optimise installation works fully.
Automatic Cache Flusher
Automatically flushes cache within the Admin CP based on specific triggers to make sure content does not remain stale on your forum.
XCache Authentification
Supports XCache Admin Authentification by allowing you specify the username/password in a configuration if needs be.
Features - Pro
Notices Cacher
Caches users dismissed notices to reduce a near-global query within all vBulletin forum-based pages.
Showgroups Cacher
Caches the showgroups query which becomes more intensive as your user-base grows.
Forum Display Query Enhancement
Enhances a stock vBulletin query within Forum Display to speed up the page.
Forum Home WOL Cache
Caches Forum Home "Who's Online" to remove an intensive query and allow larger sites to display this data without impact.
vB Cache Override (Feature not available on vBulletin 3)
Ability to override vBulletins new built-in database cacher for the CMS / Forum Sidebar Blocks to remove anything from 1 to 20+ queries based on your content.
Full Guest Caching
Ability to cache entire pages and serve them saving not only hundreds of queries but upto 90% of CPU processing towards Guests.
Statistical Resource Savings
Ability to see just exactly how many queries per day vB Optimise has saved your database. You'll be surprised at the numbers.
Forum Resource Statistic
Shows off vB Optimise resource saving statistics directly within forumhome statistics.
....and more!
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 (https://vborg.vbsupport.ru/showpost.php?p=2015890&postcount=88) - Thanks to finereader (https://vborg.vbsupport.ru/member.php?u=72631)
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 (http://www.dragonbyte-tech.com).
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:
xcache.admin.enable_auth = Off
Q: I have eAccelerator installed, but vB Optimise tells me it's not?
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)
Deceptor
03-02-2010, 09:08 PM
Reserved
DragonByte Tech
03-02-2010, 09:11 PM
Just want to confirm this is a DragonByte Technologies release.
Deceptor is a contributing coder who we are excited to be working with =)
BlackJacket
03-02-2010, 09:15 PM
Thanks! Tagged for later.
ProFifaLeagues
03-02-2010, 09:23 PM
I know it states 4.0.2 but will it still work on a 4.0.0 vbull install?
Thanks
Deceptor
03-02-2010, 09:34 PM
I know it states 4.0.2 but will it still work on a 4.0.0 vbull install?
Thanks
I've not tested I'm afraid - you can try but should you run into problems you may need to disable hooks through config.php to resolve any errors.
ChopSuey
03-02-2010, 09:46 PM
Going to install thanks!
ChopSuey
03-02-2010, 10:04 PM
Error after saving settingsFatal error: Declaration of vb_optimise_none::get() must be compatible with that of vb_optimise_operator::get() in /home/x/public_html/forum/vboptimise/core/class_operator_none.php on line 0
cory_booth
03-02-2010, 10:09 PM
Interactions with VB4:Supercharged?
gbechtel
03-02-2010, 10:10 PM
My site is now offline..... Anyone have a quickfix????? Please
Fatal error: Declaration of vb_optimise_xcache::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_xcache.php on line 46
Fatal error: Declaration of vb_optimise_memcache::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_memcache.php on line 75
Fatal error: Declaration of vb_optimise_apc::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_apc.php on line 43
Fatal error: Declaration of vb_optimise_eaccelerator::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_eaccelerator.php on line 53
Even None gives an error
Fatal error: Declaration of vb_optimise_none::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_none.php on line 28
Deceptor
03-02-2010, 10:10 PM
Try re-download and upload, there was a minor package bug when I originally released :)
FYI, what PHP versions are you running?
Edit
I removed the abstraction class definition to resolve compatability issues. Download/upload if you're having an issue :)
Deceptor
03-02-2010, 10:21 PM
Interactions with VB4:Supercharged?
This is a completely different mod. Supercharged looks to optimise the code delivered to users through browsers to save bandwidth/rendering times.
vB Optimise is still optimisation, but at a server-level.
Sador
03-02-2010, 10:21 PM
Nice, thanks. :)
gbechtel
03-02-2010, 10:25 PM
Thanks, error is gone but none of the extentions are installed, I will see if they can be added..
Thanks
vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or configured correctly on your server. Please contact your system administrator or hosting provider for more information.
Deceptor
03-02-2010, 10:27 PM
Thanks, error is gone but none of the extentions are installed, I will see if they can be added..
Thanks
vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or configured correctly on your server. Please contact your system administrator or hosting provider for more information.
Yes you'll need atleast one installed. I have not included the filecache in this release which anyone can use because the impact didn't seem worth it - that said if enough people request it I shall pop it on :)
ChopSuey
03-02-2010, 10:29 PM
Interactions with VB4:Supercharged?
That mod is completely useless :down: Conflicts with alot of other modifications.
Hopefully this error is fixed ^^
cory_booth
03-02-2010, 10:49 PM
That mod is completely useless :down: Conflicts with alot of other modifications.
Hopefully this error is fixed ^^
I have had no issues with it... Regards...
ChopSuey
03-02-2010, 10:56 PM
I have had no issues with it... Regards...
4.0.2 it doesn't work at all. & It conflicts with vMoods.
cory_booth
03-02-2010, 10:57 PM
Installed along with VB4 SuperCharged and see a noticeable speed difference. I am using XCache as well. Have not done any "posting" and stuff yet, but display rendering is much quicker. Running 4.02 and several mods...
Deceptor
03-02-2010, 10:58 PM
4.0.2 it doesn't work at all. & It conflicts with vMoods.
Don't really think this is the thread for that really :) I assume the error is resolved?
Deceptor
03-02-2010, 10:58 PM
Installed along with VB4 SuperCharged and see a noticeable speed difference. I am using XCache as well. Have not done any "posting" and stuff yet, but display rendering is much quicker. Running 4.02 and several mods...
Glad to hear the positive results :)
cory_booth
03-02-2010, 11:04 PM
I have installed this hack and here is what I have running:
Auto HTML Emails .9
Automatic Tagger From Content and Title 4.4.0
BBR - Useful Links on Member Action Dropdown. 1.04
BBR - vB Event Forums 1.0.1
BBR - Welcome Thread On Register 2.02
Cel Social Groups Notifications 4.0.006
Farcaster's Event Attendance 3.0.0b
Gameroom 1.1.1
GeekyDesigns Default Avatar 2.0.2
Hasann - Username Html Markup 4.0.1
ibProArcade for vBulletin 2.7.0 ibProArcade
Members who have Visited Today - Widget 4.0.1
PhotoPost Pro 7.0 PhotoPost Pro 7.0
Text Messaging 2.0 - Free Version 2.0
vB Optimise 1.0.0
vB4: SuperCharged 1.3
vBulletin Blog 4.0.2
vBulletin CMS 4.0.2
VSa - Auto Birthday Greeter 2.0.3
VSa - ChatBox 3.1.6
VSa - PayPal Donate 5.0
Yay! Another Facebook Bridge 3.2.1
Kolbi
03-03-2010, 04:00 AM
Without any caching system is it then useful, too?
djbaxter
03-03-2010, 04:33 AM
Perfect.
I installed this. Realized it wasn't going to be much help. Uninstalled it.
Now my database is trashed and I cannot access either the forum or the Admin CP.
Thanks a lot! :(
ChopSuey
03-03-2010, 04:42 AM
Without any caching system is it then useful, too?
If you have any of these installed
* APC
* eAccelerator
* Memcache
* XCache
It will work ;)
djbaxter
03-03-2010, 04:44 AM
Warning: require_once([path]/vboptimise/core/class_vboptimise.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(331) : eval()'d code on line 3
Fatal error: require_once() [function.require]: Failed opening required '/home/psychlin/public_html/forum/vboptimise/core/class_vboptimise.php' in ... includes/init.php(331) : eval()'d code on line 3
Where is that information stored? There is no0 reference to the file in init.php.
ChopSuey
03-03-2010, 04:51 AM
djbaxter, it looks like you have NOT uploaded all files to their respective directory.
argothiusz
03-03-2010, 05:09 AM
Q: I'm using the XCache method, flushing doesn't work?
A: This means your XCache is configured to use an admin username/password, you will of specified these in php.ini. You can turn admin authentification off in your php.ini file
How about a field for us to input/define our xCache username and pass instead of disable authorization. People can easily find my xcache directory through google/yahoo inbound link finder and mess with the stuff. >.<
djbaxter
03-03-2010, 06:45 AM
djbaxter, it looks like you have NOT uploaded all files to their respective directory.
I uploaded them. Then tried to uninstall from ACP. And then deleted the files. If I reupload the files, it avoids the "no file" error but indicates an unspecified database error.
Either way, I cannot access either the ACP or the forum.
I have never had an add-on do this before. This is a friggin' mess.
If you have installed this add-on, do NOT uninstall it.
Deceptor
03-03-2010, 11:28 AM
How about a field for us to input/define our xCache username and pass instead of disable authorization. People can easily find my xcache directory through google/yahoo inbound link finder and mess with the stuff. >.<
Coming in the next release :)
@ djbaxter
It says your file is missing, if you uploaded then it probably went to the wrong location. Check the following folder exists: /public_html/forum/vboptimise/core/ - if it does not then you've uploaded the files incorrectly (remember to upload the "contents" of the upload/ folder, not the actual upload/ folder itself).
If you're still having issues accessing ACP, you can disable hooks via config.php:
define('DISABLE_HOOKS', 1);
You'll then be able to uninstall the mod product XML (which you should always do before deleting files).
Kolbi
03-03-2010, 12:45 PM
If you have any of these installed
* APC
* eAccelerator
* Memcache
* XCache
It will work ;)
How to test it? :)
I have currently a webhostingpackage.
Deceptor
03-03-2010, 12:46 PM
How to test it? :)
I have currently a webhostingpackage.
vB Optimise will automatically test for you, after installation go to the settings and try to select any. If it works vB Optimise will not stop you from selecting the extension, otherwise a message is presented.
If unsure or you need to install an extension, it's best to ask your hosting provider.
ChopSuey
03-03-2010, 01:27 PM
I'd rather let your host install XCache cause its faster than others.
sinucello
03-03-2010, 02:06 PM
Hi,
I have installed this hack and here is what I have running:
thank you very much for the listing. It`s very interesting to see which mods other vB4 users have installed.
all the best,
Sacha
djbaxter
03-03-2010, 02:58 PM
@ djbaxter
It says your file is missing, if you uploaded then it probably went to the wrong location. Check the following folder exists: /public_html/forum/vboptimise/core/ - if it does not then you've uploaded the files incorrectly (remember to upload the "contents" of the upload/ folder, not the actual upload/ folder itself).
If you're still having issues accessing ACP, you can disable hooks via config.php:
define('DISABLE_HOOKS', 1);
You'll then be able to uninstall the mod product XML (which you should always do before deleting files).
None of that helped.
I did uninstall the product before removing the files.
Your uninstall script doesn't work properly.
Deceptor
03-03-2010, 03:00 PM
None of that helped.
I did uninstall the product before removing the files.
Your uninstall script doesn't work properly.
There is no uninstall script. You removed the product files, but you need to remove the product from your vB ACP first.
The same rule applies to any modification with a product XML/files, it would even occur on vBlog.
DragonByte Tech
03-03-2010, 03:04 PM
Just confirmed there is no issue with removing/uninstalling the product by testing it several times.
Iain
Deceptor
03-03-2010, 03:06 PM
Version 1.0.1 Released
[>>] Version 1.0.1
Added XCache Authentification Support
Added Filecache Support
djbaxter
03-03-2010, 03:16 PM
There is no uninstall script. You removed the product files, but you need to remove the product from your vB ACP first.
The same rule applies to any modification with a product XML/files, it would even occur on vBlog.
See above. I did that. I'm not new to installing and uninstalling products or plugins. Your add-on left all sorts of crap behind in the database, corrupting my database in the process. I restored the database from a backup but lost some of the data in the process, and now I'm still trying to clean up the mess.
kalisekj
03-03-2010, 03:16 PM
Very nice need this one for large sites. Thank You!
Deceptor
03-03-2010, 03:20 PM
See above. I did that. I'm not new to installing and uninstalling files. Your add-on left all sorts of crap behind in the database, corrupting my database in the process. I restored the database from a backup but lost some of the data in the process, and now I'm still trying to clean up the mess.
vB Optimise doesn't touch the database, the only DB interaction is with vBulletins stock product/plugin installer - if what you claim is true then vBulletin corrupted your database. However without evident proof (other than a PHP error which says a file is missing) I'm beginning to think you're trolling this thread.
argothiusz
03-03-2010, 03:26 PM
Installed and work like charm.
Compatible with all other modifications :)
Thanks for the Xcache authorization ^_^
MarkJW
03-03-2010, 03:50 PM
Using this with Memcache on a litespeed/suPHP-powered server (all the other accelerators aren't compatible with my setup). Seems to be helping things, but I wish that there was a vbMicrostats mod for vB4 so I could know for sure. The old vbMicrostats mod for vB2 and vB3 finally won't work anymore on vB4. :(
Deceptor
03-03-2010, 03:52 PM
Using this with Memcache on a litespeed/suPHP-powered server (all the other accelerators aren't compatible with my setup). Seems to be helping things, but I wish that there was a vbMicrostats mod for vB4 so I could know for sure. The old vbMicrostats mod for vB2 and vB3 finally won't work anymore on vB4. :(
You can enable vBulletin debug mode in the config.php file:
$config['Misc']['debug'] = 1;
This will show queries and such, not as pretty as the microstats unfortunately :)
See above. I did that. I'm not new to installing and uninstalling products or plugins. Your add-on left all sorts of crap behind in the database, corrupting my database in the process. I restored the database from a backup but lost some of the data in the process, and now I'm still trying to clean up the mess.
xCache has nothing to do with your database.
What caching method have You used ?
When is your database became corrupted "in the process"? During install, during running or during uninstall ?
vB Optimise was THE BEST general optimization script for 3.x. Cudos for porting this to 4.x! :up:
Deceptor
03-03-2010, 03:54 PM
vB Optimise was THE BEST general optimization script for 3.x. Cudos for porting this to 4.x! :up:
You're welcome :)
I'm using APC and when I run vB Optimise System Test, everything passes ok except the Flush Cache which gives me this error:
Your Opcache Operator extension is unable to flush variables. Please check your extension configuration.
I'm not sure where to check in the APC config for this?
Deceptor
03-03-2010, 05:03 PM
I'm using APC and when I run vB Optimise System Test, everything passes ok except the Flush Cache which gives me this error:
Your Opcache Operator extension is unable to flush variables. Please check your extension configuration.
I'm not sure where to check in the APC config for this?
Generally it's located within php.ini, or APC.ini if your setup has distribute configuration files. AFAIK there is no special requirement for APC flushing its cache.
Perhaps the new flag introduced needs to be set, try opening the following file "/vboptimise/core/class_operator_apc.php"
Find:
apc_clear_cache();
Change it to:
apc_clear_cache('user');
Save and upload the file, run the System Test again :)
That did the trick, thanks!
Deceptor
03-03-2010, 05:12 PM
That did the trick, thanks!
Awesome, I'll update the download to include the hot-fix :)
Big-Pete
03-03-2010, 06:29 PM
I loved this on vb3.8.4, anyway, I just installed on vb402 and ended up with an internal 500 server error as soon as the plugin had imported, I had to go into the Plugin manager and delete the VBO items one at a time until all 4 items had been deleted, as soon as I did this the site was back up, Not sure what the issue is but I've listed the mods that we have installed incase anyone knows of a possible conflict :)
AME 3 3.0.1
GamerCards in User Profile & Postbit 2.6.1
GeekyDesigns Default Avatar 2.0.2
microSUPPORT 4.4.2 Site HelpDesk
Use Original Thread for Comments 4.0-0.1 a2
VB image hosting 2.0.0 Image hosting sloution for VB 4.0.x
vB Optimise 1.0.1 ( disabled for now)
vB4: SuperCharged 1.3
vBadvanced CMPS 4.0.0 Beta 2 vBadvanced Content Management & Portal System vBadvanced Links Directory 4.0.0 Beta 2 vBadvanced Links Directory
vBH - Add new tabs 1.2 1.2
vBSEO 3.5.0 RC2 vBulletin SEO
vBSEO :: Sitemap Generator 2.6 beta 1
vbStopForumSpam 0.61
vBulletin Blog 4.0.2 vBulletin CMS 4.0.2
vBulletin MediaWiki 4.0.2RC3 MediaWiki,
VSa - Sub-Forum Manager 3.0 VSa - Sub-Forum Manager
Deceptor
03-03-2010, 06:33 PM
I'm not aware of any known conflicts, 500 internal error can sometimes mask PHP errors. If you could check your apache error log and see what the error logged there was around the time it occured for you I'd know a little more about the issue :)
Deceptor
03-04-2010, 08:50 AM
Large update coming out today which will provide some minor bug fixes, code restructuring.
The main new confirmed features are:
- vBCache Override
A new caching feature available that can save anywhere between 1 to 10-20+ queries, it's main focus is on the vBCMS but works all-over vBulletin.
- Resource Savings
A little handy analytical feature, see the attachment below.
Big-Pete
03-04-2010, 10:40 AM
I'm not aware of any known conflicts, 500 internal error can sometimes mask PHP errors. If you could check your apache error log and see what the error logged there was around the time it occured for you I'd know a little more about the issue :)
Hi Deceptor, I'd gladly do that if i knew how, I have root access via plesk, any ideas how i view the apache error log?
Deceptor
03-04-2010, 02:07 PM
Hi Deceptor, I'd gladly do that if i knew how, I have root access via plesk, any ideas how i view the apache error log?
Ah, if unsure it's best to ask your host to fetch it for you. The log may be big depending on how it's rotated, so if possible ask them to fetch you from this week to today :)
Once you have the log open in notepad and scroll the bottom, then keep scrolling up till you find the date/time the error occured. Then you'll have the error :)
argothiusz
03-04-2010, 03:58 PM
Hi Deceptor, I'd gladly do that if i knew how, I have root access via plesk, any ideas how i view the apache error log?
Use putty to access
cd usr/local/apache/logs
Well, that is where all my logs located. Its varied from each O.S and control panel.
ssslippy
03-04-2010, 04:17 PM
most logs are kept in /var/log/ by default
hilfe-forum
03-04-2010, 06:20 PM
Large update coming out today...
I don't wanna go to sleep tonight
ps2wiz
03-05-2010, 03:41 AM
Can you add integration with wincache for this mod?
hilfe-forum
03-05-2010, 11:42 AM
Error
Users can change Style after install vB Optimise
crashys
03-05-2010, 02:03 PM
After installing product, activated xcache, change to cache template and styles and got this lovelly error.
Now i can't even login to my forum... forum is dead.... HELP!! :(
Warning: xcache_get() [function.xcache-get (http://forum.quadmania.com/function.xcache-get)]: xcache.var_size is either 0 or too small to enable var data caching in [path]/vboptimise/core/class_operator_xcache.php on line 21
Deceptor
03-05-2010, 02:43 PM
After installing product, activated xcache, change to cache template and styles and got this lovelly error.
Now i can't even login to my forum... forum is dead.... HELP!! :(
Warning: xcache_get() [function.xcache-get (http://forum.quadmania.com/function.xcache-get)]: xcache.var_size is either 0 or too small to enable var data caching in [path]/vboptimise/core/class_operator_xcache.php on line 21
Resolved this issue over at DBTech, problem was a XCache configuration issue on the server-end, it's all working now :)
Leo Brazil
03-05-2010, 06:01 PM
May be it's kinda off topic but here it goes anyway.
Question: I don't have any kind of cache or accelerator system installed on my server yet. What you guys recomend ? Considering also easy-to-install, performance and so on and of course, a system that this mod would bring me the best performance from other.
Big-Pete
03-05-2010, 06:27 PM
Just tried the updated version as I loved this when we were using vb3x and the new updated version works perfectly!! Thanks so much!!
Question: I don't have any kind of cache or accelerator system installed on my server yet. What you guys recomend ?
I've only ever really used xcache.. Might be worth asking on the server optimization forum over at vbulletin.com
Megatr0n
03-05-2010, 07:37 PM
Deceptor, can you please check your e-mails and get to me when you can, thanks! :D
Deceptor
03-05-2010, 09:19 PM
May be it's kinda off topic but here it goes anyway.
Question: I don't have any kind of cache or accelerator system installed on my server yet. What you guys recomend ? Considering also easy-to-install, performance and so on and of course, a system that this mod would bring me the best performance from other.
XCache is favoured mostly for vBulletin installs, personally I like to have XCache installed to cache php scripts normally, but Memcache to handle variables for the vB datastore/vB Optimise.
@Megatron - Will do :)
Megatr0n
03-05-2010, 09:36 PM
MegaDork is waiting! :D
lemonadesoda
03-05-2010, 09:42 PM
Deceptor, can I ask you a similar which-accelerator question? My situation is probably different to many:
1./ We run a private vB install. It is used by a bunch of contractors and some clients working together on joint projects. It is essentially a project communication tool.
2./ We very rarely have more than 10 people on simultaneously, so we aren't suffering from server CPU/disk/database constraints, BUT
3./ The server is internet bandwidth limited - due to where/how we host, and the internet connection shares bandwidth with VoIP services.
4./ vB 4.x seems to have more HTML/PHP/CSS overhead than vB 3.x. and doesn't perform quite as sweetly, but now we have upgraded, we aren't going back.
What would you suggest to improve the user's experience? Would this mod help? Or for our situation, would you recommend something different?
Thanks in advance.
Deceptor
03-05-2010, 09:54 PM
Really the only bandwidth vBOptimise does save is internally, and that's only if you have a seperate database server (traffic between web->db).
I don't think this mod is suited for such a scenario (this is aimed at server load), I'd probably just make sure css is served as files as such, perhaps even get a cheap CDN server to serve static content like images/javascript/etc... :)
Megatr0n
03-05-2010, 10:36 PM
Did you recieve it?
Sorry to gate-crash the thread like this but not seen you on MSN lately! :)
esa66
03-15-2010, 10:41 AM
I installed the mod and now my System test says:
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
What should I make to fix this problem? How to "check extension configuration"?
any benchmarks? How do we know this improves performance?
also can you add wincache support?
http://www.iis.net/expand/WinCacheForPhp
I can put you on to the MS developers if you need.
ps2wiz
03-28-2010, 07:46 AM
also can you add wincache support?
http://www.iis.net/expand/WinCacheForPhp
x2
http://www.vbulletin.com/forum/showthread.php?340645-Cache-for-a-Windows-Server
Lilmikeishere
03-30-2010, 03:37 PM
When I run the system test, it says:
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
Yes, I have it enabled in the settings.
ps2wiz
03-31-2010, 01:01 AM
When I run the system test, it says:
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
Yes, I have it enabled in the settings.
Do you have the datastore properly configured in the config.php file?
badawidollah
04-01-2010, 12:23 AM
i am installed this
i choose file chache
but my forum going to slow
what is the problem
badawidollah
04-01-2010, 12:43 AM
yes ... working...
wow
fantastic
thanks for this mods
very very very very help me
Deceptor
04-04-2010, 12:30 PM
I'm looking into adding WinCache support for the next release :)
As for:
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
This message will be displayed if vB Optimise is on, but you don't have an OpCacher set (by default it's "None"). Obviously without a cacher, there's nothing to test :)
As in regards towards "proof" to this working - we're currently co-operating with a big forum owner who has recieved a complimentary copy of the Pro version as a thanks for later providing us with before/after data so the impact can be seen. Once we have that available you'll see it. If you're a big forum owner (ideally minimum 100-400 users online at lowest traffic periods), then you're free to PM me about the same offer.
Deceptor
04-04-2010, 05:37 PM
Version 1.6.0 Update
----------------------------
WinCache Support for Windows Servers.
Note: You will need atleast WinCache 1.1 for it work in vB Optimise, those using v1.0 will need to upgrade.
Enjoy!
ps2wiz
04-04-2010, 06:02 PM
Question, I use wincache and memcached on my server.
In the config.php file of vBulletin I enabled memcached. But now since vB Optimize supports wincache should I disable memcached in the config.php file or will it not really make a difference?
Deceptor
04-04-2010, 06:13 PM
If you're using Memcached for vBulletins Datastore then I recommend you keep using it along with WinCache for vB Optimise. I'm sure in time vBulletin will soon support WinCache too so you can keep them both the same :)
woot!!!!
Wincache is the best!!! Dam so fast!
Deceptor
04-04-2010, 06:29 PM
woot!!!!
Wincache is the best!!! Dam so fast!
Glad it's making a positive impact :)
ps2wiz
04-04-2010, 06:42 PM
If you're using Memcached for vBulletins Datastore then I recommend you keep using it along with WinCache for vB Optimise. I'm sure in time vBulletin will soon support WinCache too so you can keep them both the same :)
Thanks for answering my question so quickly and for maintaining this awesome product.
What exactly is the difference between this Lite version and the paid version?
Deceptor
04-04-2010, 06:49 PM
Thanks for answering my question so quickly and for maintaining this awesome product.
What exactly is the difference between this Lite version and the paid version?
Not a problem, in short the Pro version adds further optimisation - reducing a lot more queries than Lite is capable of (info (http://www.dragonbyte-tech.com/vbecommerce.php?do=purchase&act=product&id=1)). :)
I'm up and running on vbo 1.6.0 pro. Over 100,000 queries saved so far in just over 1 hour.
thanks! I find wincache faster than memcached. I also have vb datastore cached to wincache.
No I just have to get vbseo into wincache and I can disable memcached totally.
Dadoo
04-05-2010, 12:21 AM
Vbulletin-fr.org is proud to provide you the French translation of vBOptimise v1.6.0
IMPORTANT : this zip file contains ONLY french phrases in XML file, not the product.
Installation instructions are inside zip.
badawidollah
04-05-2010, 01:17 AM
i am using filecache and fast too
wincache for windows only, not for linux centos?
ps2wiz
04-05-2010, 01:21 AM
wincache for windows only, not for linux centos?
Wincache is only for windows.
Kolbi
04-05-2010, 08:43 AM
Is someone using the Filecache and can tell me about his/her improvings?
Deceptor
04-05-2010, 11:23 AM
@finereader
Thanks! I'll put a link to the translation in the main post :)
@badawidollah
Yes WinCache is for windows only, as a linux user though you have the choice of all the other extensions :)
Deceptor
04-05-2010, 02:47 PM
We've now got a public chart for you guys to look at. The chart is similar the one featured in the pro version where you can view your own forums statistical data on queries saved.
This public chart is just the same, except it will display multiple websites so you guys can get a feel for the impact being made.
We'd like to thank PipStack.com for allowing us to use their data, and we have a couple of more sites lines up that will be added in the future :)
View Public vB Optimise Resource Statistics (http://www.dragonbyte-tech.com/vboptimisesites.php)
Deceptor
04-07-2010, 11:57 PM
Just a minor update here, NextGenBoards.com (http://nextgenboards.com) have submitted their details to be included on our performance chart (http://www.dragonbyte-tech.com/vboptimisesites.php), thanks guys!
Kolbi
04-08-2010, 06:12 AM
A nice clipechart would be how much loading time or traffic was saved by using vB Optimise :)
Deceptor
04-08-2010, 10:51 AM
A nice clipechart would be how much loading time or traffic was saved by using vB Optimise :)
No real way to measure the "loading" time saved, it's not like removing a query will cut exactly 0.0x seconds off loading, it simply may or may-not depending on your server (and is not the main intention of this modification, it is to reduce strain on mysql which can result in faster loading times as a byproduct).
As for "traffic saved", not sure what you mean there - we optimise pages so ideally it allows more traffic to reach you before your servers become hot-hot-hot :)
StarBuG
04-08-2010, 11:49 AM
Hi
A simple question:
I use APC Cache.
Does it need to be enabled in vBulletin config.php or or disabled for vB Optimise to work properly?
Currently I have enabled it.
I set the config file to use a different prefix for apc then I set on vB Optimise.
Does it have to be the same or a different one?
Thanks for this mod
StarBuG
Deceptor
04-08-2010, 11:51 AM
Hey Starbug,
APC does not need to be enabled in vBulletins config, none of the cachers do (although it is recommended so their datastore is cached). That said the only config I do read is memcache connection values if you use Memcache (again though, It doesn't need to be hooked upto the datastore).
As for the prefix, they do not have to be the same. The option for the prefix in vBO is given incase you run multiple installations of vBulletin on the same server (or using the same memcache server) so cache doesn't collide.
StarBuG
04-08-2010, 12:04 PM
Thanks for the answer :)
badawidollah
04-09-2010, 07:50 AM
@finereader
Thanks! I'll put a link to the translation in the main post :)
@badawidollah
Yes WinCache is for windows only, as a linux user though you have the choice of all the other extensions :)
may i kiss you for this mods
you save my $$$
doopz
04-09-2010, 09:24 AM
Nice! have it installed; looks promising so far.
is there a way to show the chart for our forum?
Deceptor
04-09-2010, 11:02 AM
@badawidollah
You're more than welcome :)
@doops
I'm afraid the chart is only available to Pro users (and then users have to manually request being put on the public chart). If you want to monitor the queries different, you can use vBulletin debug mode and switch vBO on/off on pages to gather the difference in queries :)
badawidollah
04-10-2010, 12:46 AM
i know litespeed can save memory for apache. but apache is not free.
i planned to buy litespeed for apache since my forum memory overload. more than 1,2GB RAM
with this software, its about 500MB ram only.
httpd memory save more than 75% for me.
and my forum speep more than 5 times.
i never think someone will give it for free.
mandingo
04-10-2010, 01:22 AM
i know litespeed can save memory for apache. but apache is not free.
i planned to buy apache since my forum memory overload. more than 1,2GB RAM
with this software, its about 500MB ram only.
httpd memory save more than 75% for me.
and my forum speep more than 5 times.
i never think someone will give it for free.
Apache is quite free:
http://www.apache.org/dyn/closer.cgi
badawidollah
04-10-2010, 01:38 AM
Apache is quite free:
http://www.apache.org/dyn/closer.cgi
apache is free
but i am talking about litespeed for apache
:D
Deceptor
04-10-2010, 08:54 AM
apache is free
but i am talking about litespeed for apache
:D
Not sure what you mean by litespeed "for" apache. Litespeed is intended as an actual replacement to apache to run your web port (80). Unless you want the enterprise edition Litespeed is free: http://litespeedtech.com/litespeed-web-server-editions.html
badawidollah
04-10-2010, 02:20 PM
Not sure what you mean by litespeed "for" apache. Litespeed is intended as an actual replacement to apache to run your web port (80). Unless you want the enterprise edition Litespeed is free: http://litespeedtech.com/litespeed-web-server-editions.html
free litespeed not recommend for VB4
because php4.x.x not 5.2.x above
thanks
** could we upgrade litespeed php version?
Deceptor
04-10-2010, 03:18 PM
I don't know for sure, but I would imagine there's no problem upgrading PHP to 5.2.x or 5.3.x on litespeed, would seem rather strange if they locked you down to php 4.
badawidollah
04-10-2010, 03:50 PM
i`ll looking for another way how to upgrade it
thanks
sadiq6210
04-13-2010, 07:29 AM
Thanks
Ronny46
04-14-2010, 04:21 PM
If I work on a user and then stores the following mistake comes Like does repair I this? Sorry my English is not so good
Fatal error: Call to undefined function print_cp_message() in /var/www/vhosts/rheuma-treffpunkt.at/httpdocs/forum/vboptimise/core/class_operator_eaccelerator.php on line 50
Deceptor
04-14-2010, 10:08 PM
Hi Ronny,
The PHP error is a bug, however the line it has invoked means your using eAccelerator and it's not configured correctly to allow flushing. The message should say:
vB Optimise: Your eAccelerator requires you to specify permission to this directory to allow vB Optimise to clear your cache. For more information please visit http://bart.eaccelerator.net/doc/phpdoc/eAccelerator/_info_php.html#functioneaccelerator_clear
Once that's resolved, the error shouldn't occur anymore.
I'll get the error patched in the next release regardless :)
Ronny46
04-14-2010, 10:33 PM
Thank you for the answer, so is called I must wait for the next version?
Deceptor
04-15-2010, 11:40 AM
Hi Ronny,
The update will resolve the error, however the actual problem is that vB Optimise cannot flush the cache because eAccelerator requires you to set permissions to the script path, without that done vB Optimise will not function correctly (your data will become stale).
Deceptor
04-15-2010, 12:53 PM
I've released the 1.6.1 update Ronny, it will remove the PHP error as I discussed but your eAccelerator still needs to be configured or flushing won't work.
ps2wiz
04-15-2010, 11:16 PM
Any chance wincache support can be added for the 3.8 version?
Deceptor
04-16-2010, 11:23 AM
Any chance wincache support can be added for the 3.8 version?
The 3.8 version is discontinued unfortunately, due to issues and as such some elements being cached in the vB4 version don't exist in vB 3.8 (atleast within Pro, which may trickle down to lite).
That said, adding the WinCache support is relatively easy, you'll need to do two things. Firstly, open ./includes/class_activecache_methods.php, then add this lump of code right above the last "?>"
class vb_activecache_wincache extends vb_activecache
{
static $class = __CLASS__;
static $instance;
function get_instance()
{
return (self::$instance) ? self::$instance : (self::$instance =& new self::$class());
}
function suicide()
{
if (self::$instance)
{
self::$instance = null;
}
parent::suicide();
}
function connect()
{
if (!function_exists('wincache_ucache_get'))
{
return false;
}
return true;
}
function set_title(&$title)
{
$title = $this->prefix . $title;
}
function fetch($title)
{
if (!$this->connect())
{
return false;
}
$this->set_title($title);
return $this->integrity_check(wincache_ucache_get($title));
}
function set($title, $item)
{
if (!$this->connect())
{
return false;
}
$this->set_title($title);
if (trim($item) == '')
{
$item = '{_______VB_ACTIVE_CACHE_BLANK_______}';
}
wincache_ucache_set($title, $item);
}
function flush()
{
wincache_ucache_clear();
}
}
Secondly you'd need to add the option for WinCache in the options, you can do this one of two ways. If you have debug mode enabled, you can simply edit the option within the ACP. Or if you want, you can edit the product XML and find the following:
memcache|Memcache
xcache|XCache
apc|APC
Simply change to:
memcache|Memcache
xcache|XCache
apc|APC
wincache|WinCache
Then re-import the product XML, you should get the option and it should work, although I haven't tested it :)
work perfectly like version 3.84. Thanks
work on quad x X5460 with 24GB dram + Raid 5. php 5.2.6 , mysql 5.0.45-community-nt. 2gb database
with xcache. sorry i forgot
booktoweb
04-18-2010, 10:27 AM
the best vbulletin hack
i had waited it a long time to upgrade it to vbulletin 4
thank you
Deceptor
04-18-2010, 06:51 PM
Glad you think so, enjoy! :)
Muniesa
04-18-2010, 10:22 PM
I made an XCache (only one that worked) and only saw an increase of memory usage by 20MBS, disk space remained the same.
Is this mod not working for me?
Deceptor
04-19-2010, 11:15 AM
I made an XCache (only one that worked) and only saw an increase of memory usage by 20MBS, disk space remained the same.
Is this mod not working for me?
Do a system test which will make sure all elements are working, 20MB increase in memory usage - is that number reported at the bottom along with vBulletin debug info? If so something seems very wrong as vBulletin only runs typically 15~ MB usage for vB4 (depending on the page).
Muniesa
04-19-2010, 03:20 PM
Do a system test which will make sure all elements are working, 20MB increase in memory usage - is that number reported at the bottom along with vBulletin debug info? If so something seems very wrong as vBulletin only runs typically 15~ MB usage for vB4 (depending on the page).
Soory to ask but how do I do a system check?
Regarding the increase I just checked the stats in plesk before and after I installed the mod.
Mind you I did some optimizing before with storing attachments and css in files.
Deceptor
04-19-2010, 03:58 PM
Ah, your CP will give you a true memory usage of the OS - and if it's caching files that may be reason, or that XCache is actually working (as its stores data within the RAM, and as such that's what you want).
To run a system test, in the ACP go to: vB Optimise -> System Test
It'll report if any part of the test failed.
Dennis Kaczor
04-22-2010, 07:16 PM
I installed this and it works well, and suprised at the speed in loading the pages.
So my question is I run a small board right now, what would be the advantage to me with the PRO verion? And how much more would I got out of the Pro version for $50.00 US?
I'm trying to justify the money for the Pro version and if it is worth it for me.
Thanks
Deceptor
04-22-2010, 09:44 PM
I'll reply via PM to you :)
Fenriz
04-24-2010, 04:56 AM
Deceptor, I have the same questions as Dennis Kaczor, could you please reply via PM to me also :)
StarBuG
04-24-2010, 10:25 AM
Thanks again. Great Product. I own 2 Pro Licenses and use 2 lights. I like the light speed page loading with full page caching for guests in the Pro Version best. :)
Deceptor
04-24-2010, 12:36 PM
Deceptor, I have the same questions as Dennis Kaczor, could you please reply via PM to me also :)
Will do :)
@StarBug - You're welcome!
MedellinStyle
04-25-2010, 11:46 PM
installing amazing if workssssssssss thanks!
Deceptor
04-26-2010, 12:48 PM
Enjoy :)
rajubd
04-27-2010, 01:25 PM
what is the different between lite and full version
price of full version please ?
Deceptor
04-27-2010, 04:03 PM
what is the different between lite and full version
price of full version please ?
I'll PM you :)
rajubd
04-27-2010, 06:34 PM
using xcache
xcache.admin.enable_auth = on
still
Running Test: Flush Cache
undefined
how can i find XCache username/password
is it database username and passward?
Deceptor
04-27-2010, 06:51 PM
You need to enable XCache Authentification in the vB Optimise Settings, and also define the XCache username/password inside ./vboptimise/config.php :)
Your actual user/pass are in php.ini, although the password is an md5 hash, not the actual plain-text password (which needs to be entered in the config.php file for vB Optimise).
rajubd
04-27-2010, 06:54 PM
find a bug unable to change user group when
when hit save screen shows like this
http://img198.imageshack.us/img198/3172/32059960.jpg
Deceptor
04-27-2010, 07:03 PM
That's because you've not configured XCache, so the Flush is failing.
maidos
05-02-2010, 05:58 PM
what do you mean by not configurating the xcache?
Deceptor
05-03-2010, 11:06 AM
what do you mean by not configurating the xcache?
If XCache has authentification setup (in php.ini, or xcache.ini depending on setup), then you need to configure the XCache username/password within vboptimise/config.php (in plain-text), and turn on XCache Authentification within the vB Optimise settings :)
None of that is required however if your xcache installation has authentification turned off.
softvnzla
05-05-2010, 01:55 AM
Hello, I get blank screen when you go to: vboptimise.php?do=flush
that may be? use vbulletin 4.0.3
ps2wiz
05-05-2010, 05:29 AM
that may be? use vbulletin 4.0.3
No problems with 4.0.3 here.
Run a system test.
smnoel
05-05-2010, 03:28 PM
I installed the mod and now my System test says:
What should I make to fix this problem? How to "check extension configuration"?
I'm having the same issue. :(
Deceptor
05-05-2010, 03:40 PM
@softvnzla & smnoel
Please run the System Test within the Admin CP (under vB Optimise) and let me know which tests succeed or fail. Generally if flush cache is failing and you're running XCache you'll need to enable XCache configuration within vBO options and also edit ./vboptimise/config.php to specify your XCache username/password (or alternatively disable XCache admin authentification within php.ini).
If it's eAccelerator, you'll need to provide the script access to run the flush command, more information: http://eaccelerator.net/wiki/Settings#eAccelerator0.9.5andhigher
rajubd
05-06-2010, 06:43 AM
Any member see improvment after upgrade to full.
Deceptor
05-06-2010, 11:20 AM
I can't comment, but here's a quote from someone who has Pro: https://vborg.vbsupport.ru/showpost.php?p=2026415&postcount=130 :)
MedellinStyle
05-10-2010, 04:58 AM
Installed and started to get database errors. And finally crashed.
DragonByte Tech
05-10-2010, 09:47 AM
Do you have any examples of the DB errors so we can try to diagnose what the issue was? :)
Thanks,
Iain
Deceptor
05-10-2010, 06:03 PM
Installed and started to get database errors. And finally crashed.
Database errors? No one else has encountered that issue. As Iain said above if you could provide what error that was it would be great. Not sure how DB errors caused you to crash either.
ps2wiz
05-11-2010, 01:26 AM
Database errors? No one else has encountered that issue. As Iain said above if you could provide what error that was it would be great. Not sure how DB errors caused you to crash either.
Yeah, I'm not an expert coder. But I don't see how this modification is responsible for database errors. It would help if you were to disclose more information about the errors though.
bhanuprasad1981
05-11-2010, 04:10 AM
i am getting warning in system check for Running Test: Store Cache & Running Test: Fetch Cache :-
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
please help, i am using xcache :(
Deceptor
05-11-2010, 12:57 PM
Hi bhanuprasad,
Please refer to my other posts located here, your XCache probably requires authentification configuration:
https://vborg.vbsupport.ru/showpost.php?p=2028238&postcount=137
https://vborg.vbsupport.ru/showpost.php?p=2031054&postcount=141
egyptsons
05-12-2010, 04:17 PM
Good work thank u
I will try it :)
Why does when I want to run a System Test, I get this error:
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
Although it is obviously running!
kmohamed
05-13-2010, 10:35 PM
using page speed and yslow i didn't see any changes
i been using vB4 SuperCharged - Optimises CSS, Javascript and HTML and i saw huge changes
please explain what it does and how?
i appreciate the effort
thanx a lot
DragonByte Tech
05-13-2010, 11:15 PM
Not intended to speed up the page, it reduces mySQL queries.
You can see the sort of savings sites make here: http://www.dragonbyte-tech.com/vboptimisesites.php
It will have a large impact on page speed if your server is dealing with a lot of queries (i.e your traffic goes up for instance, or you have features/modifiations which add queries to your pages). If thats not the case, then it won't have a huge effect on page speed - but it will still save you queries, letting your server run better and giving your site more room to deal with influxes of members etc before you have to upgrade your hardware.
Hope that clears things up for you =)
Iain
kmohamed
05-14-2010, 02:22 AM
Not intended to speed up the page, it reduces mySQL queries.
You can see the sort of savings sites make here: http://www.dragonbyte-tech.com/vboptimisesites.php
It will have a large impact on page speed if your server is dealing with a lot of queries (i.e your traffic goes up for instance, or you have features/modifiations which add queries to your pages). If thats not the case, then it won't have a huge effect on page speed - but it will still save you queries, letting your server run better and giving your site more room to deal with influxes of members etc before you have to upgrade your hardware.
Hope that clears things up for you =)
Iain
i knew ,
it does something positive lol
thanx a lot your post is really helpful
----
everything seemed to be working fine when i ran the test except it shows this message what should i so
---
https://vborg.vbsupport.ru/ Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
DragonByte Tech
05-14-2010, 01:12 PM
i knew ,
it does something positive lol
thanx a lot your post is really helpful
----
everything seemed to be working fine when i ran the test except it shows this message what should i so
---
http://www.al-khulaqi.com/vb/vboptimise/images/vboptimise_bad.png Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
I assume you're running xcache?
This isn't uncommon on XCache setups, you will need to set up the authentication properly (xcache has a really strange default setting)
To do that, see deceptors posts here:
https://vborg.vbsupport.ru/showpost.php?p=2028238&postcount=137
https://vborg.vbsupport.ru/showpost.php?p=2031054&postcount=141
Hope that helps!
To everyone else - Deceptor will help you with your issues when he gets online, I'm just doing what i can - Not my product.
Iain
Xencored
05-14-2010, 03:33 PM
Works fine!
Thanks:D
kmohamed
05-15-2010, 06:39 AM
I assume you're running xcache?
This isn't uncommon on XCache setups, you will need to set up the authentication properly (xcache has a really strange default setting)
To do that, see deceptors posts here:
https://vborg.vbsupport.ru/showpost.php?p=2028238&postcount=137
https://vborg.vbsupport.ru/showpost.php?p=2031054&postcount=141
Hope that helps!
To everyone else - Deceptor will help you with your issues when he gets online, I'm just doing what i can - Not my product.
Iain
again thanx for replacing Deceptor you been great so far
i am not using XCache, i am only using memecache? any ideas? :)
Deceptor
05-15-2010, 05:28 PM
again thanx for replacing Deceptor you been great so far
i am not using XCache, i am only using memecache? any ideas? :)
If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.
kmohamed
05-17-2010, 01:32 AM
If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.
thank you again
Deceptor
05-17-2010, 02:25 PM
No problem :)
stardotstar
05-18-2010, 07:07 AM
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:
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.
I have restarted the memcached but not changed anything yet - could someone please comment on the current config:
from php.ini
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
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
What should I check and/or change please?
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
Deceptor
05-18-2010, 06:38 PM
stardotstar - No worries about the version confusion :) As for the cache issue, what is the command for starting the memcached service you're using?
stardotstar
05-18-2010, 08:06 PM
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:
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=""
So it looks like 512MB has been assigned to memcached?
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!
ahhh, this is probably what you want to see:
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
Deceptor
05-19-2010, 12:18 PM
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?
stardotstar
05-19-2010, 10:51 PM
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!!
stardotstar
05-19-2010, 11:09 PM
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/showthread.php?295608-maxloggedin-error-on-edit-post&p=1982603#post1982603
for the record here is the original config.php:
// ****** 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;
*/
and the one I implemented to make memcache work with vB (and get the most out of vb optimise lite naturally enough;
// ****** 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;
Further research finds this thread:
http://www.vbulletin.com/forum/showthread.php?213955-Memcache-datastore-problem-with-maxloggedin
kmohamed
05-20-2010, 11:28 PM
If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.
its working and it really change the speed of my site
great mod
installed
MOTM
Deceptor
05-22-2010, 08:20 PM
star - I've never encountered that error when using Memcached on vBulletin, do both your websites have unique prefix's assigned in both the config.php and vB Optimise settings (assuming you're using it on both websites)?.
I'd try running one site with Memcache configured and seeing if the problem occurs, if not trying both sites and then seeing - but with unique prefix's there should not be any collision.
stardotstar
05-23-2010, 12:14 AM
Deceptor, thanks for the reply. I have not set up the second forum to use memcache as per my original mistake - I had setup memcache on the server but completely failed to activate it in the vB configs. All I have done is actiavte it (with and without a prefix) on one of the forums.
I am going to try it on the other forum to see if the same error occurs when editing posts.
In the mean time I believe I can report substantial performance improvement on the site with filecache running with your product in combination with the yslow mod.
I do hope that I can get memcache working as it is bound to be even faster and may allow me to investigate the even further potential of using your commercial version.
(sorry I had failed to mark as installed - done that now - I had had it tagged but was not holding off marking as installed - this is an excellent mod and beautifully executed)
Deceptor
05-23-2010, 01:49 PM
star - Thanks for the information, given this is surrounding the datastore you can opt of using it within vBulletin (in the config.php line, comment out: $config['Datastore']['class'] = 'vB_Datastore_Memcached';). If the bug doesn't appear then, it's the vBulletin Datastore.
Alternatively, you can disable Datastore Cacher on vB Optimise - however this only forces custom datastore items to use the correct datastore method (as vb doesn't handle them correctly).
Let me know if I can be of any further help, Memcache will surpass Filecache immensly (Memcache uses RAM, Filecache uses your HDD) so it'd be great if you got it working without problems :)
stardotstar
05-24-2010, 04:37 AM
Thanks Deceptor !
So, please help me ensure that I have this correct...
If I comment out the line
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
from the vB config.php
BUT leave the other memcached lines in the file as is then memcache will not be used by vB's natively coded datastore - which you state is sub-optimal -
BUT AT THE SAME TIME switch vBOptimise's cache setting to memcache then we will still get memcache performance enhancements for all "customised datastore" and therefore won't be as good as having the vB native datastore using memcache PLUS the customised datastore through vbOptimised...
Not sure I got that down properly, will do some testing and see if I can get my head around it. I think that what you are suggesting will just bring up the original issue that prompted you to ask if I had the memcache setup properly in vB config.php to begin with...
Will
I appreciate the support very much!
[UPDATE]
Yes, as I currently have the memcache off in vB's config.php to prevent the wierd error; I have reenabled memcache as the optimisation method in your product and get the same/following results when I run the system test:
Running Test: Connection to memcache
Test completed successfully
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.
Running Test: Flush Cache
Test completed successfully
In this state I can confirm that I can edit and save posts without the "maxloggedin" error showing.
I take it that this means that the product is going to have NO effect and that I need to get the vB side sorted before I can proceed.
In which case falling back to filecache is my next best option>?
stardotstar
05-24-2010, 07:05 AM
OK here's the thing.
I have configured my other less-modified board to use memcached by uninhibiting the memcached datastore section of the config.php. Interestingly the board crashed out complaining that it couldn't find the vboptimise scripts - which was unexpected as it is not a mod I have added to that board but I figured that it must have something to do with data in the cache so I set the prefix option and the board operates as normal - furthermore it does not have the 'maxloggedin' error. What this tells me is that one of my hacks is causing that on my bigger board and I would seriously like to find out which ... Any tips on where to start with this - unsure that I can easily start switching things off systematically without bothering my users but will do that if necessary - is there anything I can do that will help me troubleshoot the error if I can get it to start happening again.
Thanks for the help so far and I understand that you don't support the base code itself and nor will vb.com so I am just asking for any tips - completely understand if you want me to take it to another thread.
Will
[UPDATE] This mod works PERFECTLY on my other board - all I had to do was ensure I used the prefix for the datastore in config.ini and went through the other optimisation settings recommended by Deceptor's product - awesome - thank you this is a fantastic product!
When I get my other board sorted I will be purchasing this for both sites.
Will
stardotstar
05-24-2010, 07:43 AM
OK (sorry to be avalanching in this product thread Deceptor and others :oops: ) but I need to clarify something further:
I have the vBOptimise product on and passing all tests on my smaller board - it does not throw the wierd 'maxloggedin' error on editing and saving posts. This is therefore a "full" implementation of this product and the vB core memcached datastore engine...
Further I have commented out the "$config['Datastore']['class'] = 'vB_Datastore_Memcached';" line - and only that line in the bigger board config.php and can say that the vBOptimise system tests are all passing - so this is encouraging - especially as I can still edit and save posts there ...
BUT and this is a big BUT... Despite having separate "prefixes" for the two sites they seem to be merging a lot of the common (but different) cached data - ie my forum logo, all the ads served up by openx - various image elements from the css's.
I have had to switch to filecache on the smaller board to stop it inherriting all the stuff from the bigger one.
I doubt that I have the expertise to sort this out right now and it is very hard to full explain - I also don't want to spam the thread of your excellent product.
So I will await any suggestions otherwise I'll sit tight and see what my users say - if its somewhat better I'll leave it at that for now!
Thanks again and sorry for the verbose troubleshooting posts!
Will
Deceptor
05-24-2010, 02:35 PM
Hi star,
Don't worry about the mass of posts, just glad you can provide me all this information to help you diagnose the issue :)
Firstly, regarding the "cache collisions", I understand you've set alternative prefix's within vbulletins config.php - however that prefix is only used by vBulletin. vB Optimise has its own prefix within the main settings (default is "vbo_"), make sure those 2 are seperate on your forums and the cache collision should go away.
Secondly, regarding the mod invoking the "maxloggedin" issue. I'm afraid it could be any, mainly those that interface with the datastore itself (most probably). You could try backtrace the error the root of the cause but that'd be tricky - the simplest method would be as you said, trial and error until the error goes away.
If there's anything I missed out let me know, those 2 seem to be your main current issues :)
stardotstar
05-24-2010, 10:37 PM
Deceptor:
"Optimise has its own prefix"
:Doh: yet again I am so far ahead of myself I have missed the obvious - of course it does! This will make a real difference. Thank you for the attention to detail. Your product is really well thought out and implemented.
I will dig into the 'maxloggedin' issue and right now I will make sure that the vbo cache prefix is properly set.
Thanks for all the help
Will
Deceptor
05-24-2010, 11:19 PM
No problem star :) Let me know if you have any further questions or issues, enjoy!
rajubd
06-03-2010, 02:39 PM
Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully
why this message showing ?
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please
already disable/off administration authontication.
Deceptor
06-04-2010, 08:14 PM
rajubd - This is common on Xcache setups, check that your XCache has a var size correctly assigned, if you're still having issues I'd recommend contacting your host (or whoever installed XCache for you). Not much vB Optimise can do since it's a setup error with XCache.
Alecsmith
06-05-2010, 03:28 PM
I have install APC cache on VPS but after i installed every thing i am getting this error
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
i am not getting which folder and files should i change CHMOD. :D
Deceptor
06-05-2010, 04:22 PM
Alexsmith - You do not need to CHMOd any files/folders with APC setup. Is your APC configuration set to have a var size beyond 0MB? If not then cache cannot be stored, check your php.ini (or apc.ini) configuration to verify the var cache size.
rajubd
06-06-2010, 09:29 AM
rajubd - This is common on Xcache setups, check that your XCache has a var size correctly assigned, if you're still having issues I'd recommend contacting your host (or whoever installed XCache for you). Not much vB Optimise can do since it's a setup error with XCache.
i have install xcache 1.2.1 couple of time still same problem
set ver size 1-8 mb but nothing same problem.
then install memcache
root@node1 [/home/raju/public_html]# netstat -plane | grep 11211
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 99 20207428 14882/memcached
tcp 0 0 :::11211 :::* LISTEN 32007 18058006 14018/memcached
udp 0 0 127.0.0.1:11211 0.0.0.0:* 99 20207429 14882/memcached
udp 0 0 0.0.0.0:11211 0.0.0.0:* 32007 18058012 14018/memcached
udp 0 0 :::11211 :::* 32007 18058011 14018/memcached
now problem with both Store Cache and Fetch Cache
now i have install xcache 1.3 same Fetch Cache problem still exist
root@node1 [/]# php -v
PHP 5.2.13 (cli) (built: May 31 2010 05:11:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
---------------------------------------------
i don't know what to do now
can someone help me?
Deceptor
06-06-2010, 11:40 AM
What command did you use to start the memcached service?
rajubd
06-06-2010, 03:30 PM
What command did you use to start the memcached service?
root@node1 [~]# /etc/init.d/memcached restart
Shutting down memcached: [ OK ]
Starting memcached: [ OK ]
Deceptor
06-06-2010, 03:36 PM
Gotcha, I presume the init script you have allocates memory. Did you specify the memcache connection details in vbulletins config.php?
rajubd
06-06-2010, 04:16 PM
yes i done that
but now return back to xcache
try to solve that problem
i want to know
how much important is Fetch Cache?
please see my php info
http://www.symbiantalk.net/info.php
Deceptor
06-06-2010, 04:18 PM
If any test fails, vB Optimise will have no impact (exception to Flush Cache, however still as important). XCache is common for receiving fetch/store errors, again check the var_size within php.ini configuration, failing that you might wanna contact XCache support themselves to see why it isn't playing nice with your server.
I presume Memcache is working now?
rajubd
06-06-2010, 04:30 PM
xcache much faster for me i don't want to use memcache
can you please say me waht is the best xcache configuration for Intel(R) Xeon(TM) MP CPU 2.80GHz
Deceptor
06-06-2010, 04:33 PM
XCache isn't much faster actually, my benchmarks have shown at best it uses a little less runtime memory because it doesn't require a socket connection.
As for best configuration, I'm afraid I can't help you there, as far as I know there's no "good" configuration for XCache, if it's working it's fine :)
Super Jinni
06-17-2010, 04:48 PM
Hi Deceptor,
I just installed your mode after installing XCache. But I'm having the same problem as rajubd.
When running the test I get this results:
Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully
I've checked all the configuration of the xcache.ini file and here you are the contents:
; configuration for php Xcache module
[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
zend_extension = /usr/lib/php5/20090626+lfs/xcache.so
[xcache.admin]
xcache.admin.enable_auth = Off
; Configure this to use admin pages
; xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
; 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 = 16M
; 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 = 120
; same as aboves but for variable cache
xcache.var_size = 16M
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 = On
; N/A for /dev/zero
xcache.readonly_protection = On
; 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 = "/tmp/phpcore/"
; 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 = On
; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = "/tmp/pcov/"
It will be appreciated if you can help with this. :)
Edit: BTW, I'm on 3.8.5
Regards!
Deceptor
06-17-2010, 08:03 PM
Configuration seems fine, as I told rajubd you might need to contact XCache on their support forums to see why it isn't working, it's a fairly common problem. If they point out what was wrong I'd love to hear what it is :)
Super Jinni
06-18-2010, 01:49 AM
OK, I'll try to get in touch with them, in the meanwhile, what would you suggest to use as an alternative to XCache? I mean what do you think is the best to use along with vb forums? I'm sure you have a lot of experience in this field so I'd like to hear some suggestions from you.:)
Another question, can I let XCache running/working and use another opcache operator beside it like memcached or APC?
Thanks :)
sadiq6210
06-18-2010, 05:20 AM
when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
Although I enabled it from (admincp >> vB Optimise Settings)
Super Jinni
06-18-2010, 06:47 AM
I uninstalled XCache and installed APC instead, but still getting the same result when running the test:
Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully
I'm running CGI/FastCGI by the way (if that might have something to do with the issue).
Or is it possible to be a folder/file permission related problem?
Thanks for your help ^^
TeknoSounds
06-18-2010, 06:56 AM
when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.
Although I enabled it from (admincp >> vB Optimise Settings)
do you have an OpCode cacher installed? One of the ones mentioned like xcache, memcache, APC, etc....
I uninstalled XCache and installed APC instead, but still getting the same result when running the test:
I'm running CGI/FastCGI by the way (if that might have something to do with the issue).
Or is it possible to be a folder/file permission related problem?
Thanks for your help ^^
what operating system are you using?
Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?
Super Jinni
06-18-2010, 09:16 AM
what operating system are you using?
Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?
I'm using Ubuntu 10.04 LTS.
I'm also using the 3.8's mod.
When I was searching about my issue I got to this thread and found the same issue was already reported. So I thought I'd post it here.
I also thought this issue is related to XCache only, but now it's exist with APC.
Deceptor
06-18-2010, 11:24 AM
Super Jinni - Best alternative to XCache in my mind is Memcache. In regards to your issue it may be a CGI/FastCGI issue, do you know if you're using DSO or SuPHP for the handler? Typically cPanel let's you choose when building apache/php from within WHM.
Memcache would resolve the issues because it's different from your typical opcode cachers, it runs as a dedicated service :)
sadiq - Make sure vB Optimise is online and you have selected a cache system to use, with no cache system selected there's nothing to test :)
DragonByte Tech
06-18-2010, 11:25 AM
I'm using Ubuntu 10.04 LTS.
I'm also using the 3.8's mod.
When I was searching about my issue I got to this thread and found the same issue was already reported. So I thought I'd post it here.
I also thought this issue is related to XCache only, but now it's exist with APC.
=) It's not an "issue" as such.
This portion of the mod simply reports whether or not your caching is working correctly - it does not attempt to modify or change anything. This message appearing means there is an issue with your caching - not the mod.
I'm sure Deceptor will try to give you some advice on how to fix your caching when he has a moment =)
Iain
EDIT: Looks like he ninja'd me and beat me to it ^.^
Super Jinni
06-18-2010, 11:56 AM
Super Jinni - Best alternative to XCache in my mind is Memcache. In regards to your issue it may be a CGI/FastCGI issue, do you know if you're using DSO or SuPHP for the handler? Typically cPanel let's you choose when building apache/php from within WHM.
Memcache would resolve the issues because it's different from your typical opcode cachers, it runs as a dedicated service :)
I don't have cPanel/WHM. I'm in unmanaged VPS hosting, so I don't know whether I'm suing DSO or SuPHP or neither.
What do you think it's the best, Switching to mod_php then use XCache? Or stick with FastCGI and use Memcached?
I read somewhere there are not many advantages using FastCGI over mod_php. And some prefer to use mod_php. That makes me think of switching to mod_php.
Thanks :)
=) It's not an "issue" as such.
This portion of the mod simply reports whether or not your caching is working correctly - it does not attempt to modify or change anything. This message appearing means there is an issue with your caching - not the mod.
I'm sure Deceptor will try to give you some advice on how to fix your caching when he has a moment =)
Iain
He already did :D
EDIT: Looks like he ninja'd me and beat me to it ^.^
^.^
Super Jinni
06-18-2010, 02:16 PM
OK, I got XCache to work after switching to mod_php. It turned out that it was CGI/FastCGI issue.
I just hope it was right choice to ditch FastCGI.
Thanks Deceptor :)
after 2hours of reading manuals, without any knowledge of linux - i finally made it!
thanks.
Deceptor
06-18-2010, 07:39 PM
Glad you got it working, I'm not sure what the advantages are to mod_php or FastCGI myself but it was obviously the issue :)
was a pain in the ass to correctly install memcache on my centos 5.4
if i had already known what to do, it would have taken about 5mins.
http://www.vbulletin.com/forum/showthread.php?197362-memcached-definetly-worth-it-for-high-load-servers./page3
this should be the main article to read who cant imagine how to begin. but i must say that you should get newest memcache version, the one above is quite old
Deceptor
06-18-2010, 07:59 PM
Yeah Memcached is the hardest to install of them all really, but worth it in my opinion :)
Fungsten
06-19-2010, 06:48 PM
When trying to run the System Test an error message comes back saying "vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test."
However the system is online. TIA.
VB 4.0.4
rajubd
06-19-2010, 08:18 PM
OK, I got XCache to work after switching to mod_php. It turned out that it was CGI/FastCGI issue.
I just hope it was right choice to ditch FastCGI.
Thanks Deceptor :)
brilliant work brother my problem also solved
thanks a lot again...
Deceptor
06-20-2010, 12:04 PM
When trying to run the System Test an error message comes back saying "vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test."
However the system is online. TIA.
VB 4.0.4
Make sure you have selected a cache system too, if it's set to None then there is nothing to test :)
Fungsten
06-20-2010, 05:03 PM
Make sure you have selected a cache system too, if it's set to None then there is nothing to test :)
How can I find out which cache system I have? Where would I select that?
On Edit:
I see it!
Deceptor
06-21-2010, 12:00 PM
How can I find out which cache system I have? Where would I select that?
On Edit:
I see it!
:)
Just incase anyone else is unclear, it's within Main Settings under the vB Optimise menu (within the ACP).
TeknoSounds
06-22-2010, 10:52 PM
Had a duh moment the other day, I realized after I had installed everything a month ago or so ago and had been using this mod; that there were configs within vbulletin's config file that set to use xcache (or other opcode cacher) in there as well.
Deceptor
06-23-2010, 11:58 AM
Yeah you can set vB to use similar systems too which I recommend you'd do, it'll cache the datastore which reduces a global query in most places :)
rajubd
06-23-2010, 03:28 PM
Vb optimize work with fastcgi + eacelarator?
Because dso creating upload problem in my site. So i have to move back fastcgi. If eacelarator work i will remove xcache.
Super Jinni
06-24-2010, 01:12 PM
Hi Deceptor,
I got some questions in mind:
- Does XCache has its own folder to store data which is totally separated from vBulletin datastore folder? As I see, your mode works with XCache whether I enabled the datastore in the includes/config.php file or not, which is not the case with Memcached as it requires enabling the datastore in config.php file, so I thought it might has nothing to do with vBulletin datastore or the config.php file?
- If XCache has its own folder for sorting cached data, is it OK to configure the datastore cache to use Memcahched whild your mode works with XCache? in theory, if XCache use a different folder to store cached data other than vBulleitn datasotre which is required by Memcached, and as XCache and Memcached do a quite different jobs, then performance will be much better when using both in the same time, XCache with your mode, and Memcached with vBulletin datastore, am I correct?
Or
- It is a bad idea using both, and there will be some conflicts when using both XCache and Memcached as mentioned above?
- If XCache has its own folder for cached data, then what happens if enabled datastore in the config.php file to use XCache? Will XCache stop caching to its own folder and only caches to the datastore folder? or it will cache to both folders?
- How to find where XCache store data in? and how can I change it if I want to? I tried to figure that out but couldn't.
Regards :)
Deceptor
06-24-2010, 02:03 PM
@rajubd - You'd have to test, I'm not 100% sure. If it doesn't, I'd recommend using Memcache personally over APC.
@Super Jinni
1. XCache stores data in ram, not in the file system. We don't require any connection settings to XCache so it doesn't have to be filled in the config.php - however Memcached requires IP/port settings, plus you can have multiple memcached servers so we require you fill those settings within config.php for vBO to fetch and use them for connection. In either case, the datastore is not linked to vBO in anyway, vbulletin has a folder for its datastore but that is only used if you set the datastore to use file cache within config.php
2. You can use 2 systems if you want, though I'd recommend using the same so runtime doesn't require the use of using 2 extensions for cache - just the 1.
3. No conflicts using both, just might use a little extra runtime memory/processing
4. As said XCache stores data in ram
5. Only way you can change data stored in xcache is through their API functions like xcache_get() and xcache_set().
Let me know if you have any further questions :)
Super Jinni
06-24-2010, 03:50 PM
Thanks Deceptor for your helpful answers.
The reason to use Memcached with XCache is that I've set Nginx in front of Apache for static files, and read somewhere that it's good to set Memached behind Nginx so Nginx will check Memcashed for request firs, if not found there then it will pass the request to Apache. So I set Memcashed behind Nginx, but I couldn't make it to store data, so I thought I'd use vBulletin datastore, and it seems that works so Memcashed now is cashing data while Nginx is pulling data from Memcashed if they are existed.
I'm not sure if what I'm doing the currect thing (Nginx (as font-end for static contents) + Memcashed (to cache for Nginx) + Apache (as back-end to deal with PHP) + PHP (mod_php) + XCache (with your vBO))
I'm worried about performance and server usage, so if you have any suggestions or ideas regarding what I use and how I use it, please let me know.
Thanks :)
Deceptor
06-25-2010, 12:44 AM
Well personally If I had nginx running I'd drop apache altogether, nginx itself can work with php in FastCGI and works a lot faster than apache due to its event/async driven codebase.
Depends what apache modules you need really, but the most common things done in apache can be done with nginx - I'd do a little research on it and see what you can find :)
Super Jinni
06-25-2010, 02:44 AM
Yeah, I thought about getting rid of Apache but I use mod_rewrite quite a lot, and I still couldn't figure out how to do the rewriting in Nginx. That's what holding me off.
I also did some researches about Nginx, Apache and PHP and found that Apache is faster than Nginx when it comes to PHP, but Nginx is light and a lot faster when it comes to static contents, so I thought why not to take advantages of both's strength.
But I do still need to do a LOT of homework to get the best results.
Thanks again, mate :)
Deceptor
06-25-2010, 02:48 AM
No problem :) Good luck with your optimisations!
Xencored
07-03-2010, 03:24 AM
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.
Whats this mean mate :/ i get this with memcache
To those receiveing the Opcache Operator error with xCache:
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
This might happen if you are using SuPHP as your PHP handler instead of DSO (mod_php) or FastCGI.
If you don't know what your PHP handler is but you have ssh access, you can run this command if you have cPanel (or just ask your host):
/usr/local/cpanel/bin/rebuild_phpconf --current
And this will be the output (if you're SuPHP is your handler):
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: suphp (or cgi)
PHP5 SAPI: suphp
SUEXEC: enabled
If DSO is your PHP handler, you'll see something like:
Available handlers: suphp dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: cgi
PHP5 SAPI: dso
SUEXEC: enabled
Why does SuPHP produce this error?
PHP optcode caching doesn't work 100% with SuPHP because SuPHP doesn't use a shared user when processing PHP files.
I'd definitely talk to your webhost before making any changes or get an individual opinion on your particular configuration. FastCGI on the limited resources (like limited cloud hosting) many forum owners are hosted on will usually outperform even DSO with an accelerator.
Xencored
07-03-2010, 08:13 PM
/usr/local/cpanel/bin/rebuild_phpconf --current
cpanel mate
not everyone uses that :D
but thanks for the info ill check it out
as for asking to the host thats no good to me my server comes unmanaged and raw
Xencored
07-04-2010, 02:30 PM
Deceptor Helped me fix my problems top mod top guy and top support <3
Thanks muchyyy mate :3
Deceptor
07-04-2010, 02:40 PM
Animemike was missing the libevent 1.4 library for Memcached, I helped him reinstall it and initialise the memcached instance - everythings working good now :)
cpanel mate
not everyone uses that :D
but thanks for the info ill check it out
as for asking to the host thats no good to me my server comes unmanaged and raw
Yeah, there are other commands to check your PHP handler like speccing the php.ini, but I'm unfamiliar with them.
My post is mainly aimed at anybody frustrated with Xcache in particular, as it will cache but it wont allow cache fetching. They'd be looking for a long time if they weren't aware of suPHP's lack of optcode support. :)
Hornstar
07-08-2010, 04:59 AM
Yeah, there are other commands to check your PHP handler like speccing the php.ini, but I'm unfamiliar with them.
My post is mainly aimed at anybody frustrated with Xcache in particular, as it will cache but it wont allow cache fetching. They'd be looking for a long time if they weren't aware of suPHP's lack of optcode support. :)
I am also getting the errors. This is what I get:
Available handlers: dso cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: none
SUEXEC: enabled
Can you guys see anything wrong here? and if so what do you guys recommend?
Edit never mind. Deceptor helped me get memcached installed. He is a great guy!
MikeWarner
07-08-2010, 04:51 PM
Since installing this, I'm asked to give my xcache login details when editing a users usergroup. How can I stop this from happening?
Deceptor
07-09-2010, 12:44 PM
MikeWarner - You either need to disable XCache authentification in php.ini, or enable XCache Authentification within the vB Optimise options and edit /vboptimise/config.php and enter your XCache username/password (in plain text) so vBO can automatically log in for you.
monstermunch
07-21-2010, 03:26 PM
does this work ok with 4.05?
Deceptor
07-25-2010, 06:54 AM
Yes this works on 4.0.5 :)
StonePilot
07-27-2010, 09:31 PM
WOW! Night-and-Day difference. Installed on www.GMTruckClub.com with 4.0.5 and it appears to have helped me to cut load-time in half. :-) I may stick with VB4 after all now.
Good work, I'll take a look at the pro version.
Deceptor
07-28-2010, 01:52 AM
Glad it's made a difference :)
StonePilot
07-28-2010, 12:40 PM
-->> FIVE STARS <<-- by the way. Will buy two pro versions later today.
GONUMBER6
07-28-2010, 02:05 PM
DB Tech, yet another wonderful mod from you guys! Tagged for install!
Deceptor
07-29-2010, 02:37 AM
:) Enjoy you two
GONUMBER6
07-29-2010, 01:35 PM
That was a nice easy install, no problems here.
How can I tell how many queries are being saved? Where can I view this information? Thx :)
Deceptor
07-29-2010, 03:32 PM
I'm afraid that information isn't logged in the Lite version gonumber6.
apokphp
08-01-2010, 05:21 AM
I'm on a shared server. I don't have any of the extensions installed. I chose the filecache.
Made the changes it suggested...not sure if it is any faster though.
Install went well.
Deceptor
08-01-2010, 07:44 PM
It's not meant to make pages load/appear faster, it's designed to reduce load on MySQL (atleast that's true for this version anyway). :)
apokphp
08-01-2010, 09:48 PM
Well...if load is reduced...wouldn't pages load a bit faster as a result?
Deceptor
08-03-2010, 09:53 PM
That depends on the load reduced, and vB Optimise Lite is only impacting MySQL - your php generation time will remain the same more or less. Other optimisations focus'd on PHP/Your HTTP server would improve load times, but this isn't something Lite does.
newsoftw
08-14-2010, 12:21 PM
hi every one..
i have my owned dedicate server.
i don't understand the vB Optimise: Opcache Operator ?
APC
eAccelerator
Memcache
XCache
WinCache
Filecache
which is the best vB Optimise: Opcache Operator for forum on dedicate server ?
please help.
Thanks
DragonByte Tech
08-15-2010, 06:51 PM
xCache or Memcache properly configured tend to be the most beneficial to most people. It depends on your server a little though - and you have to ensure your host properly configures them. There are tips on that through the thread, and on the DBTech website.
newsoftw
08-16-2010, 12:28 PM
xCache or Memcache properly configured tend to be the most beneficial to most people. It depends on your server a little though - and you have to ensure your host properly configures them. There are tips on that through the thread, and on the DBTech website.
thanks for reply.
ok and sir i have godaddy virtual dedicated server.
my server detail:
OS: Linux CentOS
Apache v2.2.3
phpMyAdmin - 2.11.9.6
Server version: 5.1.48
MySQL client version: 5.0.90
PHP 5.2.14so with my this server which is best for me xCache or Memcache ?
how i can properly configured my server for xCache or Memcache coz i i am new to using the virtual dedicated server for first time and i purchased virtual dedicated server as three month ago.
please help on this issue with me.
thanks
DragonByte Tech
08-16-2010, 02:20 PM
A little out of my area of expertise, but i'll have Deceptor check the thread and help you out when he pops online =)
Iain
Deceptor
08-18-2010, 07:38 PM
You won't really find any performance difference between XCache/Memcache, but XCache may be your better option (however Memcache has greater realiability/support). You'd need to contact your host to get either installed :)
TeknoSounds
08-19-2010, 06:45 AM
I have a dedicated server with no interaction or support available from my host.
For my server I went with XCache. Was fairly easy to install myself, there's several guides out there on the internet on how to do this.
and I must mention, fantastic mod guys :D Been pitching it to my work since we have several large scale vB boards.
FFMania
08-20-2010, 06:18 AM
So does anyone able to figure out what is causing:
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
When I am using xcache? I think I did all the correct settings but keep getting this error. :(
Here is my settings: http://screensnapr.com/u/t2rb1a.png
I have suPHP with SUEXEC enabled, is this one of the causes?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.