Closed (fixed)
Project:
Cache Router
Version:
5.x-1.0-beta9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 May 2009 at 23:01 UTC
Updated:
17 Sep 2009 at 12:20 UTC
After installing danga memcache and module / patches in a very small site just for testing to avoid further crashings, all seems to be working very fast. Don't know how to get information about memcache status but I'm sure is running. If I stop memcache, site becomes unavailable.
I tried to run this http://livebookmark.net/journal/2008/05/21/memcachephp-stats-like-apcphp/ and tell me "Cant connect to:mymemcache-server1:11211"
11211 is the default port and 16M is the memory size I used, may be thinking about firewall is blocking 11211...
Any ideas? Any guidelines about something to get status, statistics?
Thanks
Gustavo
Comments
Comment #1
adminfor@inforo.com.ar commentedAnother thing. Is there any way to keep the site running with the memcache stopped?
Comment #2
adminfor@inforo.com.ar commentedHow long pages are refreshed and how to force refresh?
Comment #3
adminfor@inforo.com.ar commentedAfter few days, my own answers for my own questions as per my results:
Q: Is there any way to keep the site running with the memcache stopped?
R: No, there is no way to run the site with memcache stopped once the modules is running. The only way is reveting patches and uninstalling the module.
Q: Memcache.php stats not running
R: The right connection within the same server should be configured: "localhost:11211"
Q: How long pages are refreshed and how to force refresh?
R: The only way I force refresh - may be there is another more elegant option - is changing in the performance menu the cache lifetime or normal cache to aggressive, save the options and then turn it back to the original values, or, issue the memcache command witha restart. Important, if you by mistake change Cache mode to disabled (cache=0), the site will not work until you patch manually the table variables with cache field equal to 1 or 2.
Any comments will be very welcome
Comment #4
lmakarovNot true. You can easily switch from DB cache to Memcache in your settings.php
Comment #5
doq commentedYou can use cache module, it can fall back to default database caching engine when memcache engine is unavailable.
Comment #6
slantview commentedOnce you patch core, you can easily remove this module from the configuration file and the site will continue to run using the default cache built into drupal. If you have any issues, you simply need to clear the cache* tables manually in the database. This can be done with the TRUNCATE command in MySQL.
Comment #7
slantview commented