[SR-Users] Log levels severely impacts performance

Amit amit at brytecall.com
Fri Sep 16 04:50:56 CEST 2022

Thank you for sharing your experience.
I did a little digging on multitool and only found the manpage, but not very much on how to install it. It doesn’t seem to be available via the yum package manager
Would you mind sharing some info on installation and how you run it to capture stderr and stdout?
Thank you and much appreciated.

From: sr-users <sr-users-bounces at lists.kamailio.org> on behalf of Jeremy Kister <kamailio-01 at jeremykister.com>
Date: Thursday, September 15, 2022 at 4:00 PM
To: sr-users at lists.kamailio.org <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Log levels severely impacts performance
On 9/13/2022 10:18 PM, Amit wrote:
> Does anyone have any experience with this or have any suggestions? We
> are finding it difficult to scale as a result of this issue.

I was just dealing with this behavior. I was logging to a local rsyslog
and rsyslog was just writing to a file on a local ssd (unsynced).

It's a ton of log.  But meh.

I disabled syslog entirely and enabled log_stderror = yes

Then I just captured stdout+stderr via multilog and write it to a file
on the disk.  The problem went away.

I think there is some huge overhead in the way kam packages up the log
and sends it out to syslog.


Jeremy Kister

Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users at lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220916/1757d01e/attachment.htm>

More information about the sr-users mailing list