<div dir="ltr">I am checking memory utilization to see whether it could be running low and causing the MySql to fail on insert. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 1, 2015 at 8:05 AM, William Fulton <span dir="ltr"><<a href="mailto:wfulton@thirdhatch.com" target="_blank">wfulton@thirdhatch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Are you running this on a VM? <u></u><u></u></span></p><p class="MsoNormal"><a name="14bd3f0641e9463d__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Tabi Tabe Tabi [mailto:<a href="mailto:tabi.tabe@gmail.com" target="_blank">tabi.tabe@gmail.com</a>] <br><b>Sent:</b> Saturday, February 28, 2015 9:58 PM<br><b>To:</b> William Fulton<br><b>Cc:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br><b>Subject:</b> Re: [Spce-user] SIP Error 500 Internal Error<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Thanks William.<u></u><u></u></p></div><p class="MsoNormal">I'd been tailing the Kamailio log file and using grep to show only for particular string.<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">I found database insert errors before SPCE drops the call.<br><br><u></u><u></u></p><p class="MsoNormal"><span style="font-size:9.0pt">Mar 1 07:46:44 sipbc-2 proxy[4581]: ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Lost connection to MySQL server during query</span><u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Then the next call comes through and is successful.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">It looks like a MySQL error. The Service is running fine.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Any ideas how to resolve this one?<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Much appreciated.<br><br><u></u><u></u></p></div><p class="MsoNormal">Tabi<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sun, Mar 1, 2015 at 4:06 AM, William Fulton <<a href="mailto:wfulton@thirdhatch.com" target="_blank">wfulton@thirdhatch.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Tail the kamailio log when the calls are being rejected and see why:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">tail -f /var/log/ngcp/kamailio-proxy.log</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best Regards,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">William</span><u></u><u></u></p><p class="MsoNormal"><a name="14bd3f0641e9463d_14bd31564acbe365__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></a><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] <b>On Behalf Of </b>Tabi Tabe Tabi<br><b>Sent:</b> Saturday, February 28, 2015 2:40 PM<br><b>To:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br><b>Subject:</b> [Spce-user] SIP Error 500 Internal Error</span><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p></div><p class="MsoNormal">Does anyone know what would cause SPCE to reject a call with error code 500 Internal error? <u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">So calls are dropped and some are processed. <u></u><u></u></p></div><p class="MsoNormal">Thanks.<br clear="all"><u></u><u></u></p><div><div><div><div><div><div><p class="MsoNormal"><br>-- <u></u><u></u></p><div><p class="MsoNormal">...Tabi<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><br><br clear="all"><br>-- <u></u><u></u></p><div><p class="MsoNormal">...Tabi<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">...Tabi<div><br></div></div>
</div>