openstack-ansible-os_swift/releasenotes/notes/swift-pypy-gc-options-663fecdf1e013a23.yaml
Andy McCrae 3fb6784459 Attempt to fix swift_pypy memory issues
Move to use tempauth to resolve memory issues resulting from an AIO
swift install running in pypy.

This PR adds some options for using pypy:
* Set a pypy Garbage collection value

This PR includes some tempauth fixes to make it useable:
* Set the tempauth users based on a variable

Testing is changed as follows for pypy:
* Use only memcache within swift-proxy
* Remove galera/keystone
* Add swap for swift-storage hosts
* Use tempauth for pypy
* Reduce to 2 swift hosts

Change-Id: Ic1ed5acc9b20853d9a159035226f97fda088f035
2016-12-01 11:07:10 +00:00

11 lines
531 B
YAML

---
features:
- When using the pypy python interpreter you can configure the garbage
collection (gc) settings for pypy. Set the minimum GC value using the
``swift_pypy_gc_min`` variable. GC will only happen when the memory
size is above this value. Set the maximum GC value using the
``swift_pypy_gc_max`` variable. This is the maximum memory heap size
for pypy.
Both variables are not defined by default, and will only be used if
the values are defined and ``swift_pypy_enabled`` is set to ``True``.