From: jec@isoft.isoft.com (Jonathan Chinitz)
Subject: Re: rpc_server_listen() Question
Date: 17 Aug 94 00:18:32 GMT [thread overview]
Message-ID: <334@isoft.isoft.com> (raw)
In-Reply-To: Cun8LB.D16@da_vinci.ecte.uswc.uswest.com
In article <Cun8LB.D16@da_vinci.ecte.uswc.uswest.com>, 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
parent reply other threads:[~1994-08-17 0:18 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Cun8LB.D16@da_vinci.ecte.uswc.uswest.com>]
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