From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: pthread_create and memory limits
Date: 1998/03/19 [thread overview]
Message-ID: <3510FF00.8C0A978F@zko.dec.com> (raw)
In-Reply-To: 6ejr56$3k3@senator-bedfellow.MIT.EDU
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 ]----------------/
prev parent reply other threads:[~1998-03-19 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-16 5:00 pthread_create and memory limits root
1998-03-17 5:00 ` linnartz
1998-03-19 5:00 ` Dave Butenhof [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox