Re: Export Control Classification Number (ECCN) of memcached 1.4

2014-08-07 Thread GMail
I don't think it needs one because it's not on the list if controlled exports like some crypto is? Sent from my iPhone > On 7 Aug 2014, at 05:19, dormando wrote: > > I have no idea what you're talking about. > >> On Wed, 6 Aug 2014, skt8u...@gmail.com wrote: >> >> Dear All, >> >> I'm develo

Re: Remove certain items from the cache

2014-08-07 Thread audric bizouarn
Hi, I changed the limitation (it is now variable) but parse the key is actually quite long (about 1 hour for a slab to 30M!) Do you have any idea what I could improve? thank you Le mercredi 6 août 2014 10:11:24 UTC+2, Zhiwei Chan a écrit : > > Hi, > > It does not matter that a slabs contain s

Re: Remove certain items from the cache

2014-08-07 Thread audric bizouarn
Is it possible to create multiple slabs for items of the same size? To have slabs of reasonable table. Le jeudi 7 août 2014 10:05:50 UTC+2, audric bizouarn a écrit : > > Hi, > I changed the limitation (it is now variable) but parse the key is actually > quite long (about 1 hour for a slab to 30M

RE: Remove certain items from the cache

2014-08-07 Thread Jason CHAN
I have just pull a request to the github that contain some improve I made it some days ago. The stats cachedump command dump all the keys (including expired), so if just dumping the non-expired keys, it will perform better. We have not yet used this feature in product environment, so use it

RE: Remove certain items from the cache

2014-08-07 Thread Jason CHAN
>Is it possible to create multiple slabs for items of the same size? To have >slabs of reasonable table. I am afraid you can’t. But you can modify the option –f to make the slabs more “closely size”; And you also can use more cache instances with a client support consistent hash. It make fewe

Re: tail repair issue (1.4.20)

2014-08-07 Thread dormando
Thanks! It might take me a while to look into it more closely. That conn_mwrite is probably bad, however a single connection shouldn't be able to do it. Before the OOM is given up, memcached walks up the chain from the bottom of the LRU by 5ish. So all of them have to be locked, or possibly some t

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread Claudio Santana
Sorry for the late response. My CPU utilization normally is min 2.5% to 6.5% max. So it's interesting you ask this. The reason why I submitted the 1st question is because I've experienced some random CPU utilization spikes. >From this about 6% CPU utilization all of the sudden it spikes to 100% a

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread Claudio Santana
Forgot to say I'm running version 1.4.13 libevent 2.0.16-stable On Thu, Aug 7, 2014 at 6:08 PM, Claudio Santana wrote: > Sorry for the late response. > > My CPU utilization normally is min 2.5% to 6.5% max. > > So it's interesting you ask this. The reason why I submitted the 1st > question is

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread dormando
Please upgrade. If you have problems with the latest version we can look into it more. You can also look at command counters for odd commands being given: make sure nobody's running flushes, or "stats sizes", or "stats cachedump" since those can cause CPU spikes and hangs. With 1.4.20 you can use

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread Claudio Santana
I run every minute stats, stats items and stats slabs. the only commands executed are remove, incr, add, get, set and cas. I'm running now with 6 threads per instance with 3 per server and haven't had the issue again, not that this change fixed it. I'll definitely update. On Aug 7, 2014 6:13 P

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread dormando
Those three stats commands aren't problematic. The others I listed are. Sadly there aren't stats counters for them, I think... Are you sure it's not completely crashing after the CPU spike? it actually recovers on its own? On Thu, 7 Aug 2014, Claudio Santana wrote: > > I run every minute stats, s

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread Claudio Santana
I think this issue has something to do with our access pattern (although we run very limited commands and not very high traffic either). We always start having issues on the same instance (I guess because of the system accessing a specific key). When we notice the issue we bounce the instance with

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread Claudio Santana
oh, and the memcached processses never actually crash and die. we end up manually bouncing them. On Aug 7, 2014 6:46 PM, "Claudio Santana" wrote: > I think this issue has something to do with our access pattern (although > we run very limited commands and not very high traffic either). > > We alw

Re: Memcached instance and thread configuration parameters

2014-08-07 Thread dormando
No command can take up much time. If all other commands hang up, it's either a long-running stats command like I listed before, or a hang bug (though I don't know why it would recover on its own). We've fixed a lot of those since .13, so I'd still advocate upgrading at least some instances to see i

Re: Export Control Classification Number (ECCN) of memcached 1.4

2014-08-07 Thread skt8u6vg
Dear all, Thank you very much for your reply. I don't use crypto like OpenSSL and so on. I understand that there is no need to ECCN. Is that Correct? Best Regards, Tommy 2014年8月7日木曜日 16時30分00秒 UTC+9 Khushil: > > I don't think it needs one because it's not on the list if controlled > exports