* What is the max listeners for rpc_server_listen()?
@ 1993-12-15 18:30 Larry Buickel
1993-12-16 3:14 ` Bill Sommerfeld
0 siblings, 1 reply; 2+ messages in thread
From: Larry Buickel @ 1993-12-15 18:30 UTC (permalink / raw)
When calling rpc_server_listen(), you need to specify the number
of listener threads to use. Is there a maximum number? I thought
I had read somewhere that if you requested a number of threads
greater than rpc_c_listen_max_calls_default, then the number you
specified would be ignored and rpc_c_listen_max_calls_default
would be used. This lead me to the assumption that the maximum
number of listener threads differed on each platform based on the
value of rpc_c_listen_max_calls_default in <dce/rpcbase.h>. What's
the real scoop? Thanks ...
Larry B
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is the max listeners for rpc_server_listen()?
1993-12-15 18:30 What is the max listeners for rpc_server_listen()? Larry Buickel
@ 1993-12-16 3:14 ` Bill Sommerfeld
0 siblings, 0 replies; 2+ messages in thread
From: Bill Sommerfeld @ 1993-12-16 3:14 UTC (permalink / raw)
In article <CI3A35.2osL@austin.ibm.com>,
Larry Buickel <larry@austin.ibm.com> wrote:
>What's the real scoop? Thanks ...
As far as I can tell (from looking at the source) you're limited only
by available virtual memory.
Note that each call execution thread requires a thread stack which
takes typically 32k-64k bytes (depending on your hardware
architecture).
In most servers you probably don't want more than about 10 or 20
executor threads anyhow, because you'll probably spend all your time
competing for locks on shared data structures..
- Bill
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-12-16 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-15 18:30 What is the max listeners for rpc_server_listen()? Larry Buickel
1993-12-16 3:14 ` Bill Sommerfeld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox