<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Helvetica, Arial, sans-serif">Server specs :<br>
      <br>
      XEON E3-1220V2 <br>
      4 GB RAM <br>
      2 x 500GB HD (RAID0) <br>
      1 U <br>
      HOT-PLUG PSU<br>
      <br>
      Linux sip.server.tld 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28
      17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
      <br>
      <br>
      There is no transcoding. Calls are using G711a.<br>
      <br>
      Maybe there is some trancoding when using voicemail...<br>
      <br>
      How can I find out if there is trancoding ??<br>
      <br>
      <br>
      <br>
      <br>
      Kind regards,<br>
      Jonas.<br>
    </font><br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 27-11-13 13:27, Andrew Colin wrote:<br>
    </div>
    <blockquote
      cite="mid:5gc5ygv1do7mgkarst6ymoqp.1385555251186@email.android.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>
        <div>Are you transcoding?</div>
        <div><br>
        </div>
        <div>What is your server spec?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div style="font-size:75%">Regards</div>
          <div style="font-size:75%">Andrew Colin-mobile</div>
          <div style="font-size:75%">Vsave(PTY)Ltd</div>
          <div style="font-size:75%"><br>
          </div>
        </div>
      </div>
      <br>
      <br>
      -------- Original message --------<br>
      From: Jonas Kellens <jonas.kellens@telenet.be> <br>
        Date:27/11/2013 13:48 (GMT+02:00) <br>
        To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com>
          <br>
          Subject: Re: [asterisk-users] Asterisk uses 105% CPU <br>
          <br>
          On 27-11-13 12:26, Jonas Kellens wrote:<br>
          <blockquote cite="mid:5295D6E2.1020001@telenet.be" type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <font face="Helvetica, Arial, sans-serif">Hello,<br>
              <br>
              Using asterisk 1.8.24 on CentOS 6.4<br>
              <br>
              I notice that the asterisk process is using between 105 en
              110 % CPU :<br>
              <br>
              <br>
                PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM   
              TIME+ 
              COMMAND                                                                                                                                              


              <br>
               1765 root      20   0 2508m 102m 8864 S 105.8  2.7
              102:11.55
              asterisk                                                                                                                                            


              <br>
               2682 mysql     20   0  627m  29m 6204 S  0.7  0.8  
              1:59.51
              mysqld                                                                                                                                               


              <br>
                  1 root      20   0 19228 1508 1220 S  0.0  0.0  
              0:00.75 init <br>
              <br>
              <br>
              What can be causing such a high load of the asterisk
              proces ??<br>
              <br>
              There are about 35 calls with G711a codec, no translation.<br>
              <br>
              <br>
              <br>
              Kind regards,<br>
              Jonas.</font><br>
          </blockquote>
          <br>
          <br>
          I want to add some more information. Maybe someone knows how
          to help me with this information :<br>
          <br>
          <br>
          <br>
          sip*CLI> core show threads <br>
          0x7f98f87fd700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8ae5700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f9229700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f9609700 netconsole           started at [ 1423]
          asterisk.c listener()<br>
          0x7f98f8971700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8ec5700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8e49700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f9a65700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f97f9700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8a69700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8dcd700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f8d51700 pbx_thread           started at [ 5597] pbx.c
          ast_pbx_start()<br>
          0x7f98f9ae1700 shaun_of_the_dead    started at [ 2141] app.c
          ast_safe_fork()<br>
          0x7f98f9b5d700 inotify_daemon       started at [  334]
          stdtime/localtime.c add_notify()<br>
          0x7f98f9def700 autoservice_run      started at [  219]
          autoservice.c ast_autoservice_start()<br>
          0x7f98f9ee7700 monitor_sig_flags    started at [ 4097]
          asterisk.c main()<br>
          0x7f98f9f63700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          0x7f98f9fdf700 cleanup              started at [  414]
          pbx_realtime.c load_module()<br>
          0x7f98fa05b700 scan_thread          started at [  885]
          pbx_spool.c load_module()<br>
          0x7f98fa0d7700 do_monitor           started at [ 4684]
          chan_unistim.c restart_monitor()<br>
          0x7f98fa153700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          0x7f98fa1cf700 process_clearcache   started at [ 2265]
          pbx_dundi.c start_network_thread()<br>
          0x7f98fa2c7700 network_thread       started at [ 2263]
          pbx_dundi.c start_network_thread()<br>
          0x7f98fa24b700 process_precache     started at [ 2264]
          pbx_dundi.c start_network_thread()<br>
          0x7f98fa343700 do_monitor           started at [ 1167]
          chan_phone.c restart_monitor()<br>
          0x7f98fa3bf700 lock_broker          started at [  509]
          func_lock.c load_module()<br>
          0x7f98fa43b700 network_thread       started at [12310]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa4b7700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa533700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa5af700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa62b700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa6a7700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa723700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa79f700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa81b700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa897700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa913700 iax2_process_thread  started at [12288]
          chan_iax2.c start_network_thread()<br>
          0x7f98fa98f700 sched_run            started at [  186] sched.c
          ast_sched_thread_create()<br>
          0x7f98faa0b700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          0x7f98faa87700 do_monitor           started at [ 3897]
          chan_mgcp.c restart_monitor()<br>
          0x7f98fab03700 do_monitor           started at [ 6647]
          chan_skinny.c restart_monitor()<br>
          0x7f98fab7f700 accept_thread        started at [ 7358]
          chan_skinny.c config_load()<br>
          0x7f98fabfb700 do_monitor           started at [12011]
          chan_dahdi.c restart_monitor()<br>
          0x7f98fac77700 do_monitor           started at [26669]
          chan_sip.c restart_monitor()<br>
          0x7f992c09a700 do_timing            started at [  490]
          res_timing_pthread.c init_timing_thread()<br>
          0x7f992e55f700 do_refresh           started at [ 1766]
          res_calendar.c load_module()<br>
          0x7f992f84b700 sched_run            started at [  186] sched.c
          ast_sched_thread_create()<br>
          0x7f992f8c7700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          0x7f992f943700 db_sync_thread       started at [  883] db.c
          astdb_init()<br>
          0x7f993c082700 do_parking_thread    started at [ 8304]
          features.c ast_features_init()<br>
          0x7f993c0fe700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          0x7f993c17a700 do_devstate_changes  started at [  750]
          devicestate.c ast_device_state_engine_init()<br>
          0x7f993f17b700 logger_thread        started at [ 1143]
          logger.c init_logger()<br>
          0x7f993f1f7700 listener             started at [ 1483]
          asterisk.c ast_makesocket()<br>
          0x7f993f273700 tps_processing_function started at [  468]
          taskprocessor.c ast_taskprocessor_get()<br>
          55 threads listed.<br>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
        </asterisk-users@lists.digium.com></jonas.kellens@telenet.be></blockquote>
    <br>
  </body>
</html>