From owner-freebsd-questions Tue Feb 12 23:11:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from badboy.mail.pas.earthlink.net (badboy.mail.pas.earthlink.net [207.217.120.20]) by hub.freebsd.org (Postfix) with ESMTP id 8847B37B402 for ; Tue, 12 Feb 2002 23:11:38 -0800 (PST) Received: from avocet.mail.pas.earthlink.net ([207.217.120.50] helo=avocet.prod.itd.earthlink.net) by badboy.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16aiLw-0000x9-00 for freebsd-questions@freebsd.org; Tue, 12 Feb 2002 11:12:32 -0800 Received: from sdn-ar-003dcwashp050.dialsprint.net ([206.133.21.34] helo=moo.holy.cow) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16aiLV-0005sm-00; Tue, 12 Feb 2002 11:12:06 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 8B3B750B8B; Tue, 12 Feb 2002 14:14:04 -0500 (EST) Date: Tue, 12 Feb 2002 14:14:04 -0500 From: parv To: Morsal Rodbay Cc: f-q Subject: Re: how to set resource limits Message-ID: <20020212191404.GA23041@moo.holy.cow> Mail-Followup-To: Morsal Rodbay , f-q References: <20020121111645.GA381@moo.holy.cow> <20020212115013.A51934@zigman.2y.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020212115013.A51934@zigman.2y.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20020212115013.A51934@zigman.2y.net>, wrote Morsal Rodbay thusly... > > On Mon, Jan 21, 2002 at 06:16:45AM -0500, parv wrote: ... > > i had read the man pages for limits, my shell (bash), and > > login.conf. in login.conf, everything is unlimited; current limits > > are... > > > > > > cputime infinity secs > > filesize infinity kb > > datasize 524288 kb ... > > > > - parv > > I have the same problem... login.conf has set datasizes to unlimited but > when I login through ssh it is set to 524288 kb.. :-( just so that there is no misunderstanding, my problem is not that datasize is limited to X kB (even though it's unlimited in /etc/login.conf; well those limits quite possibly be imposed by the kernel). my problem is how to set the limits so that i can use large programs -- like X, netscape etc. -- such that when programs start growing to say 100MB SIZE and RES, they will be killed. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message