PRESENCE TECHNOLOGY
Agustí Ubalde Bellot
Chief Developer
C/ Comte Urgell 240 3A
Barcelona 08036
aubalde@presenceco.com
Ph: +34 93 10 10 300
Fx: +34 93 10 10 333
Follow us on:
For additional information, please visit our website www.presenceco.com
-giovanniCentOS 6 is not supposed to be used for video (webrtc) service.Your specific version of FreeSWITCH is too old.Video muxing is heavy on CPU, that's normal.Also, you will find best performances and reliability using Debian 8 Jessie, and latest FreeSWITCH release.On Wed, Jun 29, 2016 at 10:20 AM, Agustí Ubalde <aubalde@presenceco.com> wrote:Hi all,I have a high CPU consumption by FreeSWITCH. In fact, consumption is highest on CPU system. On this server we have registered 20 sessions (WebRTC).Environment:
- CentOS 6.7 64b
- FreeSWITCh 1.5.14
The results of the execution of:step 1) ps -LlFm -p `pidof freeswitch`F S UID PID PPID LWP C NLWP PRI NI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD1 - 499 4481 1 - 99 55 - - - 216700 - 140840 - Jun28 ? 17:55:10 /usr/bin/freeswitch -nc1 S 499 - - 4481 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:00 -1 S 499 - - 4482 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:00 -1 S 499 - - 4483 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:32 -1 S 499 - - 4484 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:03 -1 S 499 - - 4487 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:01 -1 S 499 - - 4488 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:04 -1 S 499 - - 4489 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:00 -1 S 499 - - 4490 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:01 -1 S 499 - - 4492 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4493 0 - 99 19 - - ep_pol - 0 Jun28 - 00:00:00 -1 S 499 - - 4494 0 - 99 19 - - ep_pol - 0 Jun28 - 00:00:00 -1 R 499 - - 4495 97 - 99 19 - - - - 0 Jun28 - 17:37:34 -1 S 499 - - 4496 0 - 99 19 - - ep_pol - 0 Jun28 - 00:00:00 -1 S 499 - - 4497 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4498 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:00 -1 S 499 - - 4499 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4500 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:01 -1 S 499 - - 4501 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4502 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4503 0 - 99 19 - - poll_s - 0 Jun28 - 00:00:00 -1 S 499 - - 4504 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4510 0 - 99 19 - - inet_c - 0 Jun28 - 00:00:00 -1 S 499 - - 4511 0 - 99 19 - - timerf - 0 Jun28 - 00:00:18 -1 S 499 - - 4512 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4513 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:00 -1 S 499 - - 4536 0 - 99 19 - - hrtime - 0 Jun28 - 00:00:03 -1 S 499 - - 4558 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4559 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4560 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4561 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4562 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4564 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:39 -1 S 499 - - 4565 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:43 -1 S 499 - - 4567 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:39 -1 S 499 - - 4568 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:40 -1 S 499 - - 4569 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:40 -1 S 499 - - 4570 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:40 -1 S 499 - - 4571 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:39 -1 S 499 - - 4572 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:40 -1 S 499 - - 4573 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:39 -1 S 499 - - 4575 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:40 -1 S 499 - - 4636 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4637 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4638 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4639 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4640 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4641 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4642 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4643 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4644 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4645 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4646 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4647 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4648 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -1 S 499 - - 4649 0 - 99 19 - - futex_ - 0 Jun28 - 00:00:17 -step 2) pstack 4481Thread 45 (Thread 0x7ff6ba08a700 (LWP 4495)):#0 0x0000003410ce8e63 in epoll_wait () from /lib64/libc.so.6#1 0x00007ff6b877bba5 in ?? () from /usr/local/freeswitch/mod/mod_sofia.so#2 0x00007ff6b877ba28 in ?? () from /usr/local/freeswitch/mod/mod_sofia.so#3 0x00007ff6b8779715 in ?? () from /usr/local/freeswitch/mod/mod_sofia.so#4 0x00000034110079d1 in start_thread () from /lib64/libpthread.so.0#5 0x0000003410ce886d in clone () from /lib64/libc.so.6Any idea?Thanks,PRESENCE TECHNOLOGY
Agustí Ubalde Bellot
Chief Developer
C/ Comte Urgell 240 3A
Barcelona 08036
aubalde@presenceco.comPh: +34 93 10 10 300
Fx: +34 93 10 10 333Follow us on:
For additional information, please visit our website www.presenceco.com
Presence Technology - Disclaimer
This message, its content and any file attached thereto is for the intended recipient only and is confidential and /or privileged. If you have received this e-mail in error or had access to it, you should note that the information in it is private and any use thereof is unauthorized. In such an event please notify us by e-mail or by telephone (+ 34 93 10 10 300). Any reproduction of this e-mail by whatsoever means and any transmission or dissemination thereof to other persons is prohibited. It should be deleted immediately from your system. Presence Technology reserves the right to take legal action against any persons unlawfully gaining access to the content of any external message it has emitted.For additional information, please visit our website www.presenceco.com
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Presence Technology - Disclaimer
This message, its content and any file attached thereto is for the intended recipient only and is confidential and /or privileged. If you have received this e-mail in error or had access to it, you should note that the information in it is private and any use thereof is unauthorized. In such an event please notify us by e-mail or by telephone (+ 34 93 10 10 300). Any reproduction of this e-mail by whatsoever means and any transmission or dissemination thereof to other persons is prohibited. It should be deleted immediately from your system. Presence Technology reserves the right to take legal action against any persons unlawfully gaining access to the content of any external message it has emitted.
For additional information, please visit our website www.presenceco.com