[Asterisk-Users] AST eating CPU 100%->Resource temporarily unavailable

Oscar Carriles ocarriles at infodax.com.ar
Tue Apr 4 15:07:38 MST 2006



Ing. Oscar Andrés Carriles

I got a CPU hog of 100% running asterisk 1.0.9
The problem is caused by a single process capturing all available CPU in
one call. When this call hang up seldom others continue in normal
service.

I have all 30 SIP softPhones eyebean, 1E1 AFT101 Sangoma card signalling
MFCR2
When the problem arrives in the call center, people from outside hears
so good, but from inside the voice becomes choppy.
I did a little trace in the related process as attached-

-Not related to heavy load
-May occur with 2 calls or 20 up

 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/300 - Release Date:
03/04/2006
 
  
-------------- next part --------------
read(28, "\324\325\325\325\325\325U\325\325U\325\325\325\324\325"..., 1024) = 160
ioctl(28, 0xc0044a09, 0xbd7f5160)       = 0
gettimeofday({1144187314, 639148}, NULL) = 0
gettimeofday({1144187314, 639191}, NULL) = 0
time([1144187314])                      = 1144187314
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=377, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=377, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=377, ...}) = 0
sendto(247, "\200\2107J\0\23\6\20QD\244\3\324\325\325\325\325\325U\325"..., 172, 0, {sa_family=AF_INET, sin_port=htons(8828), sin_addr=inet_addr("192.168.250.58")}, 16) = 172
poll([{fd=28, events=POLLIN|POLLPRI}, {fd=247, events=POLLIN|POLLPRI, revents=POLLIN}, {fd=249, events=POLLIN|POLLPRI}, {fd=296, events=POLLIN|POLLPRI}], 4, -1) = 1
read(296, 0xbd7f5fc8, 4)                = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(247, "\200\10<(\0\31\n\240@\371\30\261UUUU\325\324\325\325\325"..., 8192, 0, {sa_family=AF_INET, sin_port=htons(8828), sin_addr=inet_addr("192.168.250.58")}, [16]) = 172
time([1144187314])                      = 1144187314
write(28, "UUUU\325\324\325\325\325\325\324\325\325\325UUUU\325\325"..., 160) = 160
poll([{fd=247, events=POLLIN|POLLPRI, revents=POLLIN}, {fd=249, events=POLLIN|POLLPRI}, {fd=296, events=POLLIN|POLLPRI}, {fd=28, events=POLLIN|POLLPRI}], 4, -1) = 1
read(296, 0xbd7f5fc8, 4)                = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(247, "\200\10<)\0\31\v@@\371\30\261\325\325U\325UU\325\325\325"..., 8192, 0, {sa_family=AF_INET, sin_port=htons(8828), sin_addr=inet_addr("192.168.250.58")}, [16]) = 172
time([1144187314])                      = 1144187314
write(28, "\325\325U\325UU\325\325\325\325\325UUU\325\325\325UU\325"..., 160) = 160
poll([{fd=28, events=POLLIN|POLLPRI}, {fd=247, events=POLLIN|POLLPRI, revents=POLLIN}, {fd=249, events=POLLIN|POLLPRI}, {fd=296, events=POLLIN|POLLPRI}], 4, -1) = 1
read(296, 0xbd7f5fc8, 4)                = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(247, "\200\10<.\0\31\16`@\371\30\261\325UUTUUUU\325\325U\325"..., 8192, 0, {sa_family=AF_INET, sin_port=htons(8828), sin_addr=inet_addr("192.168.250.58")}, [16]) = 172
time([1144187314])                      = 1144187314
write(28, "\325UUTUUUU\325\325U\325\325UU\325\325UU\325\325U\325\324"..., 160) = 160
poll([{fd=247, events=POLLIN|POLLPRI, revents=POLLIN}, {fd=249, events=POLLIN|POLLPRI}, {fd=296, events=POLLIN|POLLPRI}, {fd=28, events=POLLIN|POLLPRI}], 4, -1) = 1
read(296, 0xbd7f5fc8, 4)                = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(247, "\200\10</\0\31\17\0@\371\30\261UUU\325UTUUTU\325UU\325"..., 8192, 0, {sa_family=AF_INET, sin_port=htons(8828), sin_addr=inet_addr("192.168.250.58")}, [16]) = 172
time([1144187314])                      = 1144187314
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)
write(28, "UUU\325UTUUTU\325UU\325\325\325UU\325\325\325\325U\325"..., 160) = -1 EAGAIN (Resource temporarily unavailable)


More information about the asterisk-users mailing list