From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 21:18:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83F6016A4CE for ; Thu, 10 Mar 2005 21:18:33 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E06643D31 for ; Thu, 10 Mar 2005 21:18:33 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1D9V3A-000Gip-Fc for freebsd-questions@freebsd.org; Thu, 10 Mar 2005 14:18:32 -0700 Mime-Version: 1.0 (Apple Message framework v619.2) Resent-Date: Thu, 10 Mar 2005 14:18:31 -0700 Message-Id: <00ce60d0ae670341dbd028c4cab204ff@shire.net> Resent-To: List Free Bsd Resent-Message-Id: <5dcf3786fa15a46f2caedb0bdaf91a82@shire.net> From: Chad Leigh -- Shire.Net LLC Resent-From: Chad Leigh -- Shire.Net LLC Date: Wed, 9 Mar 2005 20:46:56 -0700 To: List Free Bsd X-Mailer: Apple Mail (2.619.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Subject: how to change process limits? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 21:18:33 -0000 Hi The following is aon 5.3-RELEASE-p5 If I do a limits command I get # limits Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuse infinity kb memorylocked infinity kb maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kb # However, login.conf has (and no other classes defined) default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :vmemoryuse=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022: ------ I am wondering where the datasize and stacksize get set. These have limits when listed with "limits" but they do not appear to be getting set through login as the login.conf has unlimitged. I have looked at the output of sysctl -a with grep for various things (limit, datasize, 512 524288 etc and not seen any obvious candidates) I am trying to run stuff from the Coroner's Toolbox and am getting "Out of memory!" and so would like to try this with some adjusted process values. Any help on where these get set and how to change them would be appreciated. Thanks Chad _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"