"highResourceUsage" error on test pages

285 views
Skip to first unread message

Michele Castelletti

unread,
Jul 8, 2021, 6:23:42 AM7/8/21
to Ant Media Server
Hello, we installed the AntMedia server on our own machine, yet after a few hours of usage, whenever the user tries to make new streams it will be prompted a message like "highResourceUsage".

Is there something that can be done besides rebooting the whole server?

Yash Tandon

unread,
Jul 8, 2021, 6:50:36 AM7/8/21
to Ant Media Server
Hi Michele,
Hope you are doing good.
Let me know your use case.
How do you publish your stream? Is adaptive streaming enabled?
Also which Instance type are you using? I mean what is your local hardware configuration?


Regards,
Yash

Michele Castelletti

unread,
Jul 8, 2021, 6:57:37 AM7/8/21
to Ant Media Server
Hi Yash,

I was using the very simple stream you have as a test at https://<my domain>:5443/WebRTCAppEE/index.html, I kept that stream active for a few hours.
Adaptive streaming is NOT enabled, IDK if it matters, but we have both VP8 & VP9 enabled.

I can't really answer about the hardware configuration as I don't know it and don't even know how to retrieve that, but we just created a Digital Ocean server with very basic configuration and didn't change anything that wasn't required during the installation of the server itself.

Attachment has our enabled settings
Schermata 2021-07-08 alle 12.54.51.png

Yash Tandon

unread,
Jul 8, 2021, 7:22:01 AM7/8/21
to Ant Media Server
Dear Michele,
Could you please let me know that which instance type you have selected on Digital Ocean. I suggest you to use at least 4 CPU core instance with 8GB RAM as it can handle 200 viewers and 50 broadcasts at a time. The best choice is CPU-Optimized Dedicated CPU machines because we will do lots of video encoding in a media server.

Regards,
Yash

Michele Castelletti

unread,
Jul 8, 2021, 8:51:18 AM7/8/21
to Ant Media Server
Ok, we're having a 2CPU, 16GB of RAM and 50GB of HDD.

We'll try pumping our resources

Fabio Rosenthal Ginzel

unread,
Jul 8, 2021, 9:55:58 AM7/8/21
to Ant Media Server
After a few days of use my instance always exceeds 80% of use, even without anyone using

I'm restarting the antmedia service every night so that doesn't happen

screencapture-origin-webrtc-panagora-br-2021-07-08-10_55_17.png

Dhimant Bhayani

unread,
Jul 8, 2021, 5:23:59 PM7/8/21
to Fabio Rosenthal Ginzel, Ant Media Server
We have been facing the same issue for the past two weeks and even after updating to a version suggested, problem persists.

Sent from my iPhone

On Jul 8, 2021, at 6:56 AM, Fabio Rosenthal Ginzel <fabio....@pandora.com.br> wrote:

After a few days of use my instance always exceeds 80% of use, even without anyone using

I'm restarting the antmedia service every night so that doesn't happen

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/09f757fe-b8a2-4664-8eb9-ce4b1cb9b743n%40googlegroups.com.
<screencapture-origin-webrtc-panagora-br-2021-07-08-10_55_17.png>

Selim Emre

unread,
Jul 9, 2021, 4:10:11 PM7/9/21
to Ant Media Server
Hi All,

Thank you for reporting us!

We just checked the same issues logs. We found some issues in thread usage details. We are expecting to send you a workaround solution in a few days.

Best Regards,
Selim

Selim Emre

unread,
Jul 13, 2021, 4:41:22 PM7/13/21
to Ant Media Server
Hi All,

We have investigated this issue deeply with our tech team. We have detected that this issue was related to OpenSSL. We are also supporting JSSE SSL. Please follow below guidance:

sudo service antmedia stop
sudo rm -rf /usr/local/antmedia/lib/native*/libtcnative-1.so* #Or move any other location
sudo service antmedia restart

You should see "2021-07-11 10:58:09,146 [https-jsse-nio2-0.0.0.0-5443-exec-3] INFO  i.a.e.s.WebSocketLocalHandler - Web Socket opened" logs when you opened any websocket connection.

Best Regards,
Selim

Brian Roundtree

unread,
Jul 19, 2021, 2:09:04 PM7/19/21
to Selim Emre, Ant Media Server
We been having the same issue, and then the server completely crashes and asks for my email (I have yet to get a response to the many crash emails).

I just followed you instructions and now the server will not run… its dead.
We are running the AWS image
Version: 2.3.0
Instance type: c5.xlarge

What should we do now. Upgrade to 2.3.3 or ???

Thx


Reply all
Reply to author
Forward
0 new messages