Summary: | ASTERISK-13932: I have 100% CPU usage with a few calls | ||
Reporter: | Private Name (falves11) | Labels: | |
Date Opened: | 2009-04-09 08:51:40 | Date Closed: | 2009-04-09 17:50:06 |
Priority: | Blocker | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-bt-1602.txt | |
Description: | I experence 100% usage with only a few open calls. I did "ps axum -C asterisk" to find the thread with most CPU and then gdb "/usr/sbin/asterisk pid". The results are below. For some reason it happens in all my machines, regardless of version. My machines are Xen virtual machines. ****** ADDITIONAL INFORMATION ****** gdb) bt #0 0x00002acfeb296436 in poll () from /lib64/libc.so.6 #1 0x000000000042be9b in monitor_sig_flags (unused=0x0) at asterisk.c:2679 #2 0x000000000042db72 in main (argc=3, argv=0x7fffc23c7b48) at asterisk.c:3238 (gdb) bt full #0 0x00002acfeb296436 in poll () from /lib64/libc.so.6 No symbol table info available. #1 0x000000000042be9b in monitor_sig_flags (unused=0x0) at asterisk.c:2679 p = {fd = 21, events = 1, revents = 0} a = 0 #2 0x000000000042db72 in main (argc=3, argv=0x7fffc23c7b48) at asterisk.c:3238 c = -1 filename = "/root/.asterisk_history", '\0' <repeats 56 times> hostname = "kosher", '\0' <repeats 57 times> tmp = "H{<\177\000\000PJu\000\000\000\000\000`~\237\025\000\000\000\000PJu\000\000\000\000\000@y<\177\000\000PB\000\000\000\000\000h{<\177\000\000H{<\177\000\000\003\000\000\000\000\000\000\000\t\000\000\000\000\000\000" xarg = 0x0 x = 3 f = (FILE *) 0x159fb4f0 sigs = {__val = {134238211, 0 <repeats 15 times>}} num = 0 isroot = 1 buf = 0x159f98b0 "p\230\237\025" runuser = 0x775160 "root" rungroup = 0x776160 "root" __PRETTY_FUNCTION__ = "main" __FUNCTION__ = "main" (gdb) | ||
Comments: | By: Private Name (falves11) 2009-04-09 09:42:47 In my latest capture I did the same trick and used GDB to see what the thread with the highest CPU usage was doing. The version is SVN-branch-1.6.2-r187303 By: Mark Michelson (mmichelson) 2009-04-09 17:50:05 We're tracking this in issue 14723 now. |