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.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080818/9367c204/attachment.htm
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
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
Possibly Parallel Threads
- Call-limit=1 breaks attended transfer
- RES: Can I use PJSIP_HEADER to read the SIP 183 message header?
- Asterisk 1.2.30.3, 1.4.23-rc2, 1.6.0.2, 1.6.1-beta3, and Asterisk-Addons 1.6.0.1, 1.6.1-rc2 released
- Can I use PJSIP_HEADER to read the SIP 183 message header?
- Seg Fault after upgrade to Asterisk 1.6.0.8