CLIENT_ERROR bad data chunk

Alex Jeannopoulos alexj at backpocket.com
Fri Dec 15 22:13:28 UTC 2006


Does this make any sense. I am using memcached 1.2.1 also tested with
1.2.0, with the Java api 1.3.2. JDK 1.4.2_09 on windows. Memcache is on
ubuntu linux libevent-1.2a, memcached launched with no args.

I have tested with complex structures no problem. I store two string and I
have a wierd issue of CLIENT_ERROR bad data chunk

Below is the java snippet, java log and memcached output. Does anyone have
an ideas. Thanks

Alex

Here is the java code

MemCachedClient mc = new MemCachedClient();
mc.setCompressEnable(false);
mc.setCompressThreshold(0);
mc.set("XXSNick_Eternal Knightppp", "39584687");
mc.set("XXSNick_haohmaru12ppp", "39868244");
mc.set("XXSNick_zazazaza_21ppp", "39088039");
mc.set("XXSNick_anit2ppp", "39088039");



Java output
-----------------------------------
[MemCachedClient          ] ++++ error storing data in cache for key:
XXSNick_Eternal Knightppp -- length: 29
[MemCachedClient          ] CLIENT_ERROR bad data chunk
[MemCachedClient          ] ++++ error storing data in cache for key:
XXSNick_haohmaru12ppp -- length: 29
[MemCachedClient          ] ERROR


memcached output
-----------------------------------
3 server listening
<7 new client connection
<8 new client connection
<9 new client connection
<10 new client connection
<11 new client connection
<9 set XXSNick_Eternal Knightppp 2 0 29
>9 CLIENT_ERROR bad data chunk
<9
>9 ERROR
<9 set XXSNick_haohmaru12ppp 2 0 29
>9 STORED
<9 set XXSNick_zazazaza_21ppp 2 0 29
>9 STORED
<9 set XXSNick_anit2ppp 2 0 29
>9 STORED
<9 connection closed.
<7 connection closed.
<10 connection closed.
<11 connection closed.
<8 connection closed.




More information about the memcached mailing list