Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: mhickey@ironman.qadce.osf.org (Mark Hickey)
Subject: Re: max no of listeners
Date: 16 Dec 1993 21:42:46 GMT	[thread overview]
Message-ID: <2eqkom$2mk@paperboy.osf.org> (raw)
In-Reply-To: CI528o.2prG@austin.ibm.com

In article <CI528o.2prG@austin.ibm.com> larry@austin.ibm.com writes:
>
>Thanks Bernd and Bill, I'm almost there!  I have a couple
>more questions here.  
>
>When specifying a value using rpc_server_use_all_protseqs()
>routines, does the max_calls_requests parameter specify the 
>max *total* or the max for *each* protocol sequence? 
>
See below.

>Similarly when I call rpc_server_use_protseq() for a specific
>protocol sequence, does the max_call_requests parameter 
>effectively override the "global" number of requests allowed
>or does it govern only the number requested for that 
>particular protocol sequence?
>
See below.

>Finally, the app notes for IBM's version point out that 
>whatever you specify for max_call_requests will be replaced
>with rpc_c_protseq_max_reqs_default.  I checked and 
>rpc_c_protseq_max_reqs_default is defined as 0 in 
><dce/idlbase.h> - I would guess that 0 is interpreted as 
>infinite and this whole discussion on max_call_requests has
>been moot?  Thanks ...

The max_calls_requests parameter in reality governs the number of sockets 
allocated to handle requests for a server for a particular protocol sequence.
The default (which, as you noted above, is used regardless of the value 
specified) ends up causing only one socket (endpoint) per protocol sequence
to be allocated (NOT infinity).  Note that this is a limitation of the 
current implementation and will probably change in the future.  The number of
calls the server can keep active at one time is governed by the max_call_exec 
parameter of the rpc_server_listen call (the size of the buffer of queued
requests is derived from this parameter).  The number of incoming packets the
server can handle is the machine dependent size of the listen backlog queue on
a socket.
    			Mark Hickey
                        OSF DEE Quality Assurance
                        mhickey@osf.org


>
>Larry B




  reply	other threads:[~1993-12-16 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-16  8:57 max no of listeners Bernd Dreier
1993-12-16 17:36 ` Larry Buickel
1993-12-16 21:42   ` Mark Hickey [this message]
1993-12-17  3:08     ` Nathaniel Mishkin
1993-12-17 18:09   ` Seiichi Tatsukawa
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