Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've followed the directions for installing memcached to the letter, as far as I can tell, but when I go to the memcached statistics report, I only see empty rows: http://i.imgur.com/vFxFD.png
Though when I turn on "Show memcache statistics at the bottom of each page" it seems that memcached is being hit: http://i.imgur.com/wRG5u.png
Am I missing something, or is this a bug?
Comment | File | Size | Author |
---|---|---|---|
#3 | memcache_stats_report_fixes.patch | 2.86 KB | alfaguru |
Comments
Comment #1
JordanMagnuson CreditAttribution: JordanMagnuson commentedRunning latest version of pecl memcache (not memcached). Here's my relevant settings.php info:
Comment #2
alfaguru CreditAttribution: alfaguru commentedIf you edit the URL you are requesting from admin/reports/memcache to admin/reports/memcache/default you'll see the report. I think this is because there's an assumption in the code that the default bin will be called "cache" rather than "default". It's a little confusing. The default page ought to show something if there's other bins (or should they be "clusters"? I find the code a little baffling.)
Comment #3
alfaguru CreditAttribution: alfaguru commentedIn my local copy I have reorganised the menus and added a page which lists all the entries for the bins. This seems more satisfactory. I attach a patch which I built from the repo I am working on so it's not quite in the 'correct' format. Someone may find it useful, though.
Comment #4
JordanMagnuson CreditAttribution: JordanMagnuson commentedThanks for the tip. It makes much more sense that the stats page would show the available bins than showing... nothing.
And I didn't see any of this expected bin name business documented anywhere...
Comment #5
Jeremy CreditAttribution: Jeremy commentedError reporting has been drastically improved as of 7.x-1.1-beta3.
Comment #6
Jeremy CreditAttribution: Jeremy commented