Vadim Berezniker wrote:

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:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Ed Nuñez
*Sent:* Tuesday, June 26, 2007 2:22 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion; [EMAIL PROTECTED]
*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

------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

If that fails you could always try something like:
*/2 * * * * /bin/ps -C /usr/bin/asterisk || { /usr/bin/asterisk & }

or so...

--
====================================================
J. Oquendo
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743
echo infiltrated.net|sed 's/^/sil@/g'
"Wise men talk because they have something to say;
fools, because they have to say something." -- Plato


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to