[asterisk-dev] Machine lockups after Asterisk upgrade

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Apr 18 14:34:44 MST 2006


On Tue, Apr 18, 2006 at 10:48:10PM +0200, Patrick Staehlin wrote:
> Hi
> 
> Some 14 days ago I've sent a mail [1] to the users-list about a machine 
> locking up after receiving a call from the sip-provider.
> 
> Since then we've upgraded Asterisk to 1.2.7.1 (on 07/17/2006) but that didn't 
> make the lockups disapear. 
> 
> To give you an outline of the "problem":
> 
> We've upgraded an Asterisk 1.0.* installation to Asterisk 1.2.4 and later to 
> 1.2.7.1. Since this upgrade we have occasional (~twice a day) hard lockups of 
> the machine running Asterisk. The server runs a Debian Sarge with a Kernel 
> built from Debian-sources. We got Asterisk packages are from 
> http://debian.peen.net/asterisk

I don't know those packages.

Bleeding-edge Sarge packages (back-ported from the Unstable version)
could be found at 

  deb http://pkg-voip.buildserver.net/debian sarge main 

Note that those are very bleeding-edge. 

> 
> The lockups occur right after the caller hangs up his phone and doesn't seem 
> to be related to the overall call time nor the uptime of the server. We 
> suspect there is an runaway asterisk-process that dominates the cpu (I 
> thought that couldn't happen with linux, but there it is), as a memory fault 
> could be ruled out by a memtest86.
> 
> After the lockup the server seems to have a running kernel since it responds 
> to SysRq-requests (although there seems no processor time left for any other 
> processes). Through the SysRq we can sync & remount the hard-drives an get a 
> more or less gracefull reset of the machine.

Just to rule-out any kernel-related stuff: Is the machine pingable?

Make the manager interface accessible from another host. In case of a
lockup, connect through it and stop asterisk.

> After terminating all processes (SysRq + e) the server gets responsive again, 
> supporting out theory about a runaway process.
> 
> We're using a dialplan generated by freepbx. Out setup has been described in 
> [1] but I'd be glad to post further information on request.

Seems like you need to post a question to asterisk-users or to freebpx's
list, then.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list