Troubles while RPC use (90 Views)
Posts: 29
Registered: ‎09-22-2004
Message 1 of 3 (90 Views)

Troubles while RPC use

I have such problem. When i return output parameter from RPC server to client, and parameter length more then 16kb, the error occured.
I think that there is limit for output parameters length in RPC. Can i make this limit more large?
Honored Contributor
Posts: 5,920
Registered: ‎03-21-2002
Message 2 of 3 (90 Views)

Re: Troubles while RPC use

Elaborate. What is the error message?? What exactly you are trying to do??
There is no substitute to HARDWORK
Posts: 29
Registered: ‎09-22-2004
Message 3 of 3 (90 Views)

Re: Troubles while RPC use

I want run shell scripts on remote host
I call RPC procedure. Input params for this procedure are shell-script name. Output params are script result and script's stdout and stderr.
The structure of output params:
struct script_ret {
int retcode;
struct {
u_int std_out_len;
char *std_out_val;
} std_out;
struct {
u_int std_err_len;
char *std_err_val;
} std_err;
I trace result on server side before return. And all right. But when i receive result on client and length of std_out_val is more then 16 kb 'clnt_call' NOT return 'RPC_SUCCESS' value.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.