From owner-freebsd-questions Tue Feb 12 11:37:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.188.158]) by hub.freebsd.org (Postfix) with ESMTP id 127CB37B417 for ; Tue, 12 Feb 2002 11:37:14 -0800 (PST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.6/8.11.4) id g1CJZW139562; Tue, 12 Feb 2002 14:35:32 -0500 (EST) (envelope-from lowell@world.std.com) X-Authentication-Warning: be-well.ilk.org: lowell set sender to lowell@world.std.com using -f To: freebsd-questions@freebsd.org Subject: Re: how to set resource limits References: <20020121111645.GA381@moo.holy.cow> <20020212115013.A51934@zigman.2y.net> From: Lowell Gilbert Date: 12 Feb 2002 14:35:31 -0500 In-Reply-To: <20020212115013.A51934@zigman.2y.net> Message-ID: <44k7ticx30.fsf@lowellg.ne.mediaone.net> Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Morsal Rodbay writes: > On Mon, Jan 21, 2002 at 06:16:45AM -0500, parv wrote: > > last time i set the limits in /etc/login.conf, i couldn't start the > > X server (not enough memory allocation). i don't want to repeat my > > previous mistake as to start X again it involved 2-3 reboots. > > > > a few minutes ago, netscape 4.79 swelled to about >500M in both SIZE > > and RES as indicated by top(1) (everything slowed, had to kill it). > > > > 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 > > stacksize 65536 kb > > coredumpsize infinity kb > > memoryuse infinity kb > > memorylocked infinity kb > > maxprocesses 1861 > > openfiles 3722 > > sbsize infinity bytes > > > > > > will (top(1)) "RES" be affected by changing (login.conf(5)) > > "memoryuse" and "memorylocked" eventually, and "SIZE" by "datasize", > > "filesize", and "stacksize"? > > > > how should i start setting/testing resource limits again? > > > > - 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.. :-( Isn't that just the kernel limit? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message