From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6d1c117df8d6a6e7 X-Google-Attributes: gidfee84,public From: Dave Butenhof Subject: Re: pthread_create and memory limits Date: 1998/03/19 Message-ID: <3510FF00.8C0A978F@zko.dec.com>#1/1 X-Deja-AN: 335839980 Content-Transfer-Encoding: 7bit References: <6ejr56$3k3@senator-bedfellow.MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 root wrote: > The following code terminates on DU 4.0B > with an ENOMEM in pthread_create > after generating 7 threads > > [...]So it looks like if pthread_create forgot about the increased limits > on RLIMIT_DATA. No, you've probably hit system configuration limits; most likely vm_vpagemax, or vm_mapentries. Playing with ulimit merely allows you to use all of the resources to which you are entitled -- it doesn't entitle you to resources that don't exist. /---------------------------[ Dave Butenhof ]--------------------------\ | Digital Equipment Corporation butenhof@zko.dec.com | | 110 Spit Brook Rd ZKO2-3/Q18 http://members.aol.com/drbutenhof | | Nashua NH 03062-2698 http://www.awl.com/cseng/titles/0-201-63392-2/ | \-----------------[ Better Living Through Concurrency ]----------------/