![]() |
Quote:
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 ^.^ |
Quote:
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 :) Quote:
Quote:
|
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. |
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/showt...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 |
Yeah Memcached is the hardest to install of them all really, but worth it in my opinion :)
|
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 |
Quote:
thanks a lot again... |
Quote:
|
Quote:
On Edit: I see it! |
Quote:
Just incase anyone else is unclear, it's within Main Settings under the vB Optimise menu (within the ACP). |
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.
|
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 :)
|
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. |
Hi Deceptor,
I got some questions in mind:
Regards :) |
@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 :) |
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 :) |
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 :) |
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 :) |
No problem :) Good luck with your optimisations!
|
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:
Quote:
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): Code:
/usr/local/cpanel/bin/rebuild_phpconf --current Code:
Available handlers: suphp dso cgi none Code:
Available handlers: suphp dso cgi none 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. |
Quote:
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 |
Deceptor Helped me fix my problems top mod top guy and top support <3
Thanks muchyyy mate :3 |
Animemike was missing the libevent 1.4 library for Memcached, I helped him reinstall it and initialise the memcached instance - everythings working good now :)
|
Quote:
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. :) |
Quote:
Code:
Available handlers: dso cgi none Edit never mind. Deceptor helped me get memcached installed. He is a great guy! |
Since installing this, I'm asked to give my xcache login details when editing a users usergroup. How can I stop this from happening?
|
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.
|
does this work ok with 4.05?
|
Yes this works on 4.0.5 :)
|
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. |
Glad it's made a difference :)
|
-->> FIVE STARS <<-- by the way. Will buy two pro versions later today.
|
DB Tech, yet another wonderful mod from you guys! Tagged for install!
|
:) Enjoy you two
|
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 :) |
I'm afraid that information isn't logged in the Lite version gonumber6.
|
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. |
All times are GMT. The time now is 10:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|