Input http plugin lost backlog parameter and defaults to 50


(Strakh) #1

I'm experiencing connection timeout sending bunches of requests to input http plugin (logstash v2.3.4).
strace shows that logstash listen call is made with backlog 50 which is default for jvm, while Puma::Server default is 1024.
It looks like the backlog parameter was lost during JRuby compilation process.
Here is strace output, and some links a found related to the issue.

[pid 38804] bind(43, {sa_family=AF_INET6, sin6_port=htons(8080), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
[pid 38804] listen(43, 50) = 0




(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.