<div>Thank you very much. Where can I get 3.9.1 version? I tried to look it up, couldn't find it.</div><div><br></div><div>Thank you.<br><div class="gmail_quote"><div>On Thu, Mar 9, 2017 at 9:24 PM Scheidler, Balázs <<a href="mailto:balazs.scheidler@balabit.com">balazs.scheidler@balabit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Mar 10, 2017 2:59 AM, "vijay amruth" <<a href="mailto:vijayamruth@gmail.com" class="gmail_msg" target="_blank">vijayamruth@gmail.com</a>> wrote:<br type="attribution" class="gmail_msg"><blockquote class="m_-5029956967762342918quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg">Hello everyone, Hope you are all doing great.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I am running into some issues with syslog-ng file descriptors, I have tried to set up ulimit -n value to 65535,</div><div class="gmail_msg"><b class="gmail_msg"><br class="gmail_msg"></b></div><div class="gmail_msg"><b class="gmail_msg">open files (-n) 65535</b></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">set the parameter to the follwoing in /etc/sysctl.conf, <b class="gmail_msg">fs.file-max = 512000</b></div><div class="gmail_msg"><b class="gmail_msg"><br class="gmail_msg"></b></div><div class="gmail_msg">and tried raising the value with syslog-ng --fd-limit <number>, I get the following error</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">####syslog-ng --fd-limit 8192</div><div class="gmail_msg">WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode Please update it to use the syslog-ng 3.5 format at your time of convinience, compatibility mode can operate less efficiently in some cases. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.;</div><div class="gmail_msg">WARNING: global: the default value of log_fifo_size() has changed to 10000 in syslog-ng 3.3 to reflect log_iw_size() changes for tcp()/udp() window size changes;</div><div class="gmail_msg">Using a global log-fetch-limit() option was removed, please use a per-source log-fetch-limit();</div><div class="gmail_msg">WARNING: window sizing for tcp sources were changed in syslog-ng 3.3, the configuration value was divided by the value of max-connections(). The result was too small, clamping to 100 entries. Ensure you have a proper log_fifo_size setting to avoid message loss.; orig_log_iw_size='0', new_log_iw_size='100', min_log_fifo_size='1300000'</div></div></div></blockquote></div></div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg"><div class="gmail_msg">These errors are not related to the FD limit setting, rather it tries you that your config version is older than your syslog-ng version, and as number of changes were made since the version you were previously using.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">You should either remove the offending options, or adjust their value.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">log-fifo-size needs to be at least 10000</div><div class="gmail_msg">log-iw-site should probably be removed</div><div class="gmail_msg">log-fetch-limit should probably be removed as well.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Once you are done with these changes, increase @version at the top of the file, then the warnings should be gone.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The FD limit is probably set properly, the warnings had nothing to do with that. You just need to make sure to add this parameter to the startup options.</div></div><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="m_-5029956967762342918quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">and I am unable to stop the syslog-ng service using systemctl, it immediately re-starts, I am using centOS 7.2, I have noticed few other people on the internet had the same problem, please advice, any help is appreciated.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><i class="gmail_msg">OS: CentOS 7.2</i></div><div class="gmail_msg"><i class="gmail_msg">Hardware : VM</i></div><div class="gmail_msg"><i class="gmail_msg">Problems : 1) Unable to increase the file descriptors for syslog-ng. 2) Unable to stop the service using systemctl stop command, it automatically restarts right after with a new pid.</i></div><div class="gmail_msg"></div></div></div></blockquote></div></div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_msg"><div class="gmail_msg">You seem to be using 3.5.x please upgrade to 3.9.1. We did a number of improvements wrt systemd in recent versions.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="m_-5029956967762342918quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div></div></div></blockquote></div></div></div></div>
______________________________________________________________________________<br class="gmail_msg">
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br class="gmail_msg">
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br class="gmail_msg">
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" class="gmail_msg" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,<div>Vijay Amrut.</div></div></div></div>