Jeremy,

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.

Amit

 

 

From: sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Jeremy Kister <kamailio-01@jeremykister.com>
Date: Thursday, September 15, 2022 at 4:00 PM
To: sr-users@lists.kamailio.org <sr-users@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
https://jeremy.kister.net./

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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