From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,ea83fdb04860858e,start X-Google-Attributes: gidf678f,public X-Google-Thread: 111308,f6950c083ee2883c X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1994-08-16 19:10:49 PST Path: bga.com!news.sprintlink.net!uunet!isoft!jec From: jec@isoft.isoft.com (Jonathan Chinitz) Newsgroups: comp.client-server,comp.unix.osf.misc Subject: Re: rpc_server_listen() Question Message-ID: <334@isoft.isoft.com> Date: 17 Aug 94 00:18:32 GMT References: Followup-To: comp.client-server Organization: IntelliSoft Corp., Acton MA Xref: bga.com comp.client-server:3196 comp.unix.osf.misc:801 In article , jmsewel@makedust.mtt.it.uswc.uswest.com (Justin M. Sewell) writes: > Is there a limit to the value that can be specified for the max_calls_exec > parameter on the DCE rpc_server_listen() call? In other words, if I specify > 50000 for max_calls_exec I would actually get 50000 call threads? My hunch is that since you would be doing the equivalent of 50000 pthread_create() calls + setting up a fairly large call-queue in the runtime, that you would eventually run out of memory. Keep in mind that every call thread has its own stack carved out of VM with a default size of 32-64KB. At 32KB/stack that is 1562 GB of VM for stack alone... Jonathan -- Jonathan Chinitz E-mail: jec@isoft.com IntelliSoft Corp. Tel.: 508-635-9070 Distributed Computing Solutions Fax: 508-635-9210 P.O. Box 2645, Acton, MA 01720