Sponsored Content
Full Discussion: UNIX Network timeouts
Special Forums Cybersecurity UNIX Network timeouts Post 65082 by RTM on Thursday 3rd of March 2005 10:47:27 AM
Old 03-03-2005
See this thread about TMOUT setting. It's more the timeout set for user sessions but may be what you are looking for. Also realize your network folks can set timeouts on their equipment to kill sessions (Normally it's set rather high but could kill off a session that was doing an upgrade of a server).

If that doesn't help, please explain further what you are experiencing and need.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Network problem Unix

Changed from a broken Switch to a working HUB everyting else in my network is ok after the change but not my RS/6000! It refuses to get connected, get time out on Pings both ways - strange? Could it be some problem with ARP?:confused: (2 Replies)
Discussion started by: jolun
2 Replies

2. UNIX for Dummies Questions & Answers

network configuratio in unix

hi , evry1 i m new to unix and i m unable to configure the NIC present in the system. the OS is Unixware 2.1 and the NIC is an onboard Intel Ether Express Pro 100 B lan card . The intel 82557 chipset based card. I dont kno if any 1 of you has worked on this OS before . but I m unable to get the... (2 Replies)
Discussion started by: /etc/passwd
2 Replies

3. Programming

Network Programming in Unix

Good day everyone, Please help if you are interested in. I need to do a chat client-server program. Does anyone know where I can get references or sample programs? Thank you very much for your time Eric (2 Replies)
Discussion started by: powermind
2 Replies

4. UNIX for Dummies Questions & Answers

Device Timeouts on Unix Server

Hi I am brand new to the forum I have very limited understanding of unix, but am very computer literate. At work we have a unix server which has been the bane of our lives. We have stopped being able to access the network drives and the screen has lots of device timeouts. I have learned how to do... (1 Reply)
Discussion started by: scovell01
1 Replies

5. UNIX for Advanced & Expert Users

Facing file processing timeouts

Hi In our ETL application we have used simple scripts to move & split the files. We are randomly facing timeouts on these jobs. It indicates we are running out of resources. How should I confirm the resources are inadequate? I know we have commands like vmstat & iostat which displays... (3 Replies)
Discussion started by: videsh77
3 Replies

6. Programming

Unix network programming

Hi! I am working on fedora.. trying to execute BSD4.4 client-server program which includes "unp.h" header file... While executing make command, I got error like, " expected " , " , " ; ",or ")" in connect_nonb file...ERROR 1 " I tried to change mode of makefile but I can't get... (4 Replies)
Discussion started by: nisha_vaghela
4 Replies

7. Programming

Unix Network Programming

I have written a client-server program which does some data from a file in server to the client. In this I don't want the client to wait indefinitely if server is not running. For this I am using SELECT system call, in this system call we can specify timings as an argument, which tells the client... (2 Replies)
Discussion started by: naresh046
2 Replies

8. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

9. Shell Programming and Scripting

Timeouts in expect script

Hi all. I have an expect script which for walks across servers, checks freespace and provides sorted list of biggest files #!/usr/bin/expect -- set timeout 600 stty -echo log_user 0 spawn -noecho sudo -u introot /home/introot/bin/twssh expect root send_user "Entering \r" send "uname\r"... (15 Replies)
Discussion started by: urello
15 Replies

10. IP Networking

Problems and doubts with sockets and timeouts

Hi! I need some help to understand a little bit more the behaviour about socket and TCP connections... Here is my problem I have a client and a server that were written in python. The server program wait until a message arrive and then print the message but if the message not arrive in a second... (2 Replies)
Discussion started by: Kovalevski
2 Replies
rpc_set_short_timeout(3ncs)											       rpc_set_short_timeout(3ncs)

Name
       rpc_set_short_timeout - set or clear short-timeout mode (client only)

Syntax
       #include <idl/c/rpc.h>

       unsigned long rpc_$set_short_timeout(handle, state, status)
       handle_t handle;
       unsigned long state;
       status_$t *status;

Arguments
       handle An RPC handle.

       on     If `true' (not zero), short-timeout mode is set on handle.  If `false' (zero), standard timeouts are set.

       status The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was success-
	      ful.

Description
       The routine sets or clears short-timeout mode on a handle.  If a client uses a handle in short-timeout mode  to	make  a  remote  procedure
       call, but the server does not respond, the call fails quickly.  As soon as the server responds, standard timeouts take effect and apply for
       the remainder of the call.

       Calling with a value other than zero for state sets short-timeout mode.	Calling it with state  equal  to  zero,  sets  standard  timeouts.
       Standard timeouts are the default.

       This routine returns the previous setting of the timeout mode in

Diagnostics
       This section lists status codes for errors returned by this routine in

       rpc_$not_in_call    An internal error.

       rpc_$proto_error    An internal protocol error.

Files
See Also
       intro(3ncs)

														       rpc_set_short_timeout(3ncs)
All times are GMT -4. The time now is 09:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy