I am using xmmecache 1.3.8 version , sometimes in logs i am getting the 
below error .



*net.rubyeye.xmemcached.exception.MemcachedException: Xmemcached is stopped*
* at 
net.rubyeye.xmemcached.XMemcachedClient.sendCommand(XMemcachedClient.java:247)
*
* at 
net.rubyeye.xmemcached.XMemcachedClient.fetch0(XMemcachedClient.java:573)*
* at net.rubyeye.xmemcached.XMemcachedClient.get0(XMemcachedClient.java:971)
*
* at net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:984)
*
* at 
net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:1006)*
* at net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:995)
*


This is making the Memcache client shutdown .

Please let me know how to recover from this error 


Our code 

* private Memcached() throws IOException {*
* String location = ATConfig.getMemcachedLocation();*
* int connCount = 5; *
* MemcachedClientBuilder builder = new XMemcachedClientBuilder(*
* AddrUtil.getAddresses(location));*
* builder.setConnectionPoolSize(connCount);*
* boolean useBinaryProtocl = false;*
* if (useBinaryProtocl) {*
* builder.setCommandFactory(new BinaryCommandFactory());*
* }*
* mcc = builder.build();*
* builder.setSessionLocator(new KetamaMemcachedSessionLocator();*
* mcc.setOpTimeout(5000); *
* }*

Reply via email to