Re: [rsyslog] rsyslog-8.22 SIGSEGV

2019-02-05 Thread Amrut Shetty
Following is the backtrace obtained through gdb, #0 strlen () at ../sysdeps/arm/armv6t2/strlen.S:85 85 ../sysdeps/arm/armv6t2/strlen.S: No such file or directory. [Current thread is 1 (LWP 15228)] (gdb) (gdb) bt #0 0xb6ddb964 in ?? () #1 0x0048f64e in MsgGetProp (pMsg=, pTpe=0x0, pProp=,

Re: [rsyslog] Rsyslog vs syslog-ng

2019-02-05 Thread Dave Caplinger via rsyslog
Hi Vishal, It's been many years since we switched from (open source) syslog-ng to rsyslog. We did it because we were struggling with configuration complexity and performance issues, and also because Balabit supported certain features (such as local disk buffering) only in the commercial-only

Re: [rsyslog] rsyslog-8.22 SIGSEGV

2019-02-05 Thread David Lang via rsyslog
config and debug log would help. a core dump may end up being needed. David Lang On Tue, 5 Feb 2019, Amrut Shetty wrote: Hi, I'm observing segfaults with rsyslog version 8.22. Segfault is observed at strlen function for passing NULL pointer, pRes pointer is passed to strlen. In the code I

Re: [rsyslog] rsyslog impstats disk-assisted queue size/enqueued counters

2019-02-05 Thread David Lang via rsyslog
I believe that with the old syntax, you have to set all the values before you load the module, not after. This is one of the reasons why you should really use the new syntax. It makes it much clearer what you are doing. David Lang On Tue, 5 Feb 2019, Peter Viskup via rsyslog wrote: The

Re: [rsyslog] Rsyslog vs syslog-ng

2019-02-05 Thread Rich Megginson via rsyslog
On 2/5/19 2:40 AM, Peter Viskup via rsyslog wrote: To be honest, the main reason Debian chosen rsyslog as primary syslog daemon was that it does work with "standard syslog" configuration (more information can be read on https://wiki.debian.org/Rsyslog ). Nevertheless in newest versions of

[rsyslog] rsyslog-8.22 SIGSEGV

2019-02-05 Thread Amrut Shetty
Hi, I'm observing segfaults with rsyslog version 8.22. Segfault is observed at strlen function for passing NULL pointer, pRes pointer is passed to strlen. In the code I can see that there is no NULL check for this pointer before passing it at line 3721 in runtime/msg.c file. And also there

Re: [rsyslog] rsyslog impstats disk-assisted queue size/enqueued counters

2019-02-05 Thread Peter Viskup via rsyslog
The load and configuration is done like this: $ModLoad impstats $PStatInterval 15 $PStatSeverity 7 Peter On Sun, Jan 20, 2019 at 5:09 PM Emmanuel Seyman wrote: > > * Alberto [20/01/2019 14:27] : > > > > How do you load the module? > > I use: > > module(load="impstats" >interval="86400"

Re: [rsyslog] Rsyslog vs syslog-ng

2019-02-05 Thread Peter Viskup via rsyslog
To be honest, the main reason Debian chosen rsyslog as primary syslog daemon was that it does work with "standard syslog" configuration (more information can be read on https://wiki.debian.org/Rsyslog ). Nevertheless in newest versions of rsyslog you are always recommended to move to