ubuntu - Memcached PHP client library bug? -
ubuntu - Memcached PHP client library bug? -
i've been using php 5.2 , apache 2.2 , memcached 1.2.6 long time, client-side sharding across number of hosts. has worked fine afaict. recently, i've started upgrading memcached clients php 5.3. comes ubuntu server 10.04 lts. however, i'm starting see weird bug, value other key comes back, 1 time every 1,000,000,000 requests or (that know of). have not been able yet decide whether corrupting on store or load (debugging happens after info has expired). corrupted info returned has been value totally different key, , has been single element within array value key supposed have. searching web finds no obvious mention of these symptoms, that's hard search hits for, because discussions related application-level race status bugs. have proven myself not 1 of those.
so, known bug somewhere in stack? others similar experiences? in advance!
to reply questions:
yes, it's old version. it's been working long time. thus, don't think it's server screwing (but guess be). tried upgrading 1.4.5 failed tests, because depend on behaviors of older memcache incompatibly changed when upgrading. fixing happen in future, know saying: if ain't broke....
each sharded server machine (as php clients) has 8 gigs of ecc ram, we'd know if there memory failure.
what mean value of different key that, if store, say, array of email addresses key named "email_addresses_$id", infrequently, later read-back of key returns, say, python-pickled dict of product ids, ever stored key named "product_ids_$serial" totally different code. also, infrequently, we'll single email address, instead of total array of email addresses (or array of single email address, expected case).
also: estimate force on terabyte of memcached traffic per day, logging of able go , debug happened on failure see 1 3 times month unlikely viable.
most issue key collisions, using special hashing before sending key memcached?
did upgrading latest php resulted in unexpected homecoming method/function? turn on errors , watch errors.
php ubuntu memcached
Comments
Post a Comment