Changes between Initial Version and Version 4 of Ticket #300


Ignore:
Timestamp:
08/16/11 12:21:26 (5 years ago)
Author:
jim
Comment:

Actions taken:

  • My gut says this is a memcache issue... So I tried disabling the memcache and cacherouter modules... No effect so re-enabled.
  • However, when I import the LIVE database onto my machine all the missing field handlers and menu items magically reappear -- same data, different machine, different result. This means the underlying data is fine, but (likely) the generated/stored cached version is getting truncated or partially filled somehow.
  • Tweaked the /etc/php5/conf.d/suhosin.ini settings and restarted Apache but nothing changed...
  • Since no PHP errors I assume this is not a max packet size issue for mysql.

I just restarted memcache:

jim@quince:~$ sudo /etc/init.d/memcached restart
Restarting memcached: memcached.

And the site suddenly started working normally again! Menus back,

SO this is a memcache issue - either the config settings aren't quite right, or the Drupal module has a bug. In any case the net result is that Drupal is often working with incorrect/incomplete cached data despite the underlying structures and data being fine. This is because either the output or stored data in memcache is truncated, or what Drupal sends to it is wrong, or it's not being cleared properly when Drupal says it should be.

Passing to Chris, but will keep looking through the Memcache issue list at http://drupal.org/project/issues/memcache

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #300

    • Property Status changed from new to assigned
    • Property Total Hours changed from 0.0 to 3.05
    • Property Cc ed, chris added
    • Property Summary changed from Navigation Menu not updating to Memcache problem: cache data being truncated/removed causing issues site-wide
    • Property Add Hours to Ticket changed from 0.0 to 2.0
    • Property Owner changed from jim to chris
  • Ticket #300 – Description

    initial v4  
    1 Tried adding some new elements wed 10/8, flushed caches a few times, no change. Waited overnight, no change. Admin menu for navigation menu showing different elements to public menu.  
     1LIVE is being odd, like it's not getting all the data from MySQL - truncated somehow... It's having a reasonable impact on the site. 
    22 
    3 Putting into critical to get Jim's attention asap AFTER his honeymoon NOT DURING!  
     3Effects noted: 
     4 * Menus weren't showing fully (see https://tech.transitionnetwork.org/trac/ticket/300) -- added menu items not appearing, flushed caches a few times, no change. Waited overnight, no change. Admin menu for navigation menu showing different elements to public menu.  
     5 * Several views are having problems displaying/filtering on certain fields (see /events is empty, missing video at /video and missing filters on /initiatives page etc etc etc). 
     6 * Ed mentioned some counts of initiatives don't tally which could also be a symptom. 
     7 * sometimes the diversity & inclusion page (and indeed other Panels pages) shows the underlying page rather than the panel version. 
     8 * Certain permissions randomly dropped (#293) 
     9 * Probably many more.