sebastienros / Contrib.Cache.Memcached

Custom Output Cache Storage Provider which serializes cached pages to a Memcached service. Can be used by web farms for a central cache location.
8 stars 2 forks source link

On fire up: Memcached: Expected magic value 129, received: 72 #2

Open joelbhansen opened 11 years ago

joelbhansen commented 11 years ago

I have started a new Orchard 1.6 site from sourcecode, added a few content items and enabled the modules: SysCache, Cache, Contrib.Cache.Memcached and Contrib.Cache.Database.

The value in the Memcached textarea is: "localhost 30320"

After the site was shut down and restarted this error is thrown:

Expected magic value 129, received: 72

It occurs at line 105 of .\Orchard.Web\Modules\Contrib.Cache.Memcached\Services\MemcachedClientHolder.cs

104  public void Set(string key, CacheItem cacheItem) {
105      GetClient().Store(StoreMode.Set, key, cacheItem, cacheItem.ValidUntilUtc);
106      _keys[key] = new object();
107  }

I have experienced this problem several times, and I fear that it should happen on a live site.

(I just realized that this module had its own Github project site, with issue tracking - so I have copied the issue from http://orchard.codeplex.com/workitem/19424)

phillip-haydon commented 6 years ago

Just ran into thijs same issue.