[lkml]   [2017]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

> On 2017年9月9日, at 上午6:13, Cong Wang <> wrote:
> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan
> <> wrote:
>> Different namespace application might require different maximal number
>> of TCP sockets independently of the host.
> So after your patch we could have N * net->ipv4.sysctl_tcp_max_orphans
> in a whole system, right? This just makes OOM easier to trigger.

From my understanding, before the patch, we had N * net->ipv4.sysctl_tcp_max_orphans,
and after the patch, we could have ns1.sysctl_tcp_max_orphans + ns2.sysctl_tcp_max_orphans
+ ns3.sysctl_tcp_max_orphans, is that right? Thanks for your reviewing.

 \ /
  Last update: 2017-09-09 03:26    [W:0.044 / U:3.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site