[SR-Users] rsyslog settings for good kamailio performance

Klaus Darilion klaus.mailinglists at pernau.at
Mon Sep 17 11:38:45 CEST 2012


That may be interesting too for you:
http://lists.kamailio.org/pipermail/devel/2008-October/016436.html

regards
Klaus

PS: If you test it, it would be great if you document in the Kamailio wiki.

On 14.09.2012 16:18, Albert Petit wrote:
> Hi,
>
> For load testing I would like to setup rsyslog so Kamailio logs are
> written asynchronously
>
> Would the following configuration be enough for that purpose in
> *rsyslog.conf*?
>
>
> #
> # Write log file in asynchronous mode and use an IO Buffer of 64 Kb
> # IO buffer config http://www.rsyslog.com/doc/rsyslog_conf_global.html
> # #
> $OMFileAsyncWriting on
> $OMFileFlushOnTXEnd off
> $OMFileFlushInterval 60
> $OMFileIOBufferSize 128k
>
>
> #----------------------------------------------------------------------
> ## kamailio
> ##----------------------------------------------------------------------
> $outchannel
> kamailio_log_rotation,/var/log/pocserverplatform/kamailio.log,524288000,/usr/local/bin/kamailio_log_rotation_script
> :programname, contains, "kamailio"      $kamailio_log_rotation
> local0.*                                $kamailio_log_rotation
>
>
>
> Apart of that is there a way to completely disable completely any logs
> of Kamailio to discard they're causing any performance issue?
>
> Thanks
> Albert
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list