From owner-freebsd-stable Wed Aug 16 12:51: 5 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.10]) by hub.freebsd.org (Postfix) with ESMTP id 9D07B37B538 for ; Wed, 16 Aug 2000 12:51:00 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca ([204.244.186.218]) by mail2.uniserve.com with esmtp (Exim 3.13 #1) id 13P9D8-00081I-00; Wed, 16 Aug 2000 12:50:50 -0700 Date: Wed, 16 Aug 2000 12:50:46 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: Roman Shterenzon Cc: freebsd-stable@freebsd.org Subject: Re: your mail In-Reply-To: <966430591.399a8f7f98837@webmail.harmonic.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 16 Aug 2000, Roman Shterenzon wrote: > Hi, > > In the shipping param.c file the maxfilesperproc is made equal to overall > maxfiles, e.g. kern.maxfiles=kern.maxfilesperproc. > This creates a possibility of DoS, or I'm missing something? > Perhaps it's better to leave some minimal window for other processes? > Or even make it fraction of maxfiles? param.c isn't really relevant. You can change these limits with sysctl and login classes (login.conf). If you are concern about local DoS, you will setup login classes, and/or use sysctl to change it. Tom Uniserve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message