Thanks Brett. You were right. syslog was picking up local0. I added '-' before /var/log/messages and that fixed my problem. I can go up to 1000 calls per second with logging. <div><br></div><div>Thanks again,</div>
<div>Ali Pey</div><div><br><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 3:16 PM, Brett Nemeroff <span dir="ltr"><<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's possible that your default route in syslog also is picking up local0. For good measure I'd also stick a "-" before you /var/log/messages<div><br></div><div>If turning messages off fixes your problem, then the problem is in syslog. </div>
<div><br></div><div>BTW, This is a common problem. I've seen it many times. Sync writes in syslog will take a 1000+ cps server down to 1 cps any day. </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>
-Brett</div></font></span><div class="HOEnZb"><div class="h5"><div><br><br><div class="gmail_quote">
On Wed, Jun 6, 2012 at 2:14 PM, Ali Pey <span dir="ltr"><<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, as I already mentioned in my email, I did restart syslog.<div><div><div><br><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 3:06 PM, Zahid Mehmood <span dir="ltr"><<a href="mailto:zm23@columbia.edu" target="_blank">zm23@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did you restart syslog after the change?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<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""> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>]
<b>On Behalf Of </b>Ali Pey<br>
<b>Sent:</b> Wednesday, June 06, 2012 3:05 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Call per second - OpenSIPS performance<u></u><u></u></span></p>
</div><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Brett, Duane, Thank you for your replies.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">So when I disable logging all together I can easily do 1000 call per seconds, but even with asynchronous syslog I can only do 7 or 8 calls per second.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">For asynchronous syslog I have this in syslog.conf (and have restarted syslog service):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">local0.* -/var/log/opensips.log<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jun 6, 2012 at 1:48 PM, Brett Nemeroff <<a href="mailto:brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Ensure you are using asynchronous writes with syslog. Disable logging<br>
altogether and see if that fixes it. With JUST drouting your server<br>
should scream<br>
<br>
-Brett<br>
<br>
On Jun 6, 2012, at 12:46 PM, "<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>"<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><<a href="mailto:duane.larson@gmail.com" target="_blank">duane.larson@gmail.com</a>> wrote:<br>
<br>
> Wow 7 or 8 calls per second is horrible.<br>
><br>
> <a href="http://www.opensips.org/Resources/PerformanceTests" target="_blank">http://www.opensips.org/Resources/PerformanceTests</a><br>
><br>
><br>
><br>
> On , Ali Pey <<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>> wrote:<br>
> > Hello Everyone,<br>
> ><br>
> > I have OpenSIPS setup on a fairly powerful server in trunking mode and am using SIPp to do performance testing. With basic call scenarios I can only get 7 or 8 call per second which seems very slow. When I look at the network captures, I see the opensips
is running behind which results to re transmissions, etc.<br>
> ><br>
> ><br>
> ><br>
> > What call per second number should I expect? Currently I am only using the Dynamic Routing module.<br>
> > What can I do to improve the performance?<br>
> ><br>
> ><br>
> > I have increased the number of children process or memory but didn't make a difference. The CPU is not too busy either, it's around 80% idle.<br>
> ><br>
> ><br>
> ><br>
> > I am running out of ideas. Anyone has any experience with this that they can share?<br>
> ><br>
> ><br>
> > Regards,<br>
> > Ali Pey<br>
> ><br>
> ><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>