![]() |
Really nice Mod, nominated it already :)
I'm using vB 3.8rc2 and everything seems to be ok. Just one curiosity: using XCache with this mod seems faster than useing memcache (yeap, I have both installed) |
Running php5, memcache 3, vb 3.7
Before * Page Generation 0.22566 seconds * Memory Usage 16,396KB * Queries Executed 33 (?) After * Page Generation 0.30642 seconds * Memory Usage 16,407KB * Queries Executed 54 (?) So after i install this it it uses an extra 21 queries??? and also makes my pages load slower?? |
Quote:
Really nice work. Thumbs up :up: |
Quote:
Is this the debug info for forum/index.php ? First of all 33 queries by default is damn too much. Its just 15-16 quries on my index.php or any other forum. And there's no way it can increase the number of queries. Make sure you have have enabled all the settings of the mod (they are off by default) and selected Memcache in the mod. If problem persists, you seriously need to optimize your site. Try disabling unnecessary addons/mods and see the effect. |
Quote:
I have enabled the mod and selected memcahce And i cant disable any mods, my site is very custom |
Quote:
It's not possible that this mod added 21 queries. That being said, you really need to hire somebody to fix those query issues and the amount of memory being taken up. I don't quite get how the page you're loading is taking 16MB of memory... Here's a SHOWTHREAD example: Quote:
Quote:
|
Quote:
I see 8-10 queries on your FORUMHOME, not 33-54. So chances are you should optimize your mods first and try again. |
Quote:
* Page Generation 0.26787 seconds * Memory Usage 16,049KB * Queries Executed 51 (?) |
Quote:
Edit : Sorry i just realized you are also using vbadvanced cmps. That explains everything |
Quote:
It wasn't an actual observation, but my estimate of what your query count should really be. You should hire someone to optimize your queries, as they are probably destroying your server. |
Deceptor, I have switched to xcache and I see much much better performace than filecache. Though I did not flushed the cache, just wanted to know why all is working fine for me without flushing the cache. I do have modifications, template edits etc.
Suggestion: 1. Can the forum titles be cached on index.php to reduce another query to extract all forums everytime. 2. Will the new feature of Forumhome WOL Cache, also cache the Statistics i.e. counts of threads, posts and members. Thank you |
Installed...
Althou our forum is on a dedicated server there is a noticeable increase in speed :up: |
1 Attachment(s)
1. I am facing a problem ONLY in 1.1.0 (this did not happened in 1.0.2)
Since enabling xcache, I am unable to edit any templates. Gives me a blank page on template saving. There is no such problem using Filecache. 2. Another major problem I just found. All member profiles look like as in attached pic, happens ONLY when viewed as guests. All phrases gone. It is happening only with vboptimise enabled, no matter what the cache type is. thanks |
Quote:
|
Profile problem here too...only when you're not logged in. Using Filecache method.
|
Concur, using only file cache.
Quote:
|
Quote:
Quote:
Thanks |
I'll get on fixing the bug right away. If you want a temporary fix for the profile issue, disabling phrase cache will resolve the issue.
Also, logicuk, the only possible way this mod adds queries is if it fails to cache the data, if you enable vBulletin debug mode you should see several vB Optimise messages explaining what it's doing, when first caching data it will execute more queries than vB does purely to cache the data, after that the query reduction begins. I'm assuming it keeps trying to cache the content but it's failing, if you're using filecache, ensure ./vboptimise has sufficient perms (read and write, usually chmod 0777). |
Deceptor,
I have eAccelerator installed on my server. When I select this option I get this ... Quote:
Quote:
Thoughts? |
I'm getting that phrase behavior when logged out as well. Disabled phrase caching and phrases are back.
Regardless I'm already seeing a performance increase. Nominated :) |
hIBEES, if vB Optimise is reporting an error then the method must not be available, it will test you have the functions available that are part of the method you selected, this works in the same way vBulletin does, does your vBulletin datastore run off of eAccelerator?
As for the profile bug, it has been fixed, the issue is caused by caching phrases with guests, the vBulletin session object goes its own root of querying phrases/languages for guests that currently I can't find a way to stop. This bug fix doesn't impact performance as caching phrases for guests still means the query is being ran, if anything it slightly helps by not attempting to cache phrases as they are continually called from the database when viewing as a guest. This said, I can tell you my current forumhome statistics with the upcoming release of vB Optimise, this is a unmodified forum, with only vB Optimise installed: As a member: Quote:
Quote:
I'll have the new version out in the next couple of hours or so which will patch the issue and bring forward new features I explained in an earlier post :) |
Quote:
btw deceptor, can you please take a look at my 1st problem as described here. This started happening ONLY SINCE 1.1.0, and never happened with the last version 1.0.2 thanks |
veeuisthebest,
Look at my above posts, the bug is fixed for the next release, to temporarily fix for now disable phrase caching, those won't add another query to your forum but will make more slightly bigger :) |
The only problem I had, which I searched the thread for was that my quotes, the name was only appearing as an underscore after installing this.
|
fattony, can you tell me if this occured as a guest or a logged in user?
Thanks. |
Quote:
Since enabling xcache, I am unable to edit any templates. Gives me a blank page on template saving. This problem is gone when i switch to Filecache. And this happened ONLY in 1.1.0 (did NOT happened in 1.0.2) thanks |
My apologies veenuisthebest, I missed that.
I know when updating templates vB Optimise kills current cache, my guess is your XCache requires authentification? It should silently carry on. That said, if you could enable php errors on your server we'd be able to specifically see what the problem is. I'll re-enable admin auth on my XCache server and see if I can replicate the issue :) |
Quote:
|
Quote:
Quote:
SO, the reason could probably be that whenever I edit a template, it stucks at flushing of cache, thus not saving the template, am I correct? If that is the case, then I'll disable vboptimise (or switch to filecache for the moment) whenever I need to edit templates and switch it back ON when I would be done editing. Would that be fine? I want to keep xcache only as its giving me far better performace than filecache and my host has installed xcache just for me lol :D |
logicuk, could you turn on vBulletin debug mode, and take a look at the debug messages everytime you try to load a page and tell me what you see vB Optimise doing? As said, the only way it will keep adding queries is if it is failing to cache.
veenuisthebest, that solution would work, I assume you get a white page when attempting to flush the cache? Ideally I'd like to make it a little more solid, as in the future I'll probably be adding more places where the cache is killed to contend with new data, if your host could possibly turn on php errors so that you could tell me the error you're getting that'd be great :) |
Quote:
|
logicuk, I can't see any vB Optimise messages in the debug area, is it even turned on? If you could change the password to something more secure then PM me it, and grant me access to look at your vB Optimise settings I'll gladly take a look.
fattony, could you explain exactly how you encounter the issue? Sounds like a problem with phrases and it may be resolved as a similar bug has just been fixed. veenuisthebest, I managed to replicate your issue, it seems that XCache haults the script on attempting to flush and the error cannot be silenced or stopped, so I've put a condition in that if the flush is meant to be silent (which it is when editing templates and such), and that your XCache requires authentification (specified by your vB Optimise settings), then the flush will simply skip and not attempt to clear the cache at all. Ofcourse a manual flush can still be achieved through the Flush Cache page, and this will only occur if your XCache requires authentification, for those lucky enough to turn it off the kill cache hooks will work fine with XCache :) |
Quote:
In my phpinfo(), I have display_errors set to ON for local/master value under PHP Core. Let me know if that is what you were asking for. I get no errors anywhere. thanks |
veenuisthebest, seems odd how a white page would occur. But not to worry, if you set your XCache Authentification setting to on, when you update to the next version it'll no longer occur when editing templates :)
|
just sent you a pm deceptor :)
|
Quote:
Quote:
waiting for it badly. Was just wondering why this "Editing templates" problem occured in 1.1.0 as it was not in 1.0.2. Is this due to addition of xcache authentication setting? Thanks |
venuusisthebest,
The kill cache hooks were only introduced in the latest version, which is why it only occurs now :) logic, I took a look at your site, I believe one of many of your modifications is stopping vB Optimise debug messages, or other operations. I can see that file cache reduces one query on your forum, but Memcache is not doing anything. The problem there is something with your Memcache, do you have the correct settings filled in for your /includes/config.php? To sum up though, vB Optimise isn't working right due to confliction, and since you have a -lot- of modifications installed it's very hard to tell where the problem occurs, you'd probably need to turn a product off one at a time, and keep checking your forums debug info each time (you need to look at the drop down menu, very bottom of the debug info). Once you start to see 'vB Optimise' messages in the drop down menu, we can start getting a clearer picture of what is going wrong. If turning off a product doesn't work, turn it back on and move to the next to continue. Also, I have to ask if your vBulletin forum files have been modified? If so those too could be the root of the issue. |
Quote:
|
Hi logic,
I checked out your config.php and found this part commented out: Code:
$config['Misc']['memcacheserver'][$i] = '127.0.0.1'; |
I'll post my suggestions again in case you didn't notice them.
Suggestions: 1. Can the forum titles be cached on forumhome to reduce another query to extract all forums everytime. 2. Will the new feature of Forumhome WOL Cache, also cache the Statistics i.e. counts of threads, posts and members. Thank you |
All times are GMT. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|