lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ