* Disable RPC time-out
@ 1994-12-19 20:34 Yuh Ming YONG
1994-12-20 5:32 ` Rich Salz
0 siblings, 1 reply; 5+ messages in thread
From: Yuh Ming YONG @ 1994-12-19 20:34 UTC (permalink / raw)
Is there a way to disable (permanently) the time-out for a
DCE RPC? I noticed that in both the client and
server stub codes, the following variable is set
to idl_false:
idl_boolean NIDL_timeout_was_set_low=idl_false;
Thanks for your feedbacks.
-Yuh Ming
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable RPC time-out
1994-12-19 20:34 Disable RPC time-out Yuh Ming YONG
@ 1994-12-20 5:32 ` Rich Salz
1994-12-20 20:57 ` Spike White
1994-12-20 22:15 ` Yuh Ming YONG
0 siblings, 2 replies; 5+ messages in thread
From: Rich Salz @ 1994-12-20 5:32 UTC (permalink / raw)
In <D12rtJ.9zq@undergrad.math.uwaterloo.ca> ymyong@neumann.uwaterloo.ca (Yuh Ming YONG) writes:
>Is there a way to disable (permanently) the time-out for a DCE RPC?
What timeout? As long as client and server can send packets to each
other, there is no limit on how long an RPC operation can take.
/r$
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable RPC time-out
1994-12-20 5:32 ` Rich Salz
@ 1994-12-20 20:57 ` Spike White
1994-12-20 22:15 ` Yuh Ming YONG
1 sibling, 0 replies; 5+ messages in thread
From: Spike White @ 1994-12-20 20:57 UTC (permalink / raw)
Rich Salz (rsalz@osf.org) wrote:
: In <D12rtJ.9zq@undergrad.math.uwaterloo.ca> ymyong@neumann.uwaterloo.ca (Yuh Ming YONG) writes:
: >Is there a way to disable (permanently) the time-out for a DCE RPC?
: What timeout? As long as client and server can send packets to each
: other, there is no limit on how long an RPC operation can take.
: /r$
If so, then's what the use of the 'rpc_mgmt_set_com_timeout(3rpc)' command?
Doesn't rpc_mgmt_set_com_timeout(10) disable (permanently) the time-out for a
DCE RPC?
--
Spike White | spike@hal.com | Biker Nerds From
HaL Computer Corp | spike@rider.cactus.org | HaL
Austin, TX | '87 BMW K75S, DoD #1347 |
Disclaimer: HaL, do you want me to speak for you? No, Dave...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable RPC time-out
1994-12-20 5:32 ` Rich Salz
1994-12-20 20:57 ` Spike White
@ 1994-12-20 22:15 ` Yuh Ming YONG
1994-12-21 18:27 ` bernie
1 sibling, 1 reply; 5+ messages in thread
From: Yuh Ming YONG @ 1994-12-20 22:15 UTC (permalink / raw)
In article <3d5q91$e1o@paperboy.osf.org>, rsalz@osf.org (Rich Salz) writes:
> In <D12rtJ.9zq@undergrad.math.uwaterloo.ca> ymyong@neumann.uwaterloo.ca (Yuh Ming YONG) writes:
> >Is there a way to disable (permanently) the time-out for a DCE RPC?
>
> What timeout? As long as client and server can send packets to each
> other, there is no limit on how long an RPC operation can take.
> /r$
Time-out occurs when a client fails to bind to a server within
a time frame. When this time frame expires, the client re-attempt
to bind to the server. All this is done, transparently, in the
(client) stub code. I have experimented and observed the variability
of the time frame (i.e., it is not a constant value which may vary from
milliseconds to seconds to minutes to hours). Currently, my test RPC
programs use automatic binding method.
I am wondering how I can control the effect of the variability. Thanks for
any information and suggestion.
-Yuh Ming
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable RPC time-out
1994-12-20 22:15 ` Yuh Ming YONG
@ 1994-12-21 18:27 ` bernie
0 siblings, 0 replies; 5+ messages in thread
From: bernie @ 1994-12-21 18:27 UTC (permalink / raw)
Yuh Ming YONG (ymyong@neumann.uwaterloo.ca) wrote:
: In article <3d5q91$e1o@paperboy.osf.org>, rsalz@osf.org (Rich Salz) writes:
: > What timeout? As long as client and server can send packets to each
: > other, there is no limit on how long an RPC operation can take.
: > /r$
: Time-out occurs when a client fails to bind to a server within
: a time frame. When this time frame expires, the client re-attempt
: to bind to the server. All this is done, transparently, in the
: (client) stub code. I have experimented and observed the variability
: of the time frame (i.e., it is not a constant value which may vary from
: milliseconds to seconds to minutes to hours). Currently, my test RPC
: programs use automatic binding method.
Hi Yuh Ming,
First of all, you will need to change your binding method since you have
no control over this time-out (or other settings) when using automatic
binding. In general, you will need to supply the RPC binding handle to
change default values used by the RPC runtime.
: I am wondering how I can control the effect of the variability. Thanks for
: any information and suggestion.
There is a call, rpc_mgmt_set_com_timeout(), which you can use
to give the RPC runtime "advice" on the length of the timeout between
client and server, which also depends on the type of network protocol
that you are using. I am enclosing the call signature, but you should
see the man pages or the DCE Application Development Reference for
the values and meanings for "timeout". Note that these are relative
timeout suggestions to the runtime.
void rpc_mgmt_set_com_timeout(
rpc_binding_handle_t binding,
unsigned32 timeout,
unsigned32 *status);
: -Yuh Ming
--
Best regards,
Bernie Hirsch "No complex system is invented from scratch." (G. Booch)
________ _________________________________________________________________
/ Bernard S. Hirsch
/ Financial Services Solutions Center
____ ___ / Hewlett-Packard Company
/ / / / 930 E. Campbell Rd., Richardson, TX 75081
__/ __/ _____/ (214)699-4197 Fax: (214)699-2528 | 699-6439
/ http://bsh3185.ssr.hp.com/bernie.html [WWW]
___________ __/ ___________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-12-21 18:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-19 20:34 Disable RPC time-out Yuh Ming YONG
1994-12-20 5:32 ` Rich Salz
1994-12-20 20:57 ` Spike White
1994-12-20 22:15 ` Yuh Ming YONG
1994-12-21 18:27 ` bernie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox