[rsyslog-notify] Forum Thread: imtcp maxsessions - (Mode 'edit_topic')

noreply at adiscon.com noreply at adiscon.com
Thu Jun 11 02:55:50 CEST 2015


User: nottoosmart 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25672#p25672

Message: 
----------
What exactly does maxsessions do?

I was under the impression that is would limit the number of connections to
your rsyslog instance.
In my config I do not specify maxsessions.  According to the documentation,
the default is 200.  Clearly this is not obeyed:
netstat -anT | grep :514| grep ESTABLISHED|wc -l
14230

Here is some output from my /proc/PID/limits file for rsyslog which is
running:
cat /proc/351024/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        30720000000          30720000000          bytes
Max resident set          unlimited            unlimited            bytes
Max processes             127110               127110              
processes
Max open files            65535                65535                files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       127110               127110               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us


More information about the rsyslog-notify mailing list