Questions tagged [keepalive]

23 questions
14
votes
4 answers

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-15 seconds) is what eventually closes most…
11
votes
3 answers

How do I keep an RDP session alive from the client side?

I'm on a Windows 7 workstation and have to connect to an offsite virtualized Windows 2008 server through RDP to use an app for work. After about 15 minutes of idle time the whole thing freezes up and I have to kill the process from the task manager…
matt
  • 1,519
3
votes
1 answer

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 71 FIN_WAIT2 8779 TIME_WAIT I believe I…
3
votes
3 answers

Does LFTP support keepalive for FTP/SFTP?

In the documentation it's not clear whether lftp support keepalive for FTP and SFTP protocols. Does someone know the answer?
Gill Bates
  • 165
  • 1
  • 1
  • 11
2
votes
0 answers

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 almost exclusively as a desktop replacement, I do…
2
votes
1 answer

How to Maintain an Inactive Tcp Connection?

If a TCP server establishes a TCP connection with a TCP client and the TCP client never sends any packet to the server. I roughly know firewalls near the TCP server may send an RST to it. Or there is a keep-alive timeout which forces the TCP…
misteryes
  • 3,135
2
votes
1 answer

Terminated HTTP/2 connections on macOS in Inea ISP

We’ve had a discussion about my issue on Reddit, but I wanted to try here too. I have a symmetric 300 Mbps fiber connection at home and sometime in September/October 2021 I’ve started seeing weird network behavior. Google Chrome was first on my…
Najki
  • 71
1
vote
1 answer

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?
Arun
  • 174
  • 1
  • 1
  • 7
1
vote
0 answers

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 list/csv/database on the load balancer that runs…
TeAmEr
  • 5,897
1
vote
4 answers

Keep SSH connection alive when moving large folder

Context : I have a web server (my hosting provider is OVH). I have a large folder with many files in many sub-directories (100k+ files). I need to move this directory from one place to anuther on my hosting. Following things I've read on internet…
1
vote
0 answers

Keepalived not routing certain tcp packets

I am trying to implement a NAT based keepalived load balancer for our outgoing squid proxies. I have set up 2 keepalived VMs which share a VIP: [root@keepalived-01 ~]# ip a 1: lo: mtu 16436 qdisc noqueue state UNKNOWN …
Ishan Datt
  • 11
  • 2
1
vote
1 answer

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 one becomes active and does the job until the…
0
votes
1 answer

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 remote computer acknowledges the keepalive transmission.…
Jim
  • 563
0
votes
2 answers

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 ?
0
votes
0 answers

How to enable Windows 10 TCP keepalive?

As per this answer TCP keepalive can be enabled by three registry values. However, setting KeepAliveInterval=KeepAliveInterval=30000 miliseconds and TCPMaxDataRetransmissions=5 definitely does not result in any keepalive packets judging by Wireshark…
1
2