Jonas Kellens
2010-Sep-14 12:30 UTC
[asterisk-users] Spontaneous reboots on asterisk 1.6.2.11
Hello list, has anyone else also noticed spontaneous reboots ?! I noticed this today and also yesterday. Can't really see if there is a fixed time between the reboots. Normally al of my SIP peers are registered. When I put up the CLI today I saw that a lot of SIP accounts where UNREACHABLE and needed to register again (what they slowly did). These are realtime SIP peers that reside on multiple geographical places. When I do a "SIP reload", then I get the same effect (UNREACHABLE and re-register). So there is a spontaneous reload or reboot or sip reload... Is there anyone else that has this ?! Can anyone tell me a 1.6.2-version which, according to him, has no reboots/reloads what so ever, please ?! Kind regards, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100914/68432a2f/attachment.htm
Jonas Kellens
2010-Sep-14 13:08 UTC
[asterisk-users] Spontaneous reboots on asterisk 1.6.2.11
On 09/14/2010 02:30 PM, Jonas Kellens wrote:> Hello list, > > has anyone else also noticed spontaneous reboots ?! > > I noticed this today and also yesterday. Can't really see if there is > a fixed time between the reboots. > > Normally al of my SIP peers are registered. When I put up the CLI > today I saw that a lot of SIP accounts where UNREACHABLE and needed to > register again (what they slowly did). > > These are realtime SIP peers that reside on multiple geographical > places. When I do a "SIP reload", then I get the same effect > (UNREACHABLE and re-register). > > > So there is a spontaneous reload or reboot or sip reload... > > > Is there anyone else that has this ?! > > Can anyone tell me a 1.6.2-version which, according to him, has no > reboots/reloads what so ever, please ?! > > > > Kind regards, > > Jonas.I also noticed this : PBX Core settings ----------------- Version: 1.6.2.11 Build Options: LOADABLE_MODULES Maximum calls: Not set Maximum open file handles: Not set Verbosity: 25 Debug level: 0 Maximum load average: 0.000000 Minimum free memory: 0 MB * Startup time: 13:25:30 Last reload time: 13:25:30* Now, I did not reload or restart at 13:25. I was on the road at that time. Where does this startup time and last reload time come from ?! Kind regards, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100914/d0157910/attachment.htm
Jonas Kellens
2010-Sep-15 10:55 UTC
[asterisk-users] UPDATE !! Spontaneous reboots on asterisk 1.6.2.11
Hello Philipp, I know I post a lot concerning this issue, but this is because this problem occurs on a production system and I feel very hot breathing down my neck. I have tested during several weeks my implementation on a test system which is similar to the production system. The only difference is : test-system on VirtualBox, production system on Xen. Also now I can not reproduce this "reboot of asterisk" on my test system. While on the production system the part of the dialplan gives the spontaneous reboot every time over and over again. I have now placed this part of the dialplan in comment, and it seems to help. I was wrong yesterday thinking it was a bug in version 1.6.2.11. The problem today occurs when the specific macro needs to be executed... Did not saw this yesterday... I hope I have found the *problem* now. Can you help me with the *solution* please ?! Kind regards, Jonas. On 09/15/2010 12:20 PM, Philipp von Klitzing wrote:> Jonas, > > everyone here supports you in your effort to get a good Asterisk > installation going, but could you ... maybe restrain yourself a little > bit and reduce the number of hasty postings you are sending to this > mailing list? > > Thank you, > Philipp > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100915/5a618f9c/attachment.htm
Gareth Blades
2010-Sep-15 10:59 UTC
[asterisk-users] UPDATE !! Spontaneous reboots on asterisk 1.6.2.11
I cant help you with fixing the actual cause but have you considered moving the mysql and as much of the associated logic to an AGI running something like a perl or php script. From previous posts that generally seems to me the more reliable way of making mysql queries. Jonas Kellens wrote:> Hello Philipp, > > I know I post a lot concerning this issue, but this is because this > problem occurs on a production system and I feel very hot breathing down > my neck. > > I have tested during several weeks my implementation on a test system > which is similar to the production system. The only difference is : > test-system on VirtualBox, production system on Xen. > > Also now I can not reproduce this "reboot of asterisk" on my test > system. While on the production system the part of the dialplan gives > the spontaneous reboot every time over and over again. > > I have now placed this part of the dialplan in comment, and it seems to > help. > > I was wrong yesterday thinking it was a bug in version 1.6.2.11. The > problem today occurs when the specific macro needs to be executed... Did > not saw this yesterday... > > I hope I have found the *problem* now. > > > Can you help me with the *solution* please ?! > > > Kind regards, > Jonas. > > > On 09/15/2010 12:20 PM, Philipp von Klitzing wrote: >> Jonas, >> >> everyone here supports you in your effort to get a good Asterisk >> installation going, but could you ... maybe restrain yourself a little >> bit and reduce the number of hasty postings you are sending to this >> mailing list? >> >> Thank you, >> Philipp >> >> >>
Paul Belanger
2010-Sep-16 17:58 UTC
[asterisk-users] UPDATE !! Spontaneous reboots on asterisk 1.6.2.11
On Thu, Sep 16, 2010 at 12:46 PM, Paul Belanger <paul.belanger at polybeacon.com> wrote:> On Thu, Sep 16, 2010 at 12:11 PM, Jonas Kellens > <jonas.kellens at telenet.be> wrote: >> Is it normal that backtrace.txt is only 30K ?? >> > Normal or not, simply post the results of backtrace.txt >Please do not send me direct email, post them to the list for others to help. Your backtrace is optimized (<value optimized out>). You need to reinstall asterisk with DONT_OPTIMIZE enabled, described in doc/backtrace.txt. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
Jonas Kellens
2010-Sep-17 08:21 UTC
[asterisk-users] UPDATE !! Spontaneous reboots on asterisk 1.6.2.11
On 09/16/2010 07:58 PM, Paul Belanger wrote:> Please do not send me direct email, post them to the list for others > to help. Your backtrace is optimized (<value optimized out>). You > need to reinstall asterisk with DONT_OPTIMIZE enabled, described in > doc/backtrace.txt. >Hello, I have compiled with DONT_OPTIMIZE. When generating the backtrace, I get the following output now : [root at asterisk16 tmp]# ls core.asterisk16.jocan.local-2010-09-17T10:03:15+0200 [root at asterisk16 tmp]# gdb -se "/usr/sbin/asterisk" -ex "bt full" -ex "thread apply all bt" --batch -c /tmp/core.asterisk16.jocan.local-2010-09-17T10\:03\:15+0200 > /tmp/backtrace.txt warning: exec file is newer than core file. warning: .dynamic section for "/lib/libcrypt.so.1" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for "/lib/libnsl.so.1" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations Is the backtrace well generated and so can I post it ?! Or will I have to make adjustments and do it again ? Jonas.
Mark Deneen
2010-Sep-17 15:29 UTC
[asterisk-users] UPDATE !! Spontaneous reboots on asterisk 1.6.2.11
On Fri, Sep 17, 2010 at 4:21 AM, Jonas Kellens <jonas.kellens at telenet.be> wrote:> > warning: exec file is newer than core file.Jonas, I encourage you to read the output. Did you run gdb with a core file dumped from the old build? You need to generate a new core dump with the new executable. Best Regards, Mark Deneen