Hi,<br><br>I fixed the "nonce" error with the latest 1.4.2 svn release. Previously, I got the latest release mixed up with old .so file. Now it is working fine. Thank you for the fix.<br><br>The only problem I have left is about the performance of opensips when Auth is involved. Without Authentication, Opensips can process >10K registration requests/s. When Authentication is involved, it can only handle 80 registration requests/s. The box in this case is a Pentinum dual core with 2G Ram.<br>
<br>After I moved the mysql DB to a qual-core Xeon 4G RAM box, cps of registration requests increased to 550/s. Is this roughly that I should be expecting? <br><br>I hope to see the kind of benchmarking number that other people are seeing.<br>
<br>Thank you in advance for your help.<br><br>Regards,<br>JB<br><br><br><br><br><br><br><div class="gmail_quote">On Sat, Dec 6, 2008 at 11:32 AM, Juan Backson <span dir="ltr"><<a href="mailto:juanbackson@gmail.com">juanbackson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I am running load testing on opensips using sipp. When tested with pure registration without Auth ( opensips just store info in the location table), I get cps of >10K. However, when I change the script to enable auth via database table, I get only cps of around 80. Does anyone know why? I am using mysql and I don't think mysql should perform that bad. Can someone give me some pointers on where to look to identify the bottleneck?<br>
<br>The other problem I am having is that I am getting with the latest 1.4.2 svn:<br>Dec 6 11:09:53 localhost openser-1.2.0-ul[9514]: ERROR:auth:build_auth_hf: no more nonces can be generated <br>Dec 6 11:09:53 localhost openser-1.2.0-ul[9512]: ERROR:auth:challenge: failed to generate nonce <br>
<br>How can I fix it?<br><br>Another problem I am struggling with is that when testing with sipp with authentication turned on, sipp responses with:<br>2008-12-06 19:15:26:890 1228562126.890990: Aborting call on UDP retransmission timeout for Call-ID '<a href="mailto:426-4172@127.0.0.1" target="_blank">426-4172@127.0.0.1</a>'. for some of the calls even though I also set the recv_timeout to 10s:<br>
./sipp <a href="http://192.168.1.105:5030" target="_blank">192.168.1.105:5030</a> -sf tests/reg_with_auth/xmlregister.xml -inf tests/reg_with_auth/register.csv -r 20000 -m 100000 -trace_rtt -trace_screen -l 10 -trace_err -max_retrans 0 -recv_timeout 10s<br>
<br>With recv_timeout of 10s, I don't think sipp should even timeout at all. Does anyone know what I may have done wrong?<br><br><br>Thank you in advance for all your kind help.<br><br>Best Regards,<br><font color="#888888">JB<br>
<br><br>
<br><br><br><br><br><br><br><br><br><br><br><br>
</font></blockquote></div><br>