[asterisk-users] kore dump

Vadim Berezniker VadimB at nbsvoice.com
Tue Jun 26 13:35:55 CDT 2007


use the safe_asterisk script

 

it will restart asterisk if it crashes and it enables core dumps (your core size limit is probably set to 0 when you start asterisk).

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ed Nuñez
Sent: Tuesday, June 26, 2007 2:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; asterisk-users-bounces at lists.digium.com
Subject: [asterisk-users] kore dump

 

I am running Asterisk 1.4.5 and addons 1.4.1 in a CentOS 5 Server.

 

My PBX has experienced several core dumps the last couple of days and I am not sure if this is what's causing it, but it always seems to happen when a particular extension on a grandstream phone uses ChanSpy SIP group.

 

I have not been able to locate where the core dump file is being saved.   I can't find it in my TMP directory.

 

I would also like to know if Asterisk can be setup to automatically re start if there is a core dump.  I was thinking of setting up a cron job to launch Asterisk every minute.  If it's running, no harm done, and if it crashes, the cron job will make sure that it's started every 60 seconds.

 

Any suggestions?

 

 

Thank you

 

Ed Nuñez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070626/53a3ca96/attachment.htm 


More information about the asterisk-users mailing list