Eduardo Potumati Posted April 21, 2020 Share Posted April 21, 2020 I have a dedicated server, with 8 cores Xeon CPU and 64gb memory. Fow now, 3 streams are active, with around 150 viewers. My surprise is because CPU load is over 95%. When audiences increase to 200+, server crashes. What is happenig? Link to comment Share on other sites More sharing options...
0 Mahmut As1m Onat Posted April 22, 2020 Share Posted April 22, 2020 Hi Eduardo, Your server should handle that many viewers if the streaming bitrate is not too high.Please get Thread Dump by using the following REST methods: GET http://AMS_URL:5080/rest/threads-info GET http://AMS_URL:5080/rest/thread-dump-json GET http://AMS_URL:5080/rest/thread-dump-raw You can easily call these methods via the browser address bar since all of them are GET methods.Please check if there exists a dead-locked-thread in the threads-info method. Best, Asim Link to comment Share on other sites More sharing options...
0 Eduardo Potumati Posted April 23, 2020 Author Share Posted April 23, 2020 The APIs didn’t open. Does it need special permission? I already opened application WebRTCAppEE APIs to 0.0.0.0/0. Link to comment Share on other sites More sharing options...
0 Eduardo Potumati Posted April 23, 2020 Author Share Posted April 23, 2020 My bitrate is between 600 and 800kbps. Link to comment Share on other sites More sharing options...
0 Eduardo Potumati Posted April 24, 2020 Author Share Posted April 24, 2020 This is my threads-info: { "dead-locked-thread": [ ], "thread-count": 2012, "thread-peek-count": 2051 } Another files attached. Em quarta-feira, 22 de abril de 2020 10:58:10 UTC-4, mahmut asım Onat escreveu:Hi Eduardo,Your server should handle that many viewers if the streaming bitrate is not too high.Please get Thread Dump by using the following REST methods: GET http://AMS_URL:5080/rest/threads-info GET http://AMS_URL:5080/rest/thread-dump-json GET http://AMS_URL:5080/rest/thread-dump-raw You can easily call these methods via the browser address bar since all of them are GET methods.Please check if there exists a dead-locked-thread in the threads-info method.Best,Asim thread-dump-json.txt thread-dump-raw.txt Link to comment Share on other sites More sharing options...
0 Mahmut As1m Onat Posted April 30, 2020 Share Posted April 30, 2020 Hi EduardoI couldn't figure out the problem but we have made performance improvements on the 2.0 version. I'll let you know when it is released. In the meantime please try restarting the server.Best,Asim Link to comment Share on other sites More sharing options...
0 Mahmut As1m Onat Posted May 10, 2020 Share Posted May 10, 2020 Hi Eduardo,The 2.0 version is out. You can get it here:https://github.com/ant-media/Ant-Media-ServerPlease let me know it solves your problem.Best,AsimOn Thursday, April 30, 2020 at 8:24:58 PM UTC+3, mahmut asım Onat wrote:Hi EduardoI couldn't figure out the problem but we have made performance improvements on the 2.0 version. I'll let you know when it is released. In the meantime please try restarting the server.Best,Asim Link to comment Share on other sites More sharing options...
0 3 Posted May 21, 2020 Share Posted May 21, 2020 Actually version 2.0 performance is awful. We have enterprise Ant Media and have compared 1.9 and 2.0 versions. 6 WebRTC publisher/players in one conference call load our 16 cores of Intel® Xeon® Gold 6152 CPU @ 2.10GHz to 25% with 1.9 version and 60-70% in case of version 2.0понедельник, 11 мая 2020 г., 1:07:54 UTC+3 пользователь mahmut asım Onat написал:Hi Eduardo,The 2.0 version is out. You can get it here:https://github.com/ant-media/Ant-Media-ServerPlease let me know it solves your problem.Best,AsimOn Thursday, April 30, 2020 at 8:24:58 PM UTC+3, mahmut asım Onat wrote:Hi EduardoI couldn't figure out the problem but we have made performance improvements on the 2.0 version. I'll let you know when it is released. In the meantime please try restarting the server.Best,Asim Link to comment Share on other sites More sharing options...
0 Mahmut As1m Onat Posted May 21, 2020 Share Posted May 21, 2020 Hi Igor,Could you send application settings so that we can try to find what is wrong? A screenshot of the management panel would do.Best,AsimOn Thursday, May 21, 2020 at 4:11:19 PM UTC+3, Игорь Проць wrote:Actually version 2.0 performance is awful. We have enterprise Ant Media and have compared 1.9 and 2.0 versions. 6 WebRTC publisher/players in one conference call load our 16 cores of Intel® Xeon® Gold 6152 CPU @ 2.10GHz to 25% with 1.9 version and 60-70% in case of version 2.0понедельник, 11 мая 2020 г., 1:07:54 UTC+3 пользователь mahmut asım Onat написал:Hi Eduardo,The 2.0 version is out. You can get it here:https://github.com/ant-media/Ant-Media-ServerPlease let me know it solves your problem.Best,AsimOn Thursday, April 30, 2020 at 8:24:58 PM UTC+3, mahmut asım Onat wrote:Hi EduardoI couldn't figure out the problem but we have made performance improvements on the 2.0 version. I'll let you know when it is released. In the meantime please try restarting the server.Best,Asim Link to comment Share on other sites More sharing options...
Question
Eduardo Potumati
Link to comment
Share on other sites
Top Posters For This Question
4
4
1
Popular Days
Apr 23
2
May 21
2
Apr 21
1
Apr 22
1
Top Posters For This Question
Eduardo Potumati 4 posts
Mahmut As1m Onat 4 posts
3 1 post
Popular Days
Apr 23 2020
2 posts
May 21 2020
2 posts
Apr 21 2020
1 post
Apr 22 2020
1 post
8 answers to this question
Recommended Posts