Skip to content

[BUG] apache.vhosts.standard (and potentially others) generate MemoryError #297

@ixs

Description

@ixs

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 }}

map: {{ apache|json }}

Is an example where the full apache variable is passed in twice...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions