logstash-best-practice-cn
logstash-best-practice-cn copied to clipboard
Update logstash_forwarder.md
no,你的写法有问题。这个issue讲的是LogStash::Pipeline如果堵塞(可能因为filter不行也可能因为output不行),会影响到LogStash::Input::Tcp以及lumberjack等基于tcp的插件,因为sizedqueue不会通知前面给客户端发ack。所以input插件会oom。因果你搞反了。
对啊,我的indexer的其中一个input是lumberjack,其余是redis或者其他的tcp,output是es。它在压力大的时候确实pipeline阻塞了,然后它挂掉了。由于它作为indexer在后端,因此所有经过它的event都无法到达es....是我哪理解错了么...
On Mon, Aug 3, 2015 at 5:03 PM, 饶琛琳 [email protected] wrote:
no,你的写法有问题。这个issue讲的是LogStash::Pipeline如果堵塞(可能因为filter不行也可能因为output不行),会影响到LogStash::Input::Tcp以及lumberjack等基于tcp的插件,因为sizedqueue不会通知前面给客户端发ack。所以input插件会oom。因果你搞反了。
— Reply to this email directly or view it on GitHub https://github.com/chenryn/logstash-best-practice-cn/pull/15#issuecomment-127169963 .