Matthew Boehm
2005-May-25 13:53 UTC
[Asterisk-Users] Asterisk Crashing; Not getting Core dumps
This is frustrating. Asterisk has crashed now twice today and neither crash has produced a core file. My ulimit is unlimited. I'm using safe_asterisk so asterisk is restarting immediatly, but how the hell am I suposed to find out wtf happened with no core file? Debug log doesn't say anything either. AGRHHHHHHHH -Matthew -- ------------------------------------------------------------------------ Matthew Boehm, IT Director Cypress Telecommunications mboehm@cytelcom.com 3838 N. Sam Houston Parkway E #400 T: 832-200-8640 x3044 Houston, TX 77032 My girlfriend was recently diagnosed with multiple personality disorder; When she called yesterday, my CallerID box exploded. ------------------------------------------------------------------------
JD Austin
2005-May-25 14:33 UTC
[Asterisk-Users] Asterisk Crashing; Not getting Core dumps
Matthew Boehm wrote:>This is frustrating. Asterisk has crashed now twice today and neither crash >has produced a core file. My ulimit is unlimited. > >I'm using safe_asterisk so asterisk is restarting immediatly, but how the >hell am I suposed to find out wtf happened with no core file? Debug log >doesn't say anything either. > >AGRHHHHHHHH > >-Matthew > > >Turn on debugging in asterisk. It will write more to the log files. JD -- JD Austin Twin Geckos Technology Services LLC email: jd@twingeckos.com http://www.twingeckos.com phone/fax: 480.288.8195
Matt Riddell
2005-May-25 18:25 UTC
[Asterisk-Users] Asterisk Crashing; Not getting Core dumps
Check your home folder and /tmp/ -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Matthew Boehm
2005-May-25 20:32 UTC
[Asterisk-Users] Asterisk Crashing; Not getting Core dumps
Checked. None. -Matthew> From: Matt Riddell <matt.riddell@sineapps.com> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Date: Thu, 26 May 2005 13:25:46 +1200 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Subject: Re: [Asterisk-Users] Asterisk Crashing; Not getting Core dumps > > Check your home folder and /tmp/ > > -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.sineapps.com/news.php (Daily Asterisk News - html) > http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Remco Barende
2005-May-26 00:20 UTC
[Asterisk-Users] Asterisk Crashing; Not getting Core dumps
Which version of asterisk, 1.0x or HEAD (unstable)? My box is running cvs of the day before yesterday and it segfaults every 20 minutes or so.... On Wed, 25 May 2005, Matthew Boehm wrote:> This is frustrating. Asterisk has crashed now twice today and neither crash > has produced a core file. My ulimit is unlimited. > > I'm using safe_asterisk so asterisk is restarting immediatly, but how the > hell am I suposed to find out wtf happened with no core file? Debug log > doesn't say anything either. > > AGRHHHHHHHH > > -Matthew > >
Tony Mountifield
2005-May-26 00:29 UTC
[Asterisk-Users] Re: Asterisk Crashing; Not getting Core dumps
In article <025a01c5616b$dde89790$3400000a@cytelcom.com>, Matthew Boehm <mboehm@cytelcom.com> wrote:> This is frustrating. Asterisk has crashed now twice today and neither crash > has produced a core file. My ulimit is unlimited. > > I'm using safe_asterisk so asterisk is restarting immediatly, but how the > hell am I suposed to find out wtf happened with no core file? Debug log > doesn't say anything either.This happened to me the other week too. Do a ps -ef and see if safe_asterisk is still running. It probably isn't. The reason is that if asterisk is run without the -c or -f options, it forks itself into the background, and the original invocation immediately returns to safe_asterisk with a normal exit status. Modify /usr/sbin/safe_asterisk so it says TTY=9 and CONSOLE=yes, which will turn on the -c option. You should find that it then keeps coredumps in the DUMPDROP directory, which defaults to /tmp, but could usefully be changed to /var/log/asterisk. Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org