Closed gregbugaj closed 11 months ago
Adjusting the resources in the /etc/ImageMagick-6/policy.xml
looks like it have solved the problem.
Values have been adjusted to following:
<policy domain="resource" name="memory" value="32000MiB"/>
<policy domain="resource" name="map" value="8GiB"/>
<policy domain="resource" name="width" value="16KP"/>
<policy domain="resource" name="height" value="16KP"/>
<!-- <policy domain="resource" name="list-length" value="128"/> -->
<policy domain="resource" name="area" value="8GiB"/>
<policy domain="resource" name="disk" value="8GiB"/>
This can be verified by running following command identify -list resource
Resource limits:
Width: 16KP
Height: 16KP
List length: unlimited
Area: 8.5899GP
Memory: 31.25GiB
Map: 8GiB
Disk: 8GiB
File: 3072
Thread: 20
Throttle: 0
Time: unlimited
Describe the bug
While running inside the container the application fails with
Describe how you solve it Issue looks to be related to ImageMagic. We are already providing custom
im-policy.xml
so there might be some additional tweaking needed there.