Questions tagged [keepalive]
121 questions
1
vote
1 answer
Apache on Windows occupied by Chrome keep-alive
Chromes keep-alive packets seem to block Apache from answering all requests from other clients. They do not appear in the access log nor in mod_status and the browsers keep waiting for an answer. This happens no matter if keep alive is enabled or…

Fabian Horlacher
- 143
- 1
- 9
1
vote
2 answers
jenkins cli build via ssh is disconecting after 10 minutes
I have two jenkins instances. I want job at 1st instance to invoke job at 2nd instance, wait until it ends and perform some actions (using artifacts produced by job @ 2nd)
I've come up with this solution - using Jenkins CLI commands via SSH
ssh -p…

tworec
- 163
- 2
- 8
1
vote
2 answers
Keeping TCP connections alive to track which clients are online
I am developing an application where a server needs to stay in touch with lots of simple IoT devices. Nearly no information exchange is needed between the server and each device, but devices need to stay online and reachable by the server 24h. At…

Matteo Monti
- 123
- 4
1
vote
1 answer
Keepalived + Haproxy performance, apache or nginx?
I have a question about Keepalived + Haproxy. At work I am assigned to deploy a redundant web server with Keepalived and Haproxy. Our setup at the moment is as follows:
Apache (as load balancer) + Modsecurity (waf) ------> 3 x IIS (Webserver,…

crazyforce
- 11
- 3
1
vote
0 answers
How to force/fake linux eth0 in 'up' status even without cable connected?
One of my testing script is eth0 status related, when eth0 goes down(cable unplugged), the script exit, and i need to unplug and plug cable many times due to test needs.
is there anyway can fake linux the eth0 still 'up' even cable is unplugged?…

K. C
- 163
- 1
- 1
- 5
1
vote
0 answers
tcpdump expression to show zero-byte ACKs?
I want to show zero-byte TCP keepalives sent and received. While this could be generally useful, in this particular case I want to prove that a change I made to the JDBC driver (adding tcpKeepAlive=true) is causing the keepalives to be sent…

Steve Kehlet
- 1,105
- 1
- 10
- 16
1
vote
1 answer
How do I know that my TCP connection is safe from the Firewalls/NAT?
Being on the Azure cloud, I found that the firewalls there drop connections between the Web server and the database quite often. Mostly when there was some inactivity, I think something between 5 and 10 minutes. So I did some research and found this…

Philip
- 203
- 1
- 4
1
vote
1 answer
How do I change my ubuntu keepalive to infinity?
http://www.golinuxhub.com/2013/03/setting-up-custom-tcpip-keep-alive.html
Once I connect to my development server, I don't want it to automatically disconnect unless I quit my terminal.
What settings should I use?

Alex
- 8,471
- 26
- 75
- 99
1
vote
3 answers
IIS stops responding
I'm using IIS (on Windows 2003) and have placed a dummy.html in my default web site. The file is empty.
I'm using wfuzz to access this file a large number of times (wfuzz does HTTP requests), with the following command:
wfuzz.exe -c -z range -r…

nitramk
- 203
- 1
- 3
- 6
1
vote
1 answer
Do keepalives to socket connections exist?
Pre briefing:
Although my question is broad on purpose, I am dealing with nginx connecting to php-fpm (fcgi), which is served via a local socket (/tmp/somesocket.socket).
Nginx has a setting to keepalive connections to fcgi backends (…

anonymous-one
- 1,018
- 7
- 27
- 43
1
vote
1 answer
Is tcp_keepalive application dependant on Linux?
According to http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/index.html , the kernel keepalive function occurs at the OS level, and doesn't require an application to explicitly call it. However I also read about how an application must call it (using…

Davis
- 13
- 3
1
vote
2 answers
Graceful Apache restart and Keep-Alive connections
I am trying to find a way to quickly restart Apache to apply configuration changes. The goal is to:
Restart without distributing currently processed requests
Do this as atomically as possible, i.e. the new configuration must be applied on all new…

sagi
- 707
- 3
- 9
- 19
1
vote
2 answers
In Nginx can I set Keep-Alive dynamically depending on ssl connection?
I would like to avoid having to repeat all the virtualhost server {} blocks in nginx just to have custom ssl settings that vary slightly from plain http requests.
Most ssl directives can be placed right in the main block, except one hurdle I cannot…

ck_
- 459
- 1
- 7
- 20
1
vote
2 answers
Spawning HTTPD processes
Can any confirm how Apache spawns new children ?
As in if I connect to a webserver (HTTP 1.0 / no keep alive) and issue a HTTP /GET I will be spawned a new HTTPD child. If then issue another HTTP /GET then a new TCP connection will be built.…

RickD
- 155
- 2
- 3
- 15
1
vote
1 answer
Is it possible to use local web.config to enable keep-alive?
Is there any way to enable keep-alive on IIS 7 in a hosted scenario?
I attempted to use the answer to this SO question Where (or how) is the keep-alive setting in web.config?.
I added the following after the closing…

escist
- 123
- 1
- 6