Renchunbing / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
1 stars 0 forks source link

Unknow Response status:130 #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. put 3600w records into memcached 1.4.5 (6g ram)
2. xmemcached 1.3.2
3.

What is the expected output? What do you see instead?

2011-05-18 23:26:48,954 ERROR   [net.rubyeye.xmemcached.impl.MemcachedHandler] 
XMemcached network layout exception
java.lang.IllegalArgumentException: Unknow Response status:130
    at net.rubyeye.xmemcached.command.binary.ResponseStatus.parseShort(ResponseStatus.java:162)
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.readStatus(BaseBinaryCommand.java:248)
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.readHeader(BaseBinaryCommand.java:196)
    at net.rubyeye.xmemcached.command.binary.BinaryStoreCommand.readHeader(BinaryStoreCommand.java:67)
    at net.rubyeye.xmemcached.command.binary.BaseBinaryCommand.decode(BaseBinaryCommand.java:125)
    at net.rubyeye.xmemcached.codec.MemcachedDecoder.decode0(MemcachedDecoder.java:59)
    at net.rubyeye.xmemcached.codec.MemcachedDecoder.decode(MemcachedDecoder.java:54)
    at com.google.code.yanf4j.nio.impl.NioTCPSession.decode(NioTCPSession.java:288)
    at com.google.code.yanf4j.nio.impl.NioTCPSession.readFromBuffer(NioTCPSession.java:205)
    at com.google.code.yanf4j.nio.impl.AbstractNioSession.onRead(AbstractNioSession.java:198)
    at com.google.code.yanf4j.nio.impl.AbstractNioSession.onEvent(AbstractNioSession.java:343)
    at com.google.code.yanf4j.nio.impl.SocketChannelController.dispatchReadEvent(SocketChannelController.java:56)
    at com.google.code.yanf4j.nio.impl.NioController.onRead(NioController.java:157)
    at com.google.code.yanf4j.nio.impl.Reactor.dispatchEvent(Reactor.java:294)
    at com.google.code.yanf4j.nio.impl.Reactor.run(Reactor.java:141)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by cnscud on 18 May 2011 at 3:29

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Response_Status

看这个状态码列表吧,我实现二进制的时候还有些状态码没��
�定义,130是0x82,也就是out of memory了。

Original comment by killme2...@gmail.com on 18 May 2011 at 4:08

GoogleCodeExporter commented 9 years ago
Free: 709.2 MBytes (11.5%)
 Used: 5.3 GBytes (88.5%)

可能是分配那个key满了...

Original comment by cnscud on 19 May 2011 at 1:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
我在git上修了这个bug了。

Original comment by killme2...@gmail.com on 19 May 2011 at 5:11

GoogleCodeExporter commented 9 years ago
Fixed by xmemached 1.3.3

Original comment by killme2...@gmail.com on 12 Jun 2011 at 4:11