From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,bf2ea6865e8fab59 X-Google-Attributes: gidfc89c,public X-Google-Thread: 10650a,bf2ea6865e8fab59 X-Google-Attributes: gid10650a,public X-Google-Thread: fee84,bf2ea6865e8fab59 X-Google-Attributes: gidfee84,public From: Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) Subject: Re: Lots of Threads = Death? Date: 1998/05/01 Message-ID: #1/1 X-Deja-AN: 349317566 References: <35464b25.29547822@149.174.211.108> <35472D6A.145BBC1A@brighttiger.com> <3547819c.27638403@149.174.211.108> Mail-Copies-To: never Organization: Sun Microsystems, Netherlands Newsgroups: comp.unix.osf.osf1,comp.unix.internals,comp.unix.programmer [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]] Darron Shaffer writes: >Almost any user space implementation of threads would have these >characteristics. Many half kernel/half user implementations would as >well. Well, even if you allow stack growth (Solaris maps the stacks unreserved), you still have the problem of running out of address space) Defautl Solaris trhead stack size is 1MB, so with 3000 threads you've consumed 3GB of address space and that's about all you've got. You can change the defautl stacksize to something smaller. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.