10-08-2010
RHEL5.5 Socket Timeout Setting
Is there a Linux tunable to reduce the amount of time a socket waits before considering the remote side dead?
Its the same senario when you try to telnet to a dead machine, telnet sits and waits for ~30seconds, before the socket timer expires and cancels the request.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi! Experts,
Could someone tell me how to set a time out for xterm users.. I have set TMOUT which logs out telnet users after sometime..
The users here use exceed to connect to Xterm server. So, it doesnt kill xterm windows that have not been used even for 7 days..
Is there any work... (1 Reply)
Discussion started by: jyotipg
1 Replies
2. Solaris
Hello;
I have Solaris 2.6 installed on many Sun AXI Ultra Sparc IIi systems. I want to set the Lock Screen global timeout for all users to 15 minutes. I read the Solaris CDE guide which instructed me to create a /etc/dt/config/C/sys.resources file and changed the timout to 15 minutes in... (1 Reply)
Discussion started by: rambo15
1 Replies
3. AIX
Hi all
Can any one solve my problem? I want to change the default timeout setting for telnet in aix, pls help me. (1 Reply)
Discussion started by: vjm
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime.
To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies
5. Shell Programming and Scripting
Hi
I am using mpssh client for parallel ssh connections. I need help in setting the timeout for the parallel sessions say 30 seconds. Plz Help.
Thanks in advance
M.S.Srivatsa
Double post, continued here (0 Replies)
Discussion started by: mssrivatsa
0 Replies
6. UNIX for Advanced & Expert Users
Hi
I am using mpssh client for parallel ssh connections. I need help in setting the timeout for the parallel sessions say 30 seconds overall. Plz Help.
Thanks in advance
M.S.Srivatsa (0 Replies)
Discussion started by: mssrivatsa
0 Replies
7. IP Networking
I need clarification on whether it is okay to set socket options on a listening socket
simultaneously when it is being used in an accept() call?
Following is the scenario:-
-- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies
8. Solaris
Hi All
I need to set timeout of login session of a user if a user is idle for some time.
I know the TMOUT setting but it work with only BASH & KORN shell only as I need to set for Bourne shell also. I am trying to put "ClientAliveInterval 300" in sshd_config & restart or refreshing the... (1 Reply)
Discussion started by: sb200
1 Replies
9. IP Networking
Hello,
I detect these errors in my logs :
Socket timeout calling url http://server:port/bla/soap/selfcare/infoRapide]
Unable to make proxyRequest
I've made a tcpdump capture this way :
tcpdump -i eth0 -s 0 -w /app/captura.pcap port 8080
But I'm fairly new in reading .pcap files with... (0 Replies)
Discussion started by: black_fender
0 Replies
10. Shell Programming and Scripting
Hi
I'm writing a script which based on a condition, restarts a set of servers. The problem I'm facing is, say if one of the server is down, my script stops there and fails to proceed. How can I ensure to set a timeout value on that script, so when the server is not reachable, the script should... (2 Replies)
Discussion started by: mathbalaji
2 Replies
LEARN ABOUT DEBIAN
ipsec_pf_key
IPSEC_PF_KEY(5) [FIXME: manual] IPSEC_PF_KEY(5)
NAME
ipsec_pf_key - lists PF_KEY sockets registered with KLIPS
SYNOPSIS
cat /proc/net/pf_key
STACK
Note that pf_key is only supported on the KLIPS and MAST stacks. It is not supported on any other stack.
DESCRIPTION
/proc/net/pf_key is a read-only file which lists the presently open PF_KEY sockets on the local system and their parameters.
Each line lists one PF_KEY socket. A table entry consists of:
+
sock pointer (sock)
+
PID of the socket owner (pid)
+
flag to indicate if the socket is dead (d)
+
socket wait queue (sleep)
+
socket pointer (socket)
+
next socket in chain (next)
+
previous socket in chain (prev)
+
last socket error (e)
+
pointer to destruct routine (destruct)
+
is this a reused socket (r)
+
has this socket been zapped (z)
+
socket family to which this socket belongs (fa)
+
local port number (n)
+
protocol version number (p)
+
Receive queue bytes committed (r)
+
Transmit queue bytes committed (w)
+
option memory allocations (o)
+
size of send buffer in bytes (sndbf)
+
timestamp in seconds (stamp)
+
socket flags (Flags)
+
socket type (Type)
+
connection state (St)
EXAMPLES
c3b8c140 3553 0 c0599818 c05997fc 0 0 0 0 1 0 15 0 2 0 0 0 65535 0.103232 00000000 00000003 01
shows that there is one pf_key socket set up that starts at c3b8c140, whose owning process has PID 3553, the socket is not dead, its wait
queue is at c0599818, whose owning socket is at c05997fc, with no other sockets in the chain, no errors, no destructor, it is a reused
socket which has not been zapped, from protocol family 15 (PF_KEY), local port number 0, protocol socket version 2, no memory allocated to
transmit, receive or option queues, a send buffer of almost 64kB, a timestamp of 0.103232, no flags set, type 3, in state 1.
FILES
/proc/net/pf_key
SEE ALSO
ipsec(8), ipsec_manual(8), ipsec_eroute(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_version(5)
HISTORY
Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs.
[FIXME: source] 10/06/2010 IPSEC_PF_KEY(5)