Skip to content

fluent does not stop child processes #16

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

Open
sohaibmaroof opened this issue Feb 5, 2019 · 1 comment
Open

fluent does not stop child processes #16

sohaibmaroof opened this issue Feb 5, 2019 · 1 comment

Comments

@sohaibmaroof
Copy link

sohaibmaroof commented Feb 5, 2019

Hi, I am trying to use in_multiprocess plugin, it works fine and can start child fluentd processe, but it does not stop it when I try to stop the parent fluentd process from fluentd-ui
Just trying to test it by setting up one child fluentd

Here are my config files:
Parent fluend.conf

<source>
  @type multiprocess
  <process>
    cmdline -c ./Users/sohaib.maroof/.fluentd-ui/fluentd_child1/fluent.conf --daemon ./Users/sohaib.maroof/.fluentd-ui/fluentd_child1/fluent.pid --log ./Users/sohaib.maroof/.fluentd-ui/fluentd_child1/fluent.log
  </process>
</source>

Child fluentd.conf

<source>
  @type forward
  port 24224
</source>

<filter **.*>
  @type stdout
</filter>

 <match *.**>
    @type elasticsearch_dynamic
    #elasticsearch host IP/domain
    hosts "es_host"
    index_name fluentd-${tag_parts[1]}
    buffer_chunk_limit 9MB
    flush_interval 1s
    #buffer_chunk_size 1MB
    buffer_type memory
    chunk_limit_size 9MB
    num_threads 20
</match>
@sohaibmaroof
Copy link
Author

@repeatedly can you please help me figure out the issue?

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

No branches or pull requests

1 participant