From owner-freebsd-questions Sun Mar 15 13:44:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07033 for freebsd-questions-outgoing; Sun, 15 Mar 1998 13:44:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06708 for ; Sun, 15 Mar 1998 13:44:11 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id NAA25106; Sun, 15 Mar 1998 13:43:30 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 15 Mar 1998 13:43:30 -0800 (PST) From: Doug White Reply-To: Doug White To: Vince Vielhaber cc: questions@FreeBSD.ORG Subject: Re: limits after kernel build In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 15 Mar 1998, Vince Vielhaber wrote: > > I've rebuilt the kernel on 2.2.5 to give me the maximums for a news > machine. When I check the limits at a shell prompt I get this: > > Resource limits (current): > cputime infinity secs > filesize infinity kb > datasize-cur 16384 kb > stacksize-cur 8192 kb > coredumpsize infinity kb > memoryuse-cur 30720 kb > memorylocked-cur 10240 kb > maxprocesses-cur 64 > openfiles-cur 64 > > When I did it on the 2.1.0 machine I got at least the full datasize. > I compared the two config files and there's really nothing that stands > out that would cause this difference. What am I missing, or what was > changed to cause this and how do I get it to give me the max values as > a default (for all of these parameters)? Welcome to login class limits :) See /etc/login.conf, and try releasing the limits using `ulimit' or `unlimit' before running your program. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message