[asterisk-bugs] [JIRA] (ASTERISK-27608) Asterisk threads consume cpu usage waiting on pj_ioqueue_poll

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Jan 22 14:31:49 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-27608:
-------------------------------------

    Assignee: Cristian Paul Peñaranda Rojas  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

It looks like there are a lot of pending ICE/STUN requests but you're not using the bundled version of pjproject so it's going to be hard to debug.

Can you reconfigure with {{./configure --with-pjproject-bundled}} and see if the problem persists?  Even though you're using chan_sip, we still use pjproject for ICE.  Also make sure DONT_OPTIMIZE and BETTER_BACKTRACES are set in menuselect under Compiler Flags.


> Asterisk threads consume cpu usage waiting on pj_ioqueue_poll
> -------------------------------------------------------------
>
>                 Key: ASTERISK-27608
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27608
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_rtp, Channels/chan_sip/General
>    Affects Versions: 13.18.4
>            Reporter: Cristian Paul Peñaranda Rojas
>            Assignee: Cristian Paul Peñaranda Rojas
>              Labels: pjsip
>         Attachments: asterisk-ASTERISK-27608-results.tar.gz
>
>
> Thread 224 (Thread 0x7f0969259700 (LWP 11400)):
> #0  0x00007f09d2b2d19d in nanosleep () from /lib64/libc.so.6
> #1  0x00007f09d2b5de74 in usleep () from /lib64/libc.so.6
> #2  0x00007f0989e62ed2 in pj_thread_sleep () from /usr/lib64/libpj.so.2
> #3  0x00007f0989e619fa in pj_ioqueue_poll () from /usr/lib64/libpj.so.2
> #4  0x00007f096f9bf3fd in ioqueue_worker_thread (data=0x7f09c0032110) at res_rtp_asterisk.c:1205
> #5  0x00007f0989e62bba in thread_main () from /usr/lib64/libpj.so.2
> #6  0x00007f09d35f7de5 in start_thread () from /lib64/libpthread.so.0
> Threads just keep growing until cpu performance degrades and asterisk gets killed



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list