![]() |
Quote:
i am not using XCache, i am only using memecache? any ideas? :) |
Quote:
|
Quote:
|
No problem :)
|
Hi there Guys, I seem to be in the same boat as the above poster.
I have a linux server (my own) and am running memcache but I get the following two errors with the system test: Code:
Running Test: Store Cache from php.ini Code:
additional .ini files parsed /etc/php/apache2-php5/ext-active/memcache.ini Code:
helios init.d # vi /etc/php/apache2-php5/ext-active/memcache.ini 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 |
stardotstar - No worries about the version confusion :) As for the cache issue, what is the command for starting the memcached service you're using?
|
Hi Deceptor, that is a good question - its installed on my Gentoo Linux host and as far as I know it has been called by the init.d daemon which is a "start|restart|stop" kind of thing - I'll try and work that out...
Thanks for the fast reply. I have looked at the /etc/conf.d/memcached file which probably defines the parameters fed to the command line when invoking the memcached daemon: Code:
helios conf.d # cat memcached Is there any way that I can check that? In the mean time I have switched the system over to file cache and it passes all the tests - would that be less efficient than memcache? I have put this in place with yslow and members are noticing an improvement - if I can get this to be as efficient as possible I will certainly seriously consider the commercial version - thank you for making this available in the Lite format! [edit] ahhh, this is probably what you want to see: Code:
106 18722 0.5 0.5 45208 18580 ? Ssl May18 4:23 /usr/bin/memcached -d -p 11211 -l 127.0.0.1 -m 512 -c 1024 -u memcached -P /var/run/memcached/memcached-11211.pid |
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? |
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!! |
OK I have it all configured (I have two boards so I set the prefix for this one to something unique) and saved the config.php
Now I have gone back to the admin cp and changed the vB optimise setting to memcache and run the tests and all passes. I can see memcache running when I top the server. I guess I'll wait and see what my users say. Great support! Thank you! [UPDATE] I have come across a strange problem on the boards when the new config.php is in place... When the memcache config is in place and people (including myself) try to edit posts they get an error when attempting to save the edit: vBulletin Message 1. maxloggedin cancel changes I have googled this and its very rare and in the past has only been responded to by asking people to turn products off to search for an offending product. I turned the recent products off (including this one) to no avail Then I copied my old (non-memcache) config back into place and the problem went away. I changed my config to remove the section for a prefix for caching in case this was causing trouble but made no difference. I have therefore returned to the old config in which memcache was disabled. Can I get some thoughts on this as it is clearly associated with my optimisation setup as per the recommendations for this product to work - but - and I stress this - clearly not the product itself. I have posted this in a thread on vb.com that I necromanced for this discussion: http://www.vbulletin.com/forum/showt...03#post1982603 for the record here is the original config.php: Code:
// ****** DATASTORE CACHE CONFIGURATION ***** Code:
// ****** DATASTORE CACHE CONFIGURATION ***** http://www.vbulletin.com/forum/showt...th-maxloggedin |
All times are GMT. The time now is 12:41 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:
|