<div dir="ltr"><div>Hello,</div><div><br></div><div>python-memcached badly handles connections during a flush on reconnect and so connections can grow u<font size="2">p <span style="font-weight:normal"><span class="gmail-yui3-editable_text-text ellipsis" style="max-width:95%" id="gmail-yui_3_10_3_1_1600096868084_51">exponentially</span></span></font> [1].<br></div><div><br></div><div>I don't know if it is the same issue that you faced but it could be a track to follow.</div><div><br></div><div>On oslo.cache a fix has been submitted but it is not yet merged [2].<br></div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/oslo.cache/+bug/1888394">https://bugs.launchpad.net/oslo.cache/+bug/1888394</a></div><div>[2] <a href="https://review.opendev.org/#/c/742193/">https://review.opendev.org/#/c/742193/</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 11 sept. 2020 à 23:29, Tony Liu <<a href="mailto:tonyliu0592@hotmail.com">tonyliu0592@hotmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Is there any guidance or experiences to estimate the number<br>
of memcached connections?<br>
<br>
Here is memcached connection on one of the 3 controllers.<br>
Connection number is the total established connections to<br>
all 3 memcached nodes.<br>
<br>
Node 1:<br>
10 Keystone workers have 62 connections.<br>
11 Nova API workers have 37 connections.<br>
6 Neutron server works have 4304 connections.<br>
1 memcached has 4973 connections.<br>
<br>
Node 2:<br>
10 Keystone workers have 62 connections.<br>
11 Nova API workers have 30 connections.<br>
6 Neutron server works have 3703 connections.<br>
1 memcached has 4973 connections.<br>
<br>
Node 3:<br>
10 Keystone workers have 54 connections.<br>
11 Nova API workers have 15 connections.<br>
6 Neutron server works have 6541 connections.<br>
1 memcached has 4973 connections.<br>
<br>
Before I increase the connection limit for memcached, I'd<br>
like to understand if all the above is expected?<br>
<br>
How Neutron server and memcached take so many connections?<br>
<br>
Any elaboration is appreciated.<br>
<br>
BTW, the problem leading me here is memcached connection timeout,<br>
which results all services depending on memcached stop working<br>
properly.<br>
<br>
<br>
Thanks!<br>
Tony<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Hervé Beraud</div><div>Senior Software Engineer<br></div><div>Red Hat - Openstack Oslo</div><div>irc: hberaud</div><div>-----BEGIN PGP SIGNATURE-----<br><br>wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+<br>Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+<br>RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP<br>F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G<br>5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g<br>glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw<br>m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ<br>hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0<br>qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y<br>F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3<br>B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O<br>v6rDpkeNksZ9fFSyoY2o<br>=ECSj<br>-----END PGP SIGNATURE-----<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>