<div dir="ltr">Well once you remove the oldhost from all of your proxy-server.conf's "memcache_servers" list in the their [filter:cache] section; and restart those services - they won't make any more connections to the unreferenced memcached server.  Internal proxy might... you should double check your /etc/swift/object-expirier.conf's [filter:cache] section.<div>
<br></div><div>But if they did, I don't see why they would report a timeout if the old server was in fact accepting connections on 11211 - those two pieces of information don't seem consistent?  Quite strange...</div>
<div><br></div><div>-Clay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 9:59 AM, Stephen Wood <span dir="ltr"><<a href="mailto:smwood4@gmail.com" target="_blank">smwood4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm wondering why the swift proxy hosts will keep memcached connections open to other hosts even after I remove the memcached settings from the proxy-server.conf and restart the service.<div>
<br></div><div>

I'm seeing what is the equivalent of ghost connections in the logs. I have a proxy that I've removed from service. I've already stopped the swift service on this proxy, but my other proxies are still periodically reporting errors connecting to it via memcached.</div>


<div><br></div><div>The error message:</div><div><br></div><div><font face="courier new, monospace">Apr 10 16:41:52 dalswiftproxy03 swift STDOUT: ERROR:root:Timeout getting a connection to memcached: oldhost:11211 (txn: txfe2e2819fc8c4baabcca5-005346c9ccdalswiftproxy03) (client_ip: 10.xx.xx.xx)</font><br>


</div><div><br></div><div>on "oldhost", I can still see active memcached connections:</div><div><br></div><div><div><font face="courier new, monospace">netstat -an | grep 11211</font></div><div><font face="courier new, monospace">tcp        0      0 xx.xx.xx:11211       0.0.0.0:*               LISTEN</font></div>


<div><font face="courier new, monospace">tcp        0      0 xx.xx.xx:11211       xx.xx.xx:44195       ESTABLISHED</font></div><div><font face="courier new, monospace">tcp        0      0 xx.xx.xx:11211       xx.xx.xx:50695       ESTABLISHED</font></div>


</div><div><font face="courier new, monospace"><br></font></div>There's no references to oldhost in the proxy-server.conf settings. I've even restarted the swift service, but still these connections are open and I periodically see errors.<br>


<br>Any ideas?<span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div dir="ltr">Stephen Wood<div><a href="http://www.heystephenwood.com" target="_blank">www.heystephenwood.com</a></div></div>
</div></font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>