Re: [PATCH] pipe: limit the per-user amount of pages allocated in pipes
From: Tetsuo Handa
Date: Sun Jan 10 2016 - 09:41:55 EST
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.