From owner-freebsd-stable@FreeBSD.ORG Sat Oct 25 22:53:53 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1D81065676 for ; Sat, 25 Oct 2008 22:53:52 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from barracuda.ethostream.com (barracuda.ethostream.com [204.15.100.249]) by mx1.freebsd.org (Postfix) with ESMTP id AA9158FC18 for ; Sat, 25 Oct 2008 22:53:52 +0000 (UTC) (envelope-from marcus@freebsd.org) X-ASG-Debug-ID: 1224974232-56ae00190000-2ZKgNJ X-ASG-Debug-ID: 1224974232-56ae00190000-2ZKgNJ X-Barracuda-URL: http://204.15.100.249:8000/cgi-bin/mark.cgi Received: from relay.ethostream.com (www2.ethostream.com [204.15.100.237]) by barracuda.ethostream.com (Spam Firewall) with ESMTP id 02B6D649FCE; Sat, 25 Oct 2008 17:37:12 -0500 (CDT) Received: from relay.ethostream.com (www2.ethostream.com [204.15.100.237]) by barracuda.ethostream.com with ESMTP id jT7mv8Mfo79zV6hE; Sat, 25 Oct 2008 17:37:12 -0500 (CDT) Received: from ethoserver.ezone.net (unknown [66.172.159.54]) by relay.ethostream.com (Postfix) with ESMTPA id BCF0AFC002; Sat, 25 Oct 2008 17:37:09 -0500 (CDT) Received: from [10.0.0.134] (unknown [10.0.0.134]) by ethoserver.ezone.net (Postfix) with ESMTP id A324F350680; Sat, 25 Oct 2008 17:37:08 -0500 (CDT) Message-ID: <49039F94.2040707@freebsd.org> Date: Sat, 25 Oct 2008 18:37:08 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Chris Peterson X-ASG-Orig-Subj: Re: kern.maxdsiz on amd63 with i386 binaries References: <9754CE37-FAAA-4E52-B41C-8DFFF7DC30C0@lamness.info> <49029AAD.1020700@freebsd.org> <135DB3FD-8241-495F-A977-849F8CB47638@lamness.info> In-Reply-To: <135DB3FD-8241-495F-A977-849F8CB47638@lamness.info> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: www2.ethostream.com[204.15.100.237] X-Barracuda-Start-Time: 1224974233 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at ethostream.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.6 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.8732 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Mailman-Approved-At: Sun, 26 Oct 2008 00:08:16 +0000 Cc: stable@freebsd.org Subject: Re: kern.maxdsiz on amd63 with i386 binaries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 22:53:53 -0000 Chris Peterson wrote: > Thanks Joe, that did it. > > Out of curiosity, I don't see any of the compat tree in > /boot/defaults/loader.conf, is there any place this is documented > besides kernel sources? If not then I guess I should give something back > to the community and change that :) Not that I found. I typically find stuff like this by running sysctl -a and grepping for familiar patterns. Joe > > Regards, > Chris Peterson > > On Oct 24, 2008, at 9:03 PM, Joe Marcus Clarke wrote: > >> Chris Peterson wrote: >>> Hello, >>> >>> I've got a handful of i386 boxes, and a handful of amd64 boxes running a >>> 32-bit application, the reasons for this exact configuration mystify me >>> as well as the deployment predates my time in the environment. Now that >>> the dataset the application is loading is rapidly approaching 512MB >>> we're starting to tweak kern.maxdsiz and kern.dfldsiz to 1GB. >>> >>> The i386 boxes are doing great, but we hit an issue with the amd64 >>> machines in that 64bit apps seem to work fine, but the 32bit apps >>> running on the amd64 machines fail to be able to use more than the i386 >>> default of 512MB no matter what we set kern.maxdsiz to. I've also tried >>> compiling it into the kernel, which results in the same issue. >>> >>> I tried starting the app with "limits -d 1090519040", and it seems to >>> fail as well. Limits does show the proper value for datasize of >>> 1064960 kB. >>> >>> We're locked into 32-bit binaries for this app at the moment thanks to >>> some uh... interesting libraries it uses, so the usual option of >>> recompile isn't available. I'd like to avoid traveling from San Jose to >>> Seattle, then Virginia, then Munich to reinstall the amd64 machines with >>> i386 machines if at all possible. >>> >>> Uh... help? >> >> Have you tried setting compat.ia32.maxdsiz? I believe this will do what >> you want. >> >> Joe >> >> -- >> Joe Marcus Clarke >> FreeBSD GNOME Team :: gnome@FreeBSD.org >> FreeNode / #freebsd-gnome >> http://www.FreeBSD.org/gnome > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome