From owner-freebsd-questions@FreeBSD.ORG Mon Jun 28 15:06:37 2004 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 8575E16A4CE for ; Mon, 28 Jun 2004 15:06:37 +0000 (GMT) Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A35643D1D for ; Mon, 28 Jun 2004 15:06:36 +0000 (GMT) (envelope-from dave@raven.za.net) Received: from root by chaos.evolve.za.net with scanned-ok (Exim 3.36 #1) id 1BexiF-000MZh-00 for freebsd-questions@freebsd.org; Mon, 28 Jun 2004 17:06:27 +0200 Received: from [165.165.46.223] (helo=lucy) by chaos.evolve.za.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 1BexiE-000MZW-00 for freebsd-questions@freebsd.org; Mon, 28 Jun 2004 17:06:26 +0200 From: "Dave Raven" To: Date: Mon, 28 Jun 2004 17:06:19 +0200 Message-ID: <02c501c45d21$79741090$3200000a@lucy> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300 Importance: Normal X-Virus-Scanned: by Opteq - www.optec.co.za Subject: Datasize change 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: Mon, 28 Jun 2004 15:06:37 -0000 Hi all, I'm having a problem where I need to allow a proccess to use up to 1.5gig of memory, however its going to be a problem to recompile my = kernel. I know that these options would solve the problem: options MAXDSIZ =3D "(1536 * 1024 * 1024)" options DFLDSIZ =3D "(1536 * 1024 * 1024)" However, I'm wondering if there is a way to do it with login.conf = (limits) - here you can see the limits when datasize is unspecified (using kernel default) - however could I increase it through that mechanism? Or is = there another way I could do this... 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 7390 openfiles 32768 sbsize infinity bytes vmemoryuse infinity kb Thanks in advance Dave