Skip to content

Multi Process Workers doesn't work #25

@vkakhnych

Description

@vkakhnych

We have a simple config:

<system>
  workers 4
</system>

<source>
  @type beats
  bind 127.0.0.1
</source>

But running top I see load on the only one worker. It hits 100% CPU consuming and we're loosing logs.

top - 11:17:00 up 324 days, 16:45,  1 user,  load average: 13.00, 11.62, 10.53
Tasks: 408 total,   1 running, 315 sleeping,   0 stopped,   0 zombie
Cpu(s): 50.9%us,  2.9%sy,  0.0%ni, 45.4%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Mem:  64463604k total, 64052784k used,   410820k free,  2680436k buffers
Swap:        0k total,        0k used,        0k free, 32854600k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                        
11142 td-agent  20   0  608m  92m 8560 S 99.6  0.1  52:54.93 ruby                                                                                                                                           
11144 td-agent  20   0  255m  31m 8220 S  0.3  0.1   0:02.03 ruby                                                                                                                                           
11137 td-agent  20   0  232m  24m 4588 S  0.0  0.0   0:00.57 ruby                                                                                                                                           
11143 td-agent  20   0  255m  31m 8220 S  0.0  0.1   0:02.04 ruby                                                                                                                                           
11145 td-agent  20   0  255m  31m 8244 S  0.0  0.0   0:02.03 ruby

Amazon Linux ver. 1,

fluent-plugin-beats (1.1.0)
fluentd (1.3.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions