Title: Memcached Issue
Last modified: August 21, 2016

---

# Memcached Issue

 *  Resolved [Alex Phelps](https://wordpress.org/support/users/alexphelps3/)
 * (@alexphelps3)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/memcached-issue/)
 * Hi Alex,
 * We’re using this plugin with WP 3.6 and object caching.
 * When Auto Decendents queries to get all the posts list from Memcached it cannot
   find the posts list in memcached, so it tries to add a new key for the post query
   into memcached but it fails because the key already exists.
 * This is what I see on Memcached Error log
 *     ```
       30 NOT_STORED
       <30 add 26:posts:5518 1 0 11833
       >30 NOT_STORED
       <30 add 26:posts:5550 1 0 8602
       >30 NOT_STORED
       <30 add 26:posts:5570 1 0 8585
       >30 NOT_STORED
       <30 add 26:posts:5749 1 0 904
       >30 NOT_STORED
       ```
   
 * [http://wordpress.org/plugins/add-descendants-as-submenu-items/](http://wordpress.org/plugins/add-descendants-as-submenu-items/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Alex Phelps](https://wordpress.org/support/users/alexphelps3/)
 * (@alexphelps3)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/memcached-issue/#post-4153847)
 * Ooops, hit enter too soon.
 * Do you have any idea what might be causing this? Sorry if my scenario isn’t that
   clear or if you have any more questions.
 * Thanks,
    Alex
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/memcached-issue/#post-4154076)
 * When trying to add a key that already exists in the cache, add will fail. That
   is by design and thus expected.
 * Are you saying GETs for the same keys also fail just before the ADD attempts?
   That would unexpected and might point to a possible misconfiguration in your 
   cache configuration. I think the fact that we attempt to add the keys to the 
   cache even if they already exist is a known bug (can’t find the link to the ticket)
   but it shouldn’t impact the functionality of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Memcached Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-descendants-as-submenu-items.
   svg)
 * [Add Descendants As Submenu Items](https://wordpress.org/plugins/add-descendants-as-submenu-items/)
 * [Support Threads](https://wordpress.org/support/plugin/add-descendants-as-submenu-items/)
 * [Active Topics](https://wordpress.org/support/plugin/add-descendants-as-submenu-items/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-descendants-as-submenu-items/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-descendants-as-submenu-items/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Barry](https://wordpress.org/support/users/barry/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/memcached-issue/#post-4154076)
 * Status: resolved