Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305609

Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes

From Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Newsgroups linux.kernel
Subject Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes
Date 2016-01-10 15:50 +0100
Message-ID <qPptD-5rE-13@gated-at.bofh.it> (permalink)
References <qKGEN-38h-3@gated-at.bofh.it> <qPkaC-28F-13@gated-at.bofh.it> <qPlzJ-2US-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] pipe: limit the per-user amount of pages allocated in  pipes Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2016-01-10 10:10 +0100
  Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes Willy Tarreau <w@1wt.eu> - 2016-01-10 11:40 +0100
    Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2016-01-10 15:50 +0100

csiph-web