[Openstack] [SWIFT] memcached connections staying open even after service restart?
Clay Gerrard
clay.gerrard at gmail.com
Thu Apr 10 17:44:32 UTC 2014
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.
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...
-Clay
On Thu, Apr 10, 2014 at 9:59 AM, Stephen Wood <smwood4 at gmail.com> wrote:
> 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.
>
> 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.
>
> The error message:
>
> 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)
>
> on "oldhost", I can still see active memcached connections:
>
> netstat -an | grep 11211
> tcp 0 0 xx.xx.xx:11211 0.0.0.0:* LISTEN
> tcp 0 0 xx.xx.xx:11211 xx.xx.xx:44195 ESTABLISHED
> tcp 0 0 xx.xx.xx:11211 xx.xx.xx:50695 ESTABLISHED
>
> 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.
>
> Any ideas?
>
> --
> Stephen Wood
> www.heystephenwood.com
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140410/be1ce55f/attachment.html>
More information about the Openstack
mailing list