Comment #4 on issue 106 by airat.ha...@gmail.com: binary protocol parsing can cause memcached server lockup
http://code.google.com/p/memcached/issues/detail?id=106

may be this specific issue is solved by the provided patch (haven't tried),
but in general the problem remains.
Even after applying the path suggested the following packet sent through udp hangs memcached udp:
"\x00\x00\x00\x00\x00\x01\x00\x00\x80\x05\x00\x01\x08\x00\x00\x00\x00\x00\x00\x0a\xef\xbe\xad\xde\x00\x00\x00\x00\x00\x00\x00\x00"

(in fact any subsequent packet causes 100% usage)

Is is a storage_command (in terms of testapp.c), but the cmd (\x05, increment) is of type 'arithmetic_command' (in terms of testapp.c).
About this packet - all fields are 'correct' except for the type of cmd.
In the attachment - script that reproduces the livelock.

Attachments:
        udp_livelock.py  931 bytes

Reply via email to