01-06-2019
Linux has built-in support for TCP keepalive. You need procfs and sysctl support to be able to configure the kernel parameters at runtime.
The procedures involving TCP keepalive use three user-driven variables:
tcp_keepalive_time
the interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further
tcp_keepalive_intvl
the interval between subsequential keepalive probes, regardless of what the connection has exchanged in the meantime
tcp_keepalive_probes
the number of unacknowledged probes to send before considering the connection dead and notifying the application layer
These 2 Users Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Experts,
need help about release or refresh TCP Connection:
i have the sample like below :
application log connection:
0500 ( 192.168.0.1:36053) 00919 2007/05/10 23:30:25 112 13 2007/05/10 23:30:25 1969/12/31 17:00:00
0500 ( 192.168.0.1:36054) 00920 2007/05/10 23:30:26 000 00... (3 Replies)
Discussion started by: bucci
3 Replies
2. IP Networking
Why this happens?
How to solve this?
$netstat -na |grep 9325
tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED
When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds.
... (1 Reply)
Discussion started by: johnbach
1 Replies
3. UNIX for Dummies Questions & Answers
hi people,
i need help about timeout duration of ssl while connecting to another server in network.
this is what i try
bash-3.00# time ssh root@10.10.10.10 "date"
ssh: connect to host 10.10.10.10 port 22: Connection timed out
real 3m10.215s
user 0m0.007s
sys 0m0.011sthere is no... (2 Replies)
Discussion started by: sdkbjk
2 Replies
4. UNIX and Linux Applications
Hi
I am trying to configure sendmail for logwatch and another script i have . However when i try to send a test mail i am getting the following error.
Logwatch is not sending any emails out nor is denyhost. I just want it to send emails out .
Can anyone help me ?
i have looked through... (1 Reply)
Discussion started by: um08
1 Replies
5. UNIX for Dummies Questions & Answers
Hello UNIX users,
Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server.
If the zipped file size is below 3 MB, it goes fine. Anything above that fails.
Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies
6. Solaris
i am facing an issue that the server give a connection timeout after 60 sec for any request more than that number . i tried to increase the TCP INTERVAL TIMEOUT from the default 60000 ms to more higher number.
the server seems to work fine and didn't give me the massage of the timeout but the... (0 Replies)
Discussion started by: core99
0 Replies
7. Shell Programming and Scripting
what is this error log = hda: irq timeout: error=0x00 and how to solve?
every day upon checking the logs i see this error.
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies
8. UNIX for Advanced & Expert Users
Hi everybody,
I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop.
I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
9. Shell Programming and Scripting
Hi,
I am running a ssh connection test in a script, how can I add a timeout to abolish the process if it takes too long?
ssh -i ~/.ssh/ssl_key useraccount@computer1
Thank you.
- j (1 Reply)
Discussion started by: hce
1 Replies
10. Shell Programming and Scripting
I have a command to check the status of hostname and port number,
echo > /dev/tcp/hostname/80
echo $?
0
success case
echo > /dev/tcp/hostname/809999
I got the output
-------------------
connection timed out
It took almost 4 minutes to time out,,, how can I set it to 10 seconds?
my... (2 Replies)
Discussion started by: sam@sam
2 Replies
LEARN ABOUT DEBIAN
kumo-gateway
KUMO-GATEWAY(1) General Commands Manual KUMO-GATEWAY(1)
NAME
kumo-gateway - kumofs gateway daemon
SYNOPSIS
kumo-gateway -m <addr[:port]> -p <addr[:port]> [-t port] [-b port] [-c port]
DESCRIPTION
kumo-gateway receives requests from applications and relays it to the kumo-servers. Run this daemon on the hosts that runs applications
that uses kumofs.
OPTIONS
-m <addr[:port=19700]> --manager1
address of manager 1
-p <addr[:port=19700]> --manager2
address of manager 2
-lc --local-cache
local cache (Tokyo Cabinet abstract database)
-t <[addr:]port=11411> --memproto-text
memcached text protocol listen port
-b <[addr:]port=11511> --memproto-binary
memcached binary protocol listen port
-c <[addr:]port=11611> --cloudy
asynchronous memcached binary protocol listen port
-F --memproto-save-flag
save flags on memcached text protocol
-As --async-replicate-set
send response without waiting replication on set
-Ad --async-replicate-delete
send response without waiting replication on delete
-G <number=5> --get-retry
get retry limit
-S <number=20> --set-retry
set retry limit
-D <number=20> --delete-retry
delete retry limit
-rn <number=4> --renew-threshold
hash space renew threshold
-k <number=2> --keepalive-interval
keepalive interval in seconds
-Ys <number=1> --connect-timeout
connect timeout time in seconds
-Yn <number=4> --connect-retry-limit
connect retry limit
-Ci <number=2> --clock-interval
clock interval in seconds
-TW <number=2> --write-threads
number of threads for asynchronous writing
-TR <number=4> --read-threads
number of threads for asynchronous reading
-o <path.log> --log
output logs to the file
-g <path.mpac> --binary-log
enable binary log
-v --verbose
-d <path.pid> --daemon
EXAMPLE
[on cli1 ]$ kumo-gateway -v -m mgr1 -p mgr2 -t 11211 -As -Ad
[localhost]$ kumo-gateway -v -m localhost -t 11211 -d kumo-gateway.pid
SEE ALSO
kumolog(1).
kumo-gateway July 2009 KUMO-GATEWAY(1)