Hi Ayrat: Thanks for reporting this. This is a known issue (see http://code.google.com/p/memcached/issues/detail?id=158) for which I have fix and one of these days I will commit said fix to the trunk.
Thanks! Eric On 2/3/11 4:55 AM, Ayrat Khalimov wrote: > Hi, All, > > Here is the command "quit" that hangs memcached server: > "\x00\x00\x00\x00\x00\x01\x00\x00quit\r\n" > Any consecutive command will cause memcached to use 100% CPU. > Is it OK? > > This command looks well-formed for me. And similar command "version" works > fine. > > In the attachment - python script to reproduce the case. > > Additional info: > OS: Ubuntu 10.10 > memcached: 1.4.5 > > memcached run command: > memcached -U 11215 -t 1 > (-t stands for the number of threads - 1, the script hangs the only thread > per one run) > > > -- > Sincerely, > Ayrat Khalimov >
