From owner-freebsd-questions Mon Aug 11 15:43:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA05281 for questions-outgoing; Mon, 11 Aug 1997 15:43:01 -0700 (PDT) Received: from CU-SeeMe.educ.utas.edu.au (cu-seeme.educ.utas.edu.au [144.6.16.20]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA05249 for ; Mon, 11 Aug 1997 15:42:39 -0700 (PDT) Received: from localhost (iaint@localhost) by CU-SeeMe.educ.utas.edu.au (8.8.5/8.8.5) with SMTP id IAA06975; Tue, 12 Aug 1997 08:46:08 +1000 (EST) Date: Tue, 12 Aug 1997 08:46:08 +1000 (EST) From: Iain Templeton To: sfuqua@fuquasc.wab.wku.edu cc: freebsd-questions@FreeBSD.ORG Subject: Re: kaffe and login.conf In-Reply-To: <199708111525.KAA01166@fuquasc.wab.wku.edu.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 11 Aug 1997 sfuqua@fuquasc.wab.wku.edu wrote: > The login.conf file from the cdrom 3.0 causes kaffe to die and dump > core with a message about the "heapsize not set", or something of that > nature, on both the 3.0 and 2.2.2. I have the LD_LIBRARY_PATH set, as > mentioned in bug 3383, and the kaffe works fine on 2.2.2 if I remove > the login.conf file from /etc. I haven't had a chance to see if > removing login.conf will let kaffe work on 3.0. Have I missed a > parameter I need to set in login.conf in order to run kaffe? > I found I had to set the heapsize and other memory sizes to largish amounts otherwise (I assume) that kaffe couldn't allocate its memory because it went over its process limits. This is the interesting part of my login.conf The datasize-cur,stacksize-cur,memorylock-cur,memoryuse-cur seem to be the parameters that make all the difference. (This took me a while to find the correct values to make it work). default:\ :cputime=infinity:\ :datasize-cur=32M:\ :stacksize-cur=24M:\ :memorylocked-cur=20M:\ :memoryuse-cur=40M:\ :filesize=infinity:\ :coredumpsize=infinity:\ :maxproc-cur=64:\ :openfiles-cur=64:\ :priority=0:\ :requirehome@:\ :umask=022:\ :tc=auth-defaults: