# How do you set net.core.somaxconn in the docker container?

**URL:** <https://meta.discourse.org/t/how-do-you-set-net-core-somaxconn-in-the-docker-container/64577>\
**Category:** Self-hosting\
**Created:** [15 Giugno 2017, 9:29pm UTC](https://meta.discourse.org/t/how-do-you-set-net-core-somaxconn-in-the-docker-container/64577 "2017-06-15T21:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)\
**Post date:** [12 Novembre 2018, 9:51am UTC](https://meta.discourse.org/t/how-do-you-set-net-core-somaxconn-in-the-docker-container/64577/7 "2018-11-12T09:51:59Z")

</div>

I noticed the following warning in my rebuild log:

` # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.`

I was doing some reading and [found some suggestions to raise this value](https://www.techandme.se/performance-tips-for-redis-cache-server/). Should I? Will this help performance of our platform?

---

_[View the full topic](https://meta.discourse.org/t/how-do-you-set-net-core-somaxconn-in-the-docker-container/64577)._
