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

Validate workers options on standalone mode #1577

Merged
merged 2 commits into from
May 22, 2017

Conversation

mururu
Copy link
Member

@mururu mururu commented May 19, 2017

No description provided.

@mururu mururu requested a review from repeatedly May 19, 2017 05:30
@repeatedly
Copy link
Member

Which configuation cause this error?

@mururu
Copy link
Member Author

mururu commented May 22, 2017

I assume this kind of situation.

$ cat worker.conf
<system>
  workers 3
</system>

$ bundle exec bin/fluentd -c worker.conf --no-supervisor
2017-05-22 17:23:49 +0900 [info]: reading config file path="worker.conf"
bundler: failed to load command: bin/fluentd (bin/fluentd)
Fluent::ConfigError: invalid number of workers (must be 1 or unspecified) on standalone mode
  /Users/yito/ruby/fluentd/lib/fluent/supervisor.rb:494:in `run_worker'
  /Users/yito/ruby/fluentd/lib/fluent/command/fluentd.rb:316:in `<top (required)>'
  bin/fluentd:5:in `require'
  bin/fluentd:5:in `<top (required)>'

@repeatedly repeatedly merged commit c11a3d7 into master May 22, 2017
@repeatedly
Copy link
Member

Okay!

@mururu mururu deleted the validate-standalone-worker-num branch May 22, 2017 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants