Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2002 15:54:13 -0600
From:      "Aaron Wohl" <freebsd@soith.com>
To:        freebsd-stable@freebsd.org
Subject:   MAXDSIZ and pthreads large ram etc
Message-ID:  <20021224215413.B597F17A32@www.fastmail.fm>

next in thread | raw e-mail | index | archive | help
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




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