From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,264ddb61da219af1 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-12-16 14:25:55 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!bloom-beacon.mit.edu!paperboy.osf.org!ironman.qadce.osf.org!mhickey From: mhickey@ironman.qadce.osf.org (Mark Hickey) Newsgroups: comp.unix.osf.misc Subject: Re: max no of listeners Date: 16 Dec 1993 21:42:46 GMT Organization: Open Software Foundation Message-ID: <2eqkom$2mk@paperboy.osf.org> References: <9312160855.AA21096@minsti01.MNWF.Uni-Augsburg.DE> NNTP-Posting-Host: ironman.osf.org In article 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 > - 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