[OpenSIPS-Users] Opensips logging issue?
Adelson O. Junior
jroliv at gmail.com
Mon May 3 15:48:43 CEST 2010
Hey Bogdan,
thanks for the answer. I got it.
I will try syslog async on lab, decrease the debug level and see how it
behaves.
Adelson.
On Mon, May 3, 2010 at 6:27 AM, Bogdan-Andrei Iancu
<bogdan at voice-system.ro>wrote:
> Hi Adelson,
>
> it is classic problem - if you have to much debugging (like debug=4) ,
> opensips will become slow due to syslog interaction (more or less syslog
> will drag opensips down).
>
> For this reason I do not recommend to run in a production env with
> debug>=4 level.
>
> Also check your syslog conf - you may gain some speed up if you set
> async writing into log file (see the ~ or - prefix to the log file in
> syslog.conf). Also man page for syslog will explain you better this ;)
>
> Regards,
> Bogdan
>
> Adelson O. Junior wrote:
> > Hello list,
> >
> > We were used to disable logs (debug=0) due to problems regarding to
> > old Openser versions, and this became standard when we were going to
> > migrate from Test to Production environments.
> > But in the last one we forget this setting, and the log was enabled in
> > Production Env, but no one was concerned about this, we though that
> > this problem didn' t happen in Opensips, but it did.
> >
> > So, the problem itself is:
> > The Opensips receive a INVITE packet, and took too long to forward.
> >
> > Looking in the log, we could see the lines about the processing of
> > INVITE (instantly forwarded). But the time between the packet arrival
> > (capturing by ngrep) and your lines in the log its about 2, 3, 4
> > seconds of difference.
> >
> > This problem, as I said we already faced it on openser versions, and
> > we only have disable logs (debug=0) in opensips.cfg, restart the
> > service and it got back to work normally.
> >
> > Did someone faced this problem?
> >
> > --
> > Adelson
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Adelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100503/72227a06/attachment-0001.htm
More information about the Users
mailing list