[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201601102340.GEG57385.VSJFMFHOLQOFtO@I-love.SAKURA.ne.jp>
Date: Sun, 10 Jan 2016 23:40:30 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: w@....eu
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
socketpair@...il.com
Subject: Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes
Willy Tarreau wrote:
> In a shared environment, limiting to 256
> processes and 1024 FDs per process, you end up with "only" 1 GB of RAM which
> is more reasonable a on large shared system.
OK. I see no problems if we change example to something like
With a user enforcing the FD limit to 262144, this results in
1024 * 64kB + (26214464 - 1024) * 4kB = 1084MB.
Powered by blists - more mailing lists