Hey Bogdan,<br><br>thanks for the answer. I got it.<br>I will try syslog async on lab, decrease the debug level and see how it behaves.<br><br>Adelson.<br><br><br><br><div class="gmail_quote">On Mon, May 3, 2010 at 6:27 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Adelson,<br>
<br>
it is classic problem - if you have to much debugging (like debug=4) ,<br>
opensips will become slow due to syslog interaction (more or less syslog<br>
will drag opensips down).<br>
<br>
For this reason I do not recommend to run in a production env with<br>
debug>=4 level.<br>
<br>
Also check your syslog conf - you may gain some speed up if you set<br>
async writing into log file (see the ~ or - prefix to the log file in<br>
syslog.conf). Also man page for syslog will explain you better this ;)<br>
<br>
Regards,<br>
<font color="#888888">Bogdan<br>
</font><div><div></div><div class="h5"><br>
Adelson O. Junior wrote:<br>
> Hello list,<br>
><br>
> We were used to disable logs (debug=0) due to problems regarding to<br>
> old Openser versions, and this became standard when we were going to<br>
> migrate from Test to Production environments.<br>
> But in the last one we forget this setting, and the log was enabled in<br>
> Production Env, but no one was concerned about this, we though that<br>
> this problem didn' t happen in Opensips, but it did.<br>
><br>
> So, the problem itself is:<br>
> The Opensips receive a INVITE packet, and took too long to forward.<br>
><br>
> Looking in the log, we could see the lines about the processing of<br>
> INVITE (instantly forwarded). But the time between the packet arrival<br>
> (capturing by ngrep) and your lines in the log its about 2, 3, 4<br>
> seconds of difference.<br>
><br>
> This problem, as I said we already faced it on openser versions, and<br>
> we only have disable logs (debug=0) in opensips.cfg, restart the<br>
> service and it got back to work normally.<br>
><br>
> Did someone faced this problem?<br>
><br>
> --<br>
> Adelson<br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><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>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Adelson<br>