You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Varga Balázs <jo...@gmail.com> on 2021/01/15 10:47:37 UTC

OM5.1.0 The presentation upload was interrupted in some cases - Solved

Hi All!

The bigger pages presentation upload was interrupted in some cases randomly.

I checking the created png files seems not done to export all pages on 
PDF2PNG conversion.

The cause of the problem:

Imagemagick has reached its processing limits.

~serv:/opt/open510/logs# convert -list resource Resource limits: Width: 
16KP Height: 16KP List length: 18.446744EP Area: 128MP Memory: 256MiB 
Map: 512MiB Disk: 1GiB File: 768 Thread: 4 Throttle: 0 Time: unlimited


To solve this problem, you need to raise the memory limits:

nano /etc/ImageMagick-6/policy.xml

Need modify (and check memory consurption on conversion runtime eg.: low 
memory and swapping):

...........

  <policy domain="resource" name="memory" value="1GiB"/> <-Increase this 
<policy domain="resource" name="map" value="2GiB"/> <-Increase this 
<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="128MB"/> <policy domain="resource" 
name="disk" value="4GiB"/> <-Increase this

...........

convert -list resource Resource limits: Width: 16KP Height: 16KP List 
length: 18.446744EP Area: 128MP Memory: 1GiB Map: 2GiB Disk: 4GiB File: 
768 Thread: 4 Throttle: 0 Time: unlimited

And working fine!

Alvaro please add to this tricks help to install guide.

-- 
Varga Balázs
+36-70-389-4753
SZHWEB Bt.