Closed GoogleCodeExporter closed 8 years ago
Also, if your memcached process die the same error happens. What is curious
about it is that it only happens the first time you call MemcachedClient.get,
all subsequent calls ignores the fact that the server is offline and returns
null.
Original comment by Jayrmo...@gmail.com
on 11 Sep 2012 at 6:47
I'm facing facing similar issues with spymemcached v2.7 on windows 7. If the
spymemcached server goes down during normal operation, the client keeps
attempting to reconnect to the spymemcached server. Is there a particular
setting that delays the attempt to reconnect to the server (the reconnection
attempts are causing delay)? I've found the 'maxReconnectDelay' property of the
MemcachedClientFactoryBean, but don't understand its effects. Also I set
'opTimeout' to a low value (1 millisec), but I would rather that no
reconnection attempts were made at all in the specified time period. Any ideas?
Original comment by arindam....@gmail.com
on 16 Oct 2013 at 1:18
@nic: those log messages are likely related to changing networks, yes. You
shouldn't need to manage the reconnection. As long as the host is reachable,
the client will automatically reconnect. It'll keep trying to do so forever.
@arindam.rc.08: you shouldn't need to do anything special. the behavior of the
client if a connection is lost is that it will try to reconnect in background.
It will do so with an exponential backoff until it successfully reconnects.
Any operations you try while it's not connected will immediately fail.
All of those reconnects will generate log messages, but they shouldn't cause a
problem.
Original comment by ingen...@gmail.com
on 31 Oct 2013 at 6:57
I don't think there's anything that needs to be done here, so I'm closing it
for now, but let me know if it should be reopened.
Original comment by ingen...@gmail.com
on 31 Oct 2013 at 6:58
Original issue reported on code.google.com by
nic%tran...@gtempaccount.com
on 11 Aug 2012 at 4:31