I have a setup here that has about 200 vhosts using the apache.vhosts.standard state.
state.apply calls fail with a MemoryError and slsutil.renderer generates about 1GB of json...
This seems due to the full apache variable being passed multiple times as context thus exponentially increasing memory consumption.
|
apache: {{ apache|json }} |
Is an example where the full apache variable is passed in twice...
I have a setup here that has about 200 vhosts using the apache.vhosts.standard state.
state.apply calls fail with a MemoryError and slsutil.renderer generates about 1GB of json...
This seems due to the full apache variable being passed multiple times as context thus exponentially increasing memory consumption.
apache-formula/apache/config/vhosts/standard.sls
Line 23 in e2e1be1
apache-formula/apache/config/vhosts/standard.sls
Line 26 in e2e1be1
Is an example where the full apache variable is passed in twice...