10 More Discussions You Might Find Interesting
1. Solaris
Hi,
Recently we faced awkward situation where we cannot connect to Oracle DB that hosted in Solaris server intermittently and it timeout eventually. The server seems fine. We can putty to server like normal but when try do prstat, it takes time and come out Please Wait.. for a while. When we go... (1 Reply)
Discussion started by: tharmendran
1 Replies
2. Solaris
hi,
I'm setting up a home lab and I am having problems keeping my connection open on putty. every time i leave it for about 10 seconds and come back I keep having to re-connect. I'm more of a AIX person and trying to get more fimilar with Sun but some of the commands I am trying to run to diag... (2 Replies)
Discussion started by: vpundit
2 Replies
3. Linux
Hi, I installed linux Fedora on a virtual machine, but the network connection is not working. All firewalls are off. Any ideas what is the problem? I am using WiFi.
Thanks in advance!
Regards,
Atanas (2 Replies)
Discussion started by: apenkov
2 Replies
4. Solaris
Hello colleague,
Development department is deploying some applications on solaris machine but hence all connection goes down.
Our all network connection files are correct but we can't connect with our gw. Only we can ping localhost and assigned ip address.
I don't want to reboot for... (4 Replies)
Discussion started by: getrue
4 Replies
5. Ubuntu
Hi,
I am using ubuntu 8.x. I am not not able connect to internet through broadband. i'm also using windows xp, there i don't have any problems.
Please tell me how access the internet on ubuntu 8.x through broadband.
Thanks,
Achhayya:) (4 Replies)
Discussion started by: achhayya
4 Replies
6. IP Networking
hi all,
Using kermit, i made serial dialup connetion between two PCs through telephone line and transfered files trough this line. The code appears as like this,
set modem type generic #Setting the modem type.
set modem data-compression on #Data compression on to speed up transfer.... (0 Replies)
Discussion started by: pcsaji
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I was wondering if anyone could help me out with this problem. I have SCO 5.0.5 installed on a system that I am using 3c905b (3 Com) network card. This system is always powered on. After no certain time period this NIC doesn't work. I can't ping to this system from any other machine or vice... (5 Replies)
Discussion started by: Tinal
5 Replies
8. Slackware
Hi all,
I've just installed redhat linux 7.3 and everything is good so far except my network connection. When I use the wizard to activate it gives me an error 'cannot activate' but no reason. Using the wizard I can see the device Eth0 and under the hardware tab it seems to recognize the card... (13 Replies)
Discussion started by: Mace
13 Replies
9. Solaris
hi everybody,
i'm beginning as a system administrator in a telecom company, please can anybody help me with his experience in this domain...i'm not speaking about
technical skills...just about experience.
what does a system admin have to do every day, every week and every month!
... (4 Replies)
Discussion started by: hmaiida
4 Replies
10. IP Networking
We have just moved offices and in the same week recieved a SUN box from another company site.
I'm attemting to connect this SUN box to the network, but i can't see it on the network.
I have modified the /etc/host file with the IP i want to attribute to the box, rebooted, but still nothing.... (1 Reply)
Discussion started by: colesy
1 Replies
rpc_control(3NSL) Networking Services Library Functions rpc_control(3NSL)
NAME
rpc_control - library routine for manipulating global RPC attributes for client and server applications
SYNOPSIS
bool_t rpc_control(int op, void *info);
DESCRIPTION
This RPC library routine allows applications to set and modify global RPC attributes that apply to clients as well as servers. At present,
it supports only server side operations. This function allows applications to set and modify global attributes that apply to client as well
as server functions. op indicates the type of operation, and info is a pointer to the operation specific information. The supported values
of op and their argument types, and what they do are:
RPC_SVC_MTMODE_SET int * set multithread mode
RPC_SVC_MTMODE_GET int * get multithread mode
RPC_SVC_THRMAX_SET int * set maximum number of threads
RPC_SVC_THRMAX_GET int * get maximum number of threads
RPC_SVC_THRTOTAL_GET int * get number of active threads
RPC_SVC_THRCREATES_GET int * get number of threads created
RPC_SVC_THRERRORS_GET int * get number of thread create errors
RPC_SVC_USE_POLLFD int * set number of file descriptors to unlimited
RPC_SVC_CONNMAXREC_SET int * set non-blocking max rec size
RPC_SVC_CONNMAXREC_GET int * get non-blocking max rec size
There are three multithread (MT) modes. These are:
RPC_SVC_MT_NONE Single threaded mode (default)
RPC_SVC_MT_AUTO Automatic MT mode
RPC_SVC_MT_USER User MT mode
Unless the application sets the Automatic or User MT modes, it will stay in the default (single threaded) mode. See the Network Interfaces
Programmer's Guide for the meanings of these modes and programming examples. Once a mode is set, it cannot be changed.
By default, the maximum number of threads that the server will create at any time is 16. This allows the service developer to put a bound
on thread resources consumed by a server. If a server needs to process more than 16 client requests concurrently, the maximum number of
threads must be set to the desired number. This parameter may be set at any time by the server.
Set and get operations will succeed even in modes where the operations don't apply. For example, you can set the maximum number of threads
in any mode, even though it makes sense only for the Automatic MT mode. All of the get operations except RPC_SVC_MTMODE_GET apply only to
the Automatic MT mode, so values returned in other modes may be undefined.
By default, RPC servers are limited to a maximum of 1024 file descriptors or connections due to limitations in the historical interfaces
svc_fdset(3NSL) and svc_getreqset(3NSL). Applications written to use the preferred interfaces of svc_pollfd(3NSL) and
svc_getreq_poll(3NSL) can use an unlimited number of file descriptors. Setting info to point to a non-zero integer and op to
RPC_SVC_USE_POLLFD removes the limitation.
Connection oriented RPC transports read RPC requests in blocking mode by default. Thus, they may be adversely affected by network delays
and broken clients. RPC_SVC_CONNMAXREC_SET enables non-blocking mode and establishes the maximum record size (in bytes) for RPC requests;
RPC responses are not affected. Buffer space is allocated as needed up to the specified maximum, starting at the maximum or RPC_MAXDATA-
SIZE, whichever is smaller.
The value established by RPC_SVC_CONNMAXREC_SET is used when a connection is created, and it remains in effect for that connection until it
is closed. To change the value for existing connections on a per-connection basis, see svc_control(3NSL).
RPC_SVC_CONNMAXREC_GET retrieves the current maximum record size. A zero value means that no maximum is in effect, and that the connections
are in blocking mode.
info is a pointer to an argument of type int. Non-connection RPC transports ignore RPC_SVC_CONNMAXREC_SET and RPC_SVC_CONNMAXREC_GET.
RETURN VALUES
This routine returns TRUE if the operation was successful and returnsFALSE otherwise.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
rpcbind(1M), rpc(3NSL), rpc_svc_calls(3NSL), attributes(5)
Network Interfaces Programmer's Guide
SunOS 5.10 24 Feb 1999 rpc_control(3NSL)