Closed fooling closed 2 years ago
Xmemcached resolves hostnames of memcached server IP address on initialization.
net.rubyeye.xmemcached.utils.InetSocketAddressWrapper#InetSocketAddressWrapper
When an IP record is not exists in DNS server, and retry is configured in /etc/resolve.conf
$ cat /etc/resolv.conf options timeout:1 attempts:5 nameserver 100.0.0.1
This mechanism may cause client hang for a long time on starting.
Just realized it is already fixed in 2.4.7
Xmemcached resolves hostnames of memcached server IP address on initialization.
When an IP record is not exists in DNS server, and retry is configured in /etc/resolve.conf
This mechanism may cause client hang for a long time on starting.