Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 1999 12:41:14 -0500
From:      tich@ma.ikos.com (Richard Cownie)
To:        freebsd-hardware@FreeBSD.ORG, freebsd-kernel@FreeBSD.ORG
Subject:   fix for process > 2GB
Message-ID:  <199902011741.MAA08533@slide.ikos.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I had to make a change to 3.0-RELEASE to get process size 
limit > 2GB to work:

In /usr/src/sys/kern/imgact_elf.c:

old:
     addr = 2L*MAXDSIZ; /* May depend on OS type XXX */

new:
     addr = (MAXDSIZ+(128<<20)); /* Fix for MAXDSIZ > 2GB */

With this change and these options:

options "MAXDSIZ=(3584UL*1024*1024)"
options "DFLDSIZ=(3584UL*1024*1024)"

I can now run a 3.5GB process on my SC450NX with 2 Xeon-400, 2GB DRAM
(though I've only run a simple test case so far, I haven't bashed
it hard).

Regards
     Richard Cownie

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902011741.MAA08533>