[asterisk-users] Asterisk Stops...where to look?

Steve Totaro stotaro at totarotechnologies.com
Mon Aug 18 13:04:09 CDT 2008


On Mon, Aug 18, 2008 at 1:50 PM, Mark Michelson <mmichelson at digium.com> wrote:
> Jay Ray wrote:
>> Hi,
>>
>>  I am running Asterisk 1.4.21.2  on Fedora Core 2. Looks like The
>> Asterisk Process dies after a few hours...I have full debugging turned
>> on but file /var/log/asterisk/full does not show anything
>> specifc..neither does var/log/messages..
>>
>> dmesg also shows nothing specific to Asterisk dying/corring...Where does
>> Asterisk dump core files if it cores..Any other pointers on where to
>> look would be helpful...
>>
>> Thx..
>
> Asterisk will typically dump core to the directory from which it is run,
> assuming that it was run with the -g flag at startup. Some of the startup
> scripts provided for Asterisk, including safe_asterisk, will dump core to /tmp.
>
> Also, Fedora Core 2?! Ouch! ;)
>
> Mark Michelson
>

I have to second the FC2 sentiment, when was that EOLed?  Why not load
up CentOS 5 or whatever?

As Mark referenced and a good suggestion for your situation is to use
safe_asterisk to invoke Asterisk.

That way you get a core dump by default in /tmp AND Asterisk will
pretty much instantly restart itself.  Sure your calls will drop but
at least Asterisk will be up and running a moment later, giving you
more uptime and time to GDB your core dump.

Thanks,
Steve Totaro



More information about the asterisk-users mailing list