]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change metadata-agent to have a configurable backlog
authorBrian Haley <brian.haley@hp.com>
Thu, 30 Jan 2014 20:05:49 +0000 (15:05 -0500)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:13 +0000 (15:20 +0800)
commitfe6629dfc9b2f85c424a2aa0ff3cc43d8ebc005c
treed37cc6162d2f81aedf47a264b4a67052daf11b0d
parent9049856afcc0a19a941a6617b391e97d30a927c4
Change metadata-agent to have a configurable backlog

The metadata agent currently runs with a default socket backlog
of 128.  This isn't enough on a busy network node, even when
spawning multiple worker processes.

This change addes a new "metadata_backlog = XX" to the ini file
to support a configurable value to help improve performance.

Change-Id: Ibea398f3b65a56deb1418f39810d87d8360ea9f3
Closes-bug: #1274536
etc/metadata_agent.ini
neutron/agent/metadata/agent.py
neutron/tests/unit/test_metadata_agent.py