From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 21:23:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CF9416A4ED for ; Tue, 1 Feb 2005 21:23:01 +0000 (GMT) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FB6543D58 for ; Tue, 1 Feb 2005 21:23:00 +0000 (GMT) (envelope-from simon@optinet.com) Received: (qmail 21879 invoked by uid 110); 1 Feb 2005 21:22:59 -0000 Received: from ool-182f946b.dyn.optonline.net (HELO win2kpc1) (simon%optinet.com@24.47.148.107) by cobra.acceleratedweb.net with SMTP; 1 Feb 2005 21:22:59 -0000 From: "Simon" To: "freebsd-questions@freebsd.org" Date: Tue, 01 Feb 2005 16:29:41 -0500 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2661) For Windows 2000 (5.0.2195;4) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20050201212300.3FB6543D58@mx1.FreeBSD.org> Subject: User Limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 21:23:01 -0000 Hello Folks, I can't seem to find a way to limit FD per UID nor a way to limit memory per UID Both of these can only be applied per process basis. Is there a reason why FreeBSD still doesn't support these limits per UID? it would very useful to be able to limit per UID as well as per process. My current problem is that I have some user processes which need, let's say, 50mb of memory, but I also want to make sure that no single user is using more than 500mb of memory at any given time. Unfortunately, I also need to give users ability to spawn more than 10 processes and without per UID limits, if I set a limit of 20 processes per UID, 20 x 50mb would yield usage over 2x that of 500mb. PS: I wasn't sure if I could address this on freebsd-arch, so it's going here. Thank you in advance! -Simon