Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate a warning during config parsing for potentially blocking operations #3549

Open
anirbans opened this issue Mar 18, 2019 · 0 comments

Comments

@anirbans
Copy link

When a large timeout value is set for the action queue and rsyslog is configured to forward logs to a remote server using TCP, it can lead to lockups and blocking of critical processes when the remote server becomes unavailable for a long time. The default value of the timeout has been reduced to 50 ms for the action queue but it can always be configured to have a higher value using the rsyslog config file. The default value of the timeout for the main queue is already high at 2 sec.

rsyslog should generate a warning when any user overrides the default timeout of the action queue and configures it with a high value of the order of few thousand milliseconds. ssh and other critical processes can block resulting in system wide lockups. This has also been reported by other users.

This ticket is raised to implement the warning capability into rsyslog during configuration parsing when such unsafe values are configured.

This applies to all versions of rsyslog but primarily for rsyslog v8.

@rgerhards rgerhards added this to the v8.1904 milestone Mar 18, 2019
@rgerhards rgerhards modified the milestones: v8.1904, v8.1905 Apr 15, 2019
@rgerhards rgerhards modified the milestones: v8.1905, v8.1907 May 17, 2019
@rgerhards rgerhards modified the milestones: v8.1907, v8.1908 Jul 17, 2019
@rgerhards rgerhards modified the milestones: v8.1908, v8.1910 Aug 19, 2019
@rgerhards rgerhards modified the milestones: v8.1910, v8.1911 Oct 1, 2019
@rgerhards rgerhards modified the milestones: v8.1911, v8.2001 Nov 8, 2019
@rgerhards rgerhards modified the milestones: v8.2001, v8.2002 Jan 12, 2020
@rgerhards rgerhards modified the milestones: v8.2002, v8.2004 Feb 28, 2020
@rgerhards rgerhards modified the milestones: v8.2004, v8.2008.0 Apr 28, 2020
@rgerhards rgerhards modified the milestones: v8.2008, v8.2010 Aug 24, 2020
@rgerhards rgerhards removed this from the v8.2010 milestone Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants