From owner-freebsd-hackers Sat Feb 2 12:15:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.web.am (wizard.web.am [217.113.0.66]) by hub.freebsd.org (Postfix) with SMTP id 7815C37B402 for ; Sat, 2 Feb 2002 12:15:37 -0800 (PST) Received: (qmail 79398 invoked from network); 2 Feb 2002 20:28:45 -0000 Received: from unknown (HELO nm.web.am) (217.113.3.20) by wizard.web.am with SMTP; 2 Feb 2002 20:28:45 -0000 Received: (from nm@localhost) by nm.web.am (8.11.6/8.11.4) id g12KFqZ89383 for freebsd-hackers@freebsd.org; Sun, 3 Feb 2002 00:15:52 +0400 (AMT) (envelope-from nm) Date: Sun, 3 Feb 2002 00:15:52 +0400 From: Gaspar Chilingarov To: freebsd-hackers@freebsd.org Subject: fork rate limit Message-ID: <20020202201551.GA89061@mail.web.am> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Is it reasonable to administratively limit users' ability to call fork too other ? Users can take away too much CPU time even if you have limited them by login.conf 'cputime' limit - just forking lightweight processes too often. If it seems good thing to do, i'll try to code it and submit patches for -current. I think this limit must go to struct uidinfo, am i right ? Also i need to store per-user counters somewhere, can i place it there? -- Gaspar Chilingarov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message