# Input http plugin lost backlog parameter and defaults to 50

**URL:** <https://discuss.elastic.co/t/input-http-plugin-lost-backlog-parameter-and-defaults-to-50/72900>\
**Category:** Logstash\
**Created:** [January 26, 2017, 1:08pm UTC](https://discuss.elastic.co/t/input-http-plugin-lost-backlog-parameter-and-defaults-to-50/72900 "2017-01-26T13:08:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![strakh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/strakh/32/9391_2.png) [@strakh](https://discuss.elastic.co/u/strakh)\
**Post date:** [January 26, 2017, 1:08pm UTC](https://discuss.elastic.co/t/input-http-plugin-lost-backlog-parameter-and-defaults-to-50/72900/1 "2017-01-26T13:08:09Z")

</div>

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

> <https://github.com/logstash-plugins/logstash-input-http/blob/main/lib/logstash/inputs/http.rb#L19>

> <https://github.com/puma/puma/blob/master/lib/puma/binder.rb#L102>

> **[ServerSocket](https://github.com/jruby/jruby/wiki/ServerSocket#bind-and-listen-and-backlogs)**
>
> JRuby, an implementation of Ruby on the JVM. Contribute to jruby/jruby development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2017, 1:08pm UTC](https://discuss.elastic.co/t/input-http-plugin-lost-backlog-parameter-and-defaults-to-50/72900/2 "2017-02-23T13:08:14Z")

</div>

Closed on February 23, 2017, 1:08pm UTC

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