Which of the following lines will fail?

$OMFileIOBufferSize 32k
$MainMsgQueueSize 10k
$MaxOpenFiles 2k

It's a trick question -- only the IOBufferSize accepts the 'k' size modifier.  
The following is the working configuration:

$OMFileIOBufferSize 32k
$MainMsgQueueSize 10240                                                         
                                                                                
            
$MaxOpenFiles 2048

While I realize that a careful reading of 
http://www.rsyslog.com/doc/rsyslog_conf_global.html does outline exactly which 
variables accept a size modifier, it's a bit much to expect everyone to scour 
that file for each parameter to determine if it's safe to use. It would be 
really nice if the usage of the size modifiers was consistent throughout the 
configuration file.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other 
randomness

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

Reply via email to