From owner-freebsd-stable@FreeBSD.ORG Sat Oct 25 03:55:55 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 53E1E10656CD for ; Sat, 25 Oct 2008 03:55:55 +0000 (UTC) (envelope-from chris@lameness.info) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 346358FC14 for ; Sat, 25 Oct 2008 03:55:55 +0000 (UTC) (envelope-from chris@lameness.info) Received: by rv-out-0506.google.com with SMTP id b25so1092308rvf.43 for ; Fri, 24 Oct 2008 20:55:54 -0700 (PDT) Received: by 10.141.49.6 with SMTP id b6mr1658036rvk.89.1224905407720; Fri, 24 Oct 2008 20:30:07 -0700 (PDT) Received: from ?10.1.2.144? ([76.14.77.139]) by mx.google.com with ESMTPS id g31sm2746481rvb.7.2008.10.24.20.30.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Oct 2008 20:30:06 -0700 (PDT) Message-Id: <9754CE37-FAAA-4E52-B41C-8DFFF7DC30C0@lamness.info> To: stable@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Fri, 24 Oct 2008 20:30:02 -0700 X-Mailer: Apple Mail (2.929.2) From: Chris Peterson Cc: Subject: 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 03:55:55 -0000 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?