Thanks a lot for investigating this!
I did saw "convert" can consume lot's of resources and even hang the
server, but had no time to investigate this :(((

I'll add some logging to got better diagnostic in the future

On Fri, May 11, 2018 at 12:32 AM, Chamberland, Martin <
martin.chamberl...@fadq.qc.ca> wrote:

> This change fix the issue.
>
>
>
> sudo nano /etc/ImageMagick-6/policy.xml
>
> <policy domain="resource" name="memory" value="1Gib"/>
>
> <policy domain="resource" name="map" value="1Gib"/>
>
> <policy domain="resource" name="width" value="16KP"/>
>
> <policy domain="resource" name="height" value="16KP"/>
>
> <policy domain="resource" name="area" value="128MB"/>
>
> *<policy domain="resource" name="disk" value="10GiB"/>*
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 10 mai 2018 12:26
>
> *À :* Openmeetings user-list
> *Objet :* Re: upload FILE 6mb (openmeeting 4.0.3)
>
>
>
> According to stacktrace from demo server we got NPE
>
> Not sure why
>
> What max upload file size do you have in configuration?
>
>
>
> To help better I need problem file, so I can debug what is going on ....
>
>
>
> On Thu, May 10, 2018 at 10:39 PM, Chamberland, Martin <
> martin.chamberl...@fadq.qc.ca> wrote:
>
> Right now, we are trying to fix that with playing of this file
>
>
>
> /etc/ImageMagick-6/policy.xml
>
>
>
> Resource limits:
>
>   Width: 16KP
>
>   Height: 16KP
>
>   Area: 128MP
>
>   Memory: 256MiB
>
>   Map: 512MiB
>
>   Disk: 1GiB
>
>   File: 768
>
>   Thread: 4
>
>   Throttle: 0
>
>   Time: unlimited
>
>
>
> CHANGE TO…
>
>
>
>
> Resource limits:
>
>
>
>   Width: 16KP
>
>
>
>   Height: 16KP
>
>
>
>   Area: 128MP
>
>
>
>   Memory: 1GiB
>
>
>
>   Map: 1GiB
>
>
>
>   Disk: 1GiB
>
>
>
>   File: 768
>
>
>
>   Thread: 4
>
>
>
>   Throttle: 0
>
>
>
>   Time: unlimited
>
>
>
> Is that can help ?
>
> Looks like, its a problem with « convert » from ImageMagick.
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 10 mai 2018 11:37
> *À :* Openmeetings user-list
> *Objet :* Re: upload FILE 6mb (openmeeting 4.0.3)
>
>
>
> Hello Martin,
>
>
>
> can you privately share this pptx file with me? and/or create JIRA and
> attach this file to it?
>
> I'll improve error reporting and logging, but I believe this need to be
> fixed ....
>
>
>
> On Thu, May 10, 2018 at 10:25 PM, Chamberland, Martin <
> martin.chamberl...@fadq.qc.ca> wrote:
>
> Hi there,
>
>
>
> Trying to upload a file of 6mb (.pptx) to 4.0.3 release,  sometime we
> receive error message after upload and sometime upload complete but…
>
> When i try to drag the file to the whiteboard, we receive « Internal
> error- Return to home page ».
>
>
>
> I’v try to upload the same file on the demo server ,
> https://om.alteametasoft.com/openmeetings
>
>
>
> Same errors happen.
>
>
>
> Bye
>
>
>
> Martin C.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to