swift-storage should tune conntrack
Bug #1879121 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Fix Committed
|
Medium
|
James Page |
Bug Description
I just got 'conntrack nearly full' alerts for a couple of nodes on a reasonable sized Swift cluster (~15 nodes, but with ½B+ objects). I did a quick check and of the 63K connections being tracked, 99.95% of them were accounted for by swift (ports 600{0,1,2} and 873). Because the charm puts a firewall on the hosts connection track will always be on, so it seems that the charm should tune the relevant conntrack sysctl settings like other charms (e.g. nova-compute) do.
(There is a sysctl juju config setting in the charm but it's empty by default.)
To post a comment you must log in.
Settings from nova-compute:
{ net.ipv4. neigh.default. gc_thresh1 : 128,
net.ipv4. neigh.default. gc_thresh2 : 28672,
net.ipv4. neigh.default. gc_thresh3 : 32768,
net.ipv6. neigh.default. gc_thresh1 : 128,
net.ipv6. neigh.default. gc_thresh2 : 28672,
net.ipv6. neigh.default. gc_thresh3 : 32768,
net.nf_ conntrack_ max : 1000000,
net.netfilter. nf_conntrack_ buckets : 204800,
net.netfilter. nf_conntrack_ max : 1000000 }