The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
45 views

Is there a way to completely disable TCP keepalive?

I'm trying to disable TCP Keepalive in a linux machine. If I set the three keepalive parameters to 0, the machine refuses connections. sysctl net.ipv4.tcp_keepalive_time=0 sysctl ...
0
votes
1answer
67 views

Keepalived multiple condition TCP_CHECK

I have few web servers under two keepalived servers, and to check the health of a real web server I use this fragment of keepalived configuration TCP_CHECK # healthchecker : ...
1
vote
1answer
23 views

Move from keepalived to HAProxy

I have four web server under two keepalived load balance server, so I can be sure that the active keepalived server will load balance the traffic on my four web servers, and when it fails the passive ...
0
votes
0answers
78 views

How to determine TCP socket idle duration on Linux

How can I see how long a TCP connection has been idle for? This question shows how long the connection has been "up" for. What I'm looking for is: how long there has been zero traffic on the TCP ...
0
votes
0answers
79 views

Simultaneous TCP Keep Alive requests no second ack

I have a TCP server running on port 6524 and a client running on port x11 on the same system (Linux sys-111 2.6.32-431.29.2.el6.x86_64). Both these send TCP Keep alive messages to keep the connection ...
0
votes
1answer
116 views

Keepalive packets - what is a reasonable setting for KeepAliveTime?

The parameter controls how frequently TCP tries to verify that an idle connection is still intact by sending a keepalive packet. If the remote computer is still reachable and functioning, the ...
1
vote
0answers
227 views

Best way to avoid HDD head parking under OSX via bash script

After replacing the optical drive of my MacBook Pro (mid 2012) with a SATA-II HDD, I'm having trouble with the HDD's annoying head parking after short intervals of usage. Since I'm using the MacBook ...
2
votes
1answer
338 views

Keep alive, ESTABLISHED and TIME_WAIT semantics

When I use the following command netstat -ant | grep :9111 | awk '{print $6}' | sort | uniq -c | sort -n I get the following 1 LAST_ACK 1 LISTEN 2 SYN_RECV 7 FIN_WAIT1 51 ESTABLISHED ...
5
votes
2answers
6k views

Why would you ever set MaxKeepAliveRequests to anything but unlimited?

Apache's KeepAliveTimeout exists to close a keep-alive connection if a new request is not issued within a given period of time. Provided the user does not close his browser/tab, this timeout (usually ...
-5
votes
2answers
475 views

Is there a way to pause/resume particular TCP connection?

I'm playing online game that matches me against random players. I found out that when I unplug my Ethernet cable, I have a minute to decide do I want this match to count. If things go wrong, I just ...
1
vote
1answer
123 views

How can I fire many HTTP requests using a single TCP connection?

I would like to know if there is a way to open a single TCP connection to a server and request several pages over HTTP on that connection. Is there a way to do this using common Linux client tools?
1
vote
0answers
35 views

keepalived IP filter?

I am using keepalived to load-balance connections to 4 servers. Is there any way to route all non-logged-in users to one server and all logged-in users to the other 3 servers? I can update a ...
0
votes
2answers
435 views

how disable resume hard disk from Sleep on Shut Down

I'm using Windows 7 , I set my drive to sleep after 10 minutes and it works but, when I shut down windows my hard drive resume from sleep. Why? It shouldn't keep hard drive sleep and shut down the PC ...