We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When out_file is configured with append=true and workers > 1, it tries to confirm that the inter-worker lock is available.
out_file
append=true
workers > 1
This check can cause an unexpected exception during startup if it's combined with ranged worker directive (such as <worker 0-2>)
<worker 0-2>
fluentd.conf
fluentd -c fluentd.conf
Fluentd should start up without errors.
- Fluentd version: v1.15.2 - TD Agent version: N/A - Operating system: N/A - Kernel version: N/A
<system> workers 2 </system> <worker 0-1> <source> @type dummy tag test.log </source> <match test.**> @type file path output.log append true <buffer> @type memory </buffer> </match> </worker>
out_file.rb:193:in `configure': must set FLUENTD_LOCK_DIR on multi-worker append mode (Fluent::InvalidLockDirectory)
No response
The text was updated successfully, but these errors were encountered:
fujimotos
Successfully merging a pull request may close this issue.
Describe the bug
When
out_file
is configured withappend=true
andworkers > 1
,it tries to confirm that the inter-worker lock is available.
This check can cause an unexpected exception during startup if it's
combined with ranged worker directive (such as
<worker 0-2>
)To Reproduce
fluentd.conf
fluentd -c fluentd.conf
Expected behavior
Fluentd should start up without errors.
Your Environment
Your Configuration
Your Error Log
out_file.rb:193:in `configure': must set FLUENTD_LOCK_DIR on multi-worker append mode (Fluent::InvalidLockDirectory)
Additional context
No response
The text was updated successfully, but these errors were encountered: