Enabling the Memcache Admin module

Congratulations! You now have the Memcache module running on your development site. Memcache API and Integration provides a sub module called Memcache Admin that gives you a simple Drupal-based admin interface to check on your Memcache stats and reporting. The module is located under your Caching modules section. Enable this module and save your module configuration.

Memcached Interface

Once enabled, you can browse to this module's admin interface by going to Reports | Memcache status through your administrative menu.

Memcache status

The Memcache status page gives you a table showing your site's Memcache status and configuration on one Drupal page. You should see a column listing properties and a column listing values. It should look similar to this:

! I :■,.,> ."'.ui i^ar > Rcjiori;."

Memcache status

127.0.0.1:11211 Property Value

p id

312632

uptime

2 hours 40 sec

time

Mon, 11/09/2009 - 13:20

version

1,2,6

pointer_size

32

currjtems

29

totaljtems

120

bytes

155.76 KB

curr_connections

2

total_connections

34

co n n e cti o n_s tru ctu re s

4

cmd_get

180

cmd_set

120

get_hits

05

get_rnisses

95

evictions

0

bytes_read

608.52 KB

bytes_written

352.08 KB

lirnit_rnaxbytes

64 MB

threads

1

hit_percentage

47.22%

mem_used

0.24%

For example, this page shows you how much memory you're using (0.24%), uptime of your site, version of Memcached you are running, total_items that you are caching, and the memory_limit that Memcache is using here (64MB).

Memcache statistics per page

You can also tell Drupal whether to show Memcache module statistics on each Drupal page when you're logged into the site. To access this setting, go to Site configuration | Memcache and check the Show memcache statistics at the bottom of each page. As the module notes, these statistics will be visible to any role or user that has permissions to access Memcache statistics.

HomeHAdrministei® Site configuration

Memcache

0 Show memcache statistics at the bottom of each page

These statistics will be uisible to users with the 'access rmemcache statistics1 permission

[ Save configuration j [ Reset to defaults"^

memcache admin module access nnerncache statistics □ □ □ L'j

Now, browse to one of your nodes and you would see the Memcache statistics shown at the bottom of the page.

Memcache statistics get:

variables schema content_type_info

2:23 5414efa8e610 06e6 4 9 07a16 7bdde0e fieldgroup_data theme_registry:garland 2:131b75eb6b19b2 33 5d70 62 58 8 9 99 04 33 links:navigation:page-cid:node/9:1

links:navigation:tree-data:3 67b971e55cf348 6a97ca90fde50b6fe links:secondary-links:page-cid:node/9:1

links:secondary-links:tree-data:38163dbbcf6e9baec7e1ea26143c42de links:primary-links:page-cid:node/9:1

links:primary-links:tree-data:d2d9d9bd2c24 32fa92 6 6e0 90b3a3d72a links:admin_menu:all-cid:0

links:admin_menu:tree-data:81b7e3b51fc43 99be3 8 59 76c0fc112fc set:

variables links:navigation:tree-data:3 67b971e55cf348 6a97ca90fde50b6fe links:navigation:page-cid:node/9:1 links:secondary-links:page-cid:node/9:1 links:primary-links:page-cid:node/9:1 hit: schema content_type_info

2:23 5414efa8e610 06e6 4 9 07a16 7bdde0e fieldgroup_data theme_registry:garland 2:131b75eb6b19b2 33 5d70 62 58 8 9 99 04 33

links:secondary-links:tree-data:38163dbbcf6e9baec7e1ea26143c42de links:primary-links:tree-data:d2d9d9bd2c24 32fa92 6 6e0 90b3a3d72a links:admin_menu:all-cid:0

links:admin_menu:tree-data:81b7e3b51fc43 99be3 8 59 76c0fc112fc bins:

cache cache cache cache_content cache_filter cache_content cache cache_filter cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu cache_menu

Was this article helpful?

0 0

Responses

  • leonie
    Where is memcahe admin in drupal menu?
    9 years ago
  • Jenni
    How to access memcache admin module drupal?
    8 years ago

Post a comment