Subject: Re: running a big linux program
To: =?iso-8859-1?Q?C=E9sar_Catri=E1n_C=2E?= <ccatrian@eml.cc>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 03/26/2005 12:48:20
On Fri, Mar 25, 2005 at 09:03:26PM -0400, César Catrián C. wrote:
> Hi.
> 
> I get errors in shmget trying to run a big linux program in NetBSD 2.0 .
> 
> I've 256MB and my stack size is about 4MB. The datasize is about 330MB.
> 
> How can I increase the allowed size of the emulated program?

Rebuild a kernel with an increased SHMMAXPGS (see options(4)).
I don't know if this can be changed by sysctl.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--