Hello all, I have a pretty much standard installation of an Asterisk 1.6.1.6 with no PRI cards of any type (full VoIP). Occasionally (it happens every 2 weeks or so), it just stops running. I was using safe_asterisk but it seems that safe_asterisk did not restart it. I do have the core dump file at /tmp/core.myservername-2009-10-20T18:36:20+0200 but it seems it's from an earlier crash. When I read the file, with nano or tail, it seems like pure gibberish. Is there any link or tutorial I can read that will help me read / use core dump files for debugging purposes? This asterisk is under heavy load, it's a 2x Dual core Xeon at 3GHz and its handling around 210 simultaneous calls at peak hour with no transcoding, mostly SIP, but some SIP to IAX conversion, and generaly I feel it's performing well. Do you have any tips on maintenance? Should I restart asterisk every day, or restart the server? Thank you for your help, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091104/6f7d9869/attachment.htm
Alejandro Recarey wrote:> Hello all, > > I have a pretty much standard installation of an Asterisk 1.6.1.6 with > no PRI cards of any type (full VoIP). > > Occasionally (it happens every 2 weeks or so), it just stops running. I > was using safe_asterisk but it seems that safe_asterisk did not restart > it. I do have the core dump file at > /tmp/core.myservername-2009-10-20T18:36:20+0200 but it seems it's from > an earlier crash. When I read the file, with nano or tail, it seems like > pure gibberish. > > Is there any link or tutorial I can read that will help me read / use > core dump files for debugging purposes? This asterisk is under heavy > load, it's a 2x Dual core Xeon at 3GHz and its handling around 210 > simultaneous calls at peak hour with no transcoding, mostly SIP, but > some SIP to IAX conversion, and generaly I feel it's performing well. > > Do you have any tips on maintenance? Should I restart asterisk every > day, or restart the server? > > Thank you for your help,Have you considered upgrading to the latest release in that branch? 1.6.1.9 was released today and addresses a security issue as well as fixes several bugs over the version you're running. Darrick
You could use gdb or crash for core dump analysis. Ahmed Ossama Alejandro Recarey wrote:> Hello all, > > I have a pretty much standard installation of an Asterisk 1.6.1.6 with > no PRI cards of any type (full VoIP). > > Occasionally (it happens every 2 weeks or so), it just stops running. > I was using safe_asterisk but it seems that safe_asterisk did not > restart it. I do have the core dump file at > /tmp/core.myservername-2009-10-20T18:36:20+0200 but it seems it's from > an earlier crash. When I read the file, with nano or tail, it seems > like pure gibberish. > > Is there any link or tutorial I can read that will help me read / use > core dump files for debugging purposes? This asterisk is under heavy > load, it's a 2x Dual core Xeon at 3GHz and its handling around 210 > simultaneous calls at peak hour with no transcoding, mostly SIP, but > some SIP to IAX conversion, and generaly I feel it's performing well. > > Do you have any tips on maintenance? Should I restart asterisk every > day, or restart the server? > > Thank you for your help, > > Alex > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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
We had crashes with 1.6.1.6 we could work around after downgrading to 1.6.1.0. Unfortunately, we couldn't gather much data about those crashes. Have you tried another 1.6.1.X version ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091105/b8f04b15/attachment.htm