From owner-freebsd-questions Mon Jan 21 3:14:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 664BC37B402 for ; Mon, 21 Jan 2002 03:14:50 -0800 (PST) Received: from sdn-ar-003dcwashp104.dialsprint.net ([206.133.21.64] helo=moo.holy.cow) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16ScPV-00078p-00 for freebsd-questions@freebsd.org; Mon, 21 Jan 2002 03:14:46 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 0D89150B8C; Mon, 21 Jan 2002 06:16:45 -0500 (EST) Date: Mon, 21 Jan 2002 06:16:45 -0500 From: parv To: f-q Subject: how to set resource limits Message-ID: <20020121111645.GA381@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message