You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Christian Bautista <cb...@gmail.com> on 2020/04/09 17:26:16 UTC

user@openmeetings.apache.org

is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3? whenever i
tried to record, the cpu goes all the way to 200-300% cpu usage after
2minutes and it randomly stops after passing the 2minute mark. i followed
this instruction
<https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+inst
alling+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20Ope
nMeetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf>
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+insta
lling+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20Open
Meetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf and everything works
well except for the recording.

CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz

any fix on this will be greatly appreciated.

thanks.


Re: user@openmeetings.apache.org

Posted by Maxim Solodovnik <so...@gmail.com>.
You have to set environment variable:

Something like this:
export CATALINA_OPTS=-Xms1G -Xmx8G -server -XX:+UseParallelGC
./bin/startup.sh

this way you will limit OM memory with 8G


On Sat, 18 Apr 2020 at 06:03, Christian Bautista <cb...@gmail.com>
wrote:

> Hi Maxim,
>
> May I know the command to execute that?
>
> Regards.
>
> On Fri, Apr 17, 2020 at 9:52 PM Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> Can you try to increase RAM for OM and check if it will help?
>>
>> On Fri, 17 Apr 2020 at 01:59, Christian Bautista <cb...@gmail.com>
>> wrote:
>>
>>> Hello Maxim,
>>>
>>> The process of recording stops automatically.
>>>
>>> CPU core is 4
>>> RAM is 32gb
>>>
>>> Thank you.
>>>
>>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim

Re: user@openmeetings.apache.org

Posted by Christian Bautista <cb...@gmail.com>.
Hi Maxim,

May I know the command to execute that?

Regards.

On Fri, Apr 17, 2020 at 9:52 PM Maxim Solodovnik <so...@gmail.com>
wrote:

> Can you try to increase RAM for OM and check if it will help?
>
> On Fri, 17 Apr 2020 at 01:59, Christian Bautista <cb...@gmail.com>
> wrote:
>
>> Hello Maxim,
>>
>> The process of recording stops automatically.
>>
>> CPU core is 4
>> RAM is 32gb
>>
>> Thank you.
>>
>>>
>
> --
> Best regards,
> Maxim
>

Re: user@openmeetings.apache.org

Posted by Maxim Solodovnik <so...@gmail.com>.
Can you try to increase RAM for OM and check if it will help?

On Fri, 17 Apr 2020 at 01:59, Christian Bautista <cb...@gmail.com>
wrote:

> Hello Maxim,
>
> The process of recording stops automatically.
>
> CPU core is 4
> RAM is 32gb
>
> Thank you.
>
>>

-- 
Best regards,
Maxim

Re: user@openmeetings.apache.org

Posted by Christian Bautista <cb...@gmail.com>.
Hello Maxim,

The process of recording stops automatically.

CPU core is 4
RAM is 32gb

Thank you.

>

Re: user@openmeetings.apache.org

Posted by Maxim Solodovnik <so...@gmail.com>.
On Thu, 16 Apr 2020 at 23:10, Christian Bautista <cb...@gmail.com>
wrote:

> Hi Maxim,
>
> There's another cause on this issue. I monitored the task manager and
> whenever someone tries to login, the cpu for java goes all the way to 30%
> and the recording automatically stops too.
>

The process of recording stops?
Or the process of receding conversion stops?

On login password hash is being calculated
how many CPU cores do you have?
how many RAM?


>
> Hoping there's a solution for this issue.
>
> Thank you,
> Christian
>
> On Fri, Apr 10, 2020 at 7:45 AM Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> Hello,
>> AFAIK ffmpeg tries to do it's job as fast as possible
>> Video transcoding is heavy task
>>
>> I would suggest to try to run ffmpeg command (can be found in the logs)
>> from console on server
>> And try to make it less eager https://ffmpeg.org/ffmpeg.html (conversion
>> will last longer ...)
>> If you will find "the ultimate key" we can add it to Admin -> Config
>>
>>
>> On Fri, 10 Apr 2020 at 00:26, Christian Bautista <cb...@gmail.com>
>> wrote:
>>
>>> is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3?
>>> whenever i tried to record, the cpu goes all the way to 200-300% cpu usage
>>> after 2minutes and it randomly stops after passing the 2minute mark. i
>>> followed this instruction
>>> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20OpenMeetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf and
>>> everything works well except for the recording.
>>>
>>> CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
>>>
>>> any fix on this will be greatly appreciated.
>>>
>>> thanks.
>>>
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim

Re: user@openmeetings.apache.org

Posted by Christian Bautista <cb...@gmail.com>.
Hi Maxim,

There's another cause on this issue. I monitored the task manager and
whenever someone tries to login, the cpu for java goes all the way to 30%
and the recording automatically stops too.

Hoping there's a solution for this issue.

Thank you,
Christian

On Fri, Apr 10, 2020 at 7:45 AM Maxim Solodovnik <so...@gmail.com>
wrote:

> Hello,
> AFAIK ffmpeg tries to do it's job as fast as possible
> Video transcoding is heavy task
>
> I would suggest to try to run ffmpeg command (can be found in the logs)
> from console on server
> And try to make it less eager https://ffmpeg.org/ffmpeg.html (conversion
> will last longer ...)
> If you will find "the ultimate key" we can add it to Admin -> Config
>
>
> On Fri, 10 Apr 2020 at 00:26, Christian Bautista <cb...@gmail.com>
> wrote:
>
>> is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3? whenever
>> i tried to record, the cpu goes all the way to 200-300% cpu usage after
>> 2minutes and it randomly stops after passing the 2minute mark. i followed
>> this instruction
>> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20OpenMeetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf and
>> everything works well except for the recording.
>>
>> CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
>>
>> any fix on this will be greatly appreciated.
>>
>> thanks.
>>
>
>
> --
> Best regards,
> Maxim
>

Re: user@openmeetings.apache.org

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello,
AFAIK ffmpeg tries to do it's job as fast as possible
Video transcoding is heavy task

I would suggest to try to run ffmpeg command (can be found in the logs)
from console on server
And try to make it less eager https://ffmpeg.org/ffmpeg.html (conversion
will last longer ...)
If you will find "the ultimate key" we can add it to Admin -> Config


On Fri, 10 Apr 2020 at 00:26, Christian Bautista <cb...@gmail.com>
wrote:

> is there any way to fix high cpu usage of ffmpeg on OM 5.0.0-M3? whenever
> i tried to record, the cpu goes all the way to 200-300% cpu usage after
> 2minutes and it randomly stops after passing the 2minute mark. i followed
> this instruction
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools?preview=/27838216/140774282/Installation%20OpenMeetings%205.0.0-M3%20on%20Ubuntu%2018.04%20LTS.pdf and
> everything works well except for the recording.
>
> CPU: Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
>
> any fix on this will be greatly appreciated.
>
> thanks.
>


-- 
Best regards,
Maxim