From owner-freebsd-stable Tue Dec 24 13:54:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03BA937B401 for ; Tue, 24 Dec 2002 13:54:34 -0800 (PST) Received: from www.fastmail.fm (www.fastmail.fm [66.111.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61F2043EA9 for ; Tue, 24 Dec 2002 13:54:33 -0800 (PST) (envelope-from freebsd@soith.com) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id BC155129BA; Tue, 24 Dec 2002 16:54:13 -0500 (EST) Received: from 127.0.0.1 ([127.0.0.1] helo=www.fastmail.fm) by fastmail.fm with SMTP; Tue, 24 Dec 2002 16:54:13 -0500 Received: by www.fastmail.fm (Postfix, from userid 99) id B597F17A32; Tue, 24 Dec 2002 16:54:13 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Aaron Wohl" To: freebsd-stable@freebsd.org Date: Tue, 24 Dec 2002 15:54:13 -0600 X-Epoch: 1040766853 X-Sasl-enc: yDOKWzI/sTpS5hR8SI1YLQ Subject: MAXDSIZ and pthreads large ram etc Message-Id: <20021224215413.B597F17A32@www.fastmail.fm> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anyone using a lot of address space per process (over 768megabytes)? For a machine with 4 gigabytes of ram im trying to up the amount of data a process can address. If I increase MAXDSIZ at about 2048mbyte pthreads stops working. Creating threads starts to fail. 4096mb seems to wrap the limit 0 zero. The kernel builds and boots but anything (sh) you try to run quits out of memory. Im currently using: options MAXDSIZ="(768*1024*1024)" Anyone got more than that to work? mysql uses pthreads much above 768mb pthread create starts to fail. This is on an AMD or intel processor with 4.7 stable latest stuff checked out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message