Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Troubles while RPC use

Troubles while RPC use

Hi.
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?
2 REPLIES
RAC_1
Honored Contributor

Re: Troubles while RPC use

Elaborate. What is the error message?? What exactly you are trying to do??
There is no substitute to HARDWORK

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.