[OpenSIPS-Users] Strange performance problem - SOLVED
Alejandro Ríos
alerios at debian.org
Wed Sep 14 23:32:26 CEST 2011
Alright, both the /var/log/messages file AND the opensips log file have to
be in async mode.
So, problem solved, thanks! :)
El 14 de septiembre de 2011 15:40, Alejandro Ríos <alerios at debian.org>escribió:
> 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/75b1b385/attachment.htm>
More information about the Users
mailing list