Bug#471460: asterisk: 100% CPU usage spikes

2008-03-25 Thread Ben Thompson
On Tue, Mar 18, 2008 at 02:21:49PM +0200, Tzafrir Cohen wrote:
 On Tue, Mar 18, 2008 at 11:57:09AM +, Ben Thompson wrote:
  Package: asterisk
  Version: 1:1.4.17~dfsg-2+b1
  Severity: important
  
  
  Hi
  
  I recenlty upgraded my asterisk system from etch to lenny and I am now 
  experiencing
  a problem where the system will periodically hang for a few seconds then 
  recover.
  I can't see anything unusual from the CLI, all that happens is asterisk 
  will randomly
  start to comsume 100% of the CPU and after around 10 seconds will return to 
  normal.
  When it happens I usually see a number of peer unreachable messages, but 
  that's about it.
  I am running out of time to debug this as my users need a stable system so 
  I should really
  be reverting back to etch, but if there is anything I can do to debug this 
  in the next day or so,
  let me know what to do and I will try it.
 
 Is this related to some DNS problems?
 
 Are those peers IAX or SIP peers?
 
 
 The first thing to debug this would be more aggressive logging and more
 verbose / debug, I guess. Enable the full log and use: 
 
   asterisk -rvd
 
 to enable some more messages to be generated.

Hi Tzafrir

I have sent my logs to your email address as I did not want to post
all my logs on the bug tracking system. I hope this helps as I have now
reverted back to etch.

Thanks

Ben Thompson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471460: asterisk: 100% CPU usage spikes

2008-03-18 Thread Ben Thompson
Package: asterisk
Version: 1:1.4.17~dfsg-2+b1
Severity: important


Hi

I recenlty upgraded my asterisk system from etch to lenny and I am now 
experiencing
a problem where the system will periodically hang for a few seconds then 
recover.
I can't see anything unusual from the CLI, all that happens is asterisk will 
randomly
start to comsume 100% of the CPU and after around 10 seconds will return to 
normal.
When it happens I usually see a number of peer unreachable messages, but 
that's about it.
I am running out of time to debug this as my users need a stable system so I 
should really
be reverting back to etch, but if there is anything I can do to debug this in 
the next day or so,
let me know what to do and I will try it.

Thanks


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages asterisk depends on:
ii  adduser   3.105  add and remove users and groups
ii  asterisk-config   1:1.4.17~dfsg-2Configuration files for Asterisk
ii  asterisk-sounds-main  1:1.4.17~dfsg-2Core Sound files for Asterisk (Eng
ii  libasound21.0.16-1   ALSA library
ii  libc-client2007   7:2007~dfsg-1  UW c-client library for mail proto
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  libcap1   1:1.10-14  support for getting/setting POSIX.
ii  libct30.63-3.2   libraries for connecting to MS SQL
ii  libcurl3  7.18.0-1   Multi-protocol file transfer libra
ii  libgcc1   1:4.3.0~rc2-1  GCC support library
ii  libgsm1   1.0.12-1   Shared libraries for GSM speech co
ii  libiksemel3   1.2-3  C library for the Jabber IM platfo
ii  libkrb53  1.6.dfsg.3~beta1-3 MIT Kerberos runtime libraries
ii  libncurses5   5.6+20080203-1 Shared libraries for terminal hand
ii  libnewt0.52   0.52.2-11.1Not Erik's Windowing Toolkit - tex
ii  libogg0   1.1.3-3Ogg Bitstream Library
ii  libpopt0  1.10-3 lib for parsing cmdline parameters
ii  libpq58.3.0-1PostgreSQL C client library
ii  libpri1.0 1.4.2-1Primary Rate ISDN specification li
ii  libradiusclient-ng2   0.5.5-1Enhanced RADIUS client library
ii  libsnmp15 5.4.1~dfsg-6   SNMP (Simple Network Management Pr
ii  libspeex1 1.1.12-3   The Speex Speech Codec
ii  libsqlite02.8.17-4   SQLite shared library
ii  libssl0.9.8   0.9.8g-4   SSL shared libraries
ii  libstdc++64.3.0~rc2-1The GNU Standard C++ Library v3
ii  libtonezone1  1:1.4.8~dfsg-1 tonezone library (runtime)
ii  libvorbis0a   1.2.0.dfsg-3   The Vorbis General Audio Compressi
ii  libvorbisenc2 1.2.0.dfsg-3   The Vorbis General Audio Compressi
ii  libvpb0   4.2.24-1   Voicetronix telephony hardware use
ii  unixodbc  2.2.11-16  ODBC tools libraries
ii  zlib1g1:1.2.3.3.dfsg-11  compression library - runtime

asterisk recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#471460: asterisk: 100% CPU usage spikes

2008-03-18 Thread Tzafrir Cohen
On Tue, Mar 18, 2008 at 11:57:09AM +, Ben Thompson wrote:
 Package: asterisk
 Version: 1:1.4.17~dfsg-2+b1
 Severity: important
 
 
 Hi
 
 I recenlty upgraded my asterisk system from etch to lenny and I am now 
 experiencing
 a problem where the system will periodically hang for a few seconds then 
 recover.
 I can't see anything unusual from the CLI, all that happens is asterisk will 
 randomly
 start to comsume 100% of the CPU and after around 10 seconds will return to 
 normal.
 When it happens I usually see a number of peer unreachable messages, but 
 that's about it.
 I am running out of time to debug this as my users need a stable system so I 
 should really
 be reverting back to etch, but if there is anything I can do to debug this in 
 the next day or so,
 let me know what to do and I will try it.

Is this related to some DNS problems?

Are those peers IAX or SIP peers?


The first thing to debug this would be more aggressive logging and more
verbose / debug, I guess. Enable the full log and use: 

  asterisk -rvd

to enable some more messages to be generated.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]