连接到ttserver时,我总是得到“TimeoutException”?

时间:2011-10-09 02:24:07

标签: timeout timeoutexception

异常的标题是“java.util.concurrent.TimeoutException:Timed out(5000)等待操作”! 如何设置不超过超时限制的适当时间?! 整个exeption堆栈是:

**java.util.concurrent.TimeoutException: Timed out waiting for operation
    at net.rubyeye.xmemcached.XMemcachedClient.getMulti0(XMemcachedClient.java:1155)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1026)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1064)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1051)
    ......

1 个答案:

答案 0 :(得分:0)

很多原因都可能导致ttserver客户端抛出TimeoutException。 在我的情况下,这是因为复制到一个不存在的节点。所以当删除启动参数mhost和mport时,问题得到了修复.....

希望这可以帮助别人......