[OpenSIPS-Users] Strange performance problem

Alejandro Ríos alerios at debian.org
Wed Sep 14 22:40:12 CEST 2011


Yes, I already had tried changing syslog settings to async mode, but the
errors kept showing:

local0.*
-/var/log/opensips.log

Then I set log_stderr=yes and redirected output to a log file, and the
errors were gone.

I'm using Centos 5.6, maybe a syslog issue on that version?

Thanks again :)



2011/9/14 Brett Nemeroff <brett at nemeroff.com>

> 2011/9/14 Alejandro Ríos Peña <aleriospresidente at gmail.com>
>
>> Hi guys,
>>
>> You were right! shutting down syslog logging resulted in clean successful
>> tests.  I still don't have the fix for this, but will post it here when I
>> do.
>>
>
> It's an easy fix
>
> Go into your syslog and put a "-" before the logfile name for the log that
> opensips writes to. For example if you have an entry that looks like
>
> This is just to give you an idea, you'll need to be sure you edit the right
> line..
>
>
>
> *.=info;*.=notice;*.=warning;\
>         auth,authpriv.none;\
>         cron,daemon.none;\
>         mail,news.none          /var/log/messages
>
>
> Change it to this:
>
> *.=info;*.=notice;*.=warning;\
>         auth,authpriv.none;\
>         cron,daemon.none;\
>         mail,news.none          -/var/log/messages
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110914/2e667e1d/attachment-0001.htm>


More information about the Users mailing list