[Users] xlog performance

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Nov 20 12:17:52 CET 2006


This went out without the content ....

On 11/13/06 11:43, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 11/07/06 15:20, Max Gregorian wrote:
>> Hmm, useful tip. Well worth noting for performance reasons.
>>  
>> I wonder, do you know if this could have an effect on how information 
>> is logged to the log file?
Basically syslog should take care of ordering, but I have no clue if it 
is so. Some data may be lost, but the application is still running. I 
think is similar to mysql insert delayed, which returns immediately and 
writes data when it can. If the syslog/mysql crashes then some data can 
be lost.

Cheers,
Daniel


>>  
>> I am logging in real-time in synchronous mode to a custom log file 
>> (using quite a few xlog statements in a routing block) on one of our 
>> servers as well, and I am seeing fragmentation in the log messages 
>> under high traffic. Timestamps and log messages all skewered and 
>> mangled together.
>>
>>  
>> On 11/6/06, *Daniel-Constantin Mierla* <daniel at voice-system.ro 
>> <mailto:daniel at voice-system.ro>> wrote:
>>
>>     I guess it is related to your syslog daemon rather than to xlog
>>     functions. Is your syslog configured asynchronous?
>>
>>     http://voice-system.ro/docs/ser-syslog/ar01s06.html
>>
>>     Cheers,
>>     Daniel
>>
>>
>>     On 11/06/06 05:05, Christian Schlatter wrote:
>>     > I recently did some performance testing with openser 1.1 and
>>     stumbled
>>     > over a rather strange thing. The xlog command from the xlog module
>>     > seems to cause a huge performance penalty.
>>     >
>>     > I have a rather complex config with many routing blocks and mysql
>>     > queries with which I can achieve up to 100 calls per second
>>     > (authenticated INVITEs) per openser instance. As soon as I add 
>> *one*
>>     > xlog statement to the config the cps rate goes down to 25, and the
>>     > average SIP message response time goes up from <10ms to >200ms.
>>     >
>>     > Has anyone else observed this behavior or could this issue be 
>> caused
>>     > by a misconfiguration?
>>     >
>>     > thanks,
>>     > Christian
>>     >
>>     
>> ------------------------------------------------------------------------
>>     >
>>     > _______________________________________________
>>     > Users mailing list
>>     > Users at openser.org <mailto:Users at openser.org>
>>     > http://openser.org/cgi-bin/mailman/listinfo/users
>>     >
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at openser.org <mailto:Users at openser.org>
>>     http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list