Questions tagged [keepalive]
120 questions
3
votes
1 answer
How does apache handles connections and requests using worker and prefork mpm modules?
I know that prefork module in apache creates one master process and several child processes to handle connections, my question is:
Does each prefork child handles one connection or handles one request per time?
and if it handles one connection does…
![](../../users/profiles/237052.webp)
Hussein Galal
- 133
- 1
- 3
3
votes
1 answer
option http-server-close on HAProxy haproxy-1.5-dev19 will result in Connection: close header sent in response
I basically have the following issue: whenever I add
option http-server-close
to the haproxy config (either in frontend or backend section), haproxy will send a Connection: close header in the response - which is exactly the opposite of what is…
![](../../users/profiles/147195.webp)
Bogdan Sorlea
- 163
- 2
- 5
3
votes
3 answers
Proxy to keep connection to API alive
On one server I have some 30 PHP sites running under Apache. All those sites use the same (HTTP) API to fetch some data. The API is hosted elsewhere (under my control)
The API uses Nginx with keep-alive and the PHP sites use CURL for making the API…
![](../../users/profiles/140468.webp)
Ivor
- 31
- 1
- 2
3
votes
1 answer
Nginx keepalive_requests - What value to use for unlimited?
We are using an nginx backend behind a nginx proxy.
We use upstream keepalives.
They work quite nicely.
We were wondering, what value would we set keepalive_requests on the backend to set the maximum number of keepalive requests to…
![](../../users/profiles/95749.webp)
anonymous-one
- 958
- 4
- 26
- 43
2
votes
0 answers
TCP KeepAlives with NAT?
We have a Network set up like this:
MQTT Client -- TCP Forward (Netscaler) -- TLS Termination + TCP Forwarding (HAProxy) -- MQTT Server
For several reasons we needed to turn on TCP KeepAlives in HAProxy, because the client has a huge timeout which…
![](../../users/profiles/311632.webp)
peez80
- 171
- 5
2
votes
1 answer
AWS API Gateway with Lambda and KeepAlive (persistent connections)
I'm a bit confused about Keep-Alive with AWS API Gateway.
Is this something I need to configure? or maybe be careful with this setting?
Because I will use API Gateway to execute Lambda functions, and because Lambda price depends on the execution…
![](../../users/profiles/95858.webp)
Enrique
- 143
- 1
- 5
2
votes
1 answer
git push fails - permissions and ssh keep alive checked - what else?
I migrated my git server to a new server and now I try to push my data to the new one.
Client: Windows, TortoiseGit
Server: docker git-server
The log when trying to push
git.exe push --progress "originNew" master:master
Counting objects: 26735,…
![](../../users/profiles/463021.webp)
andymel
- 201
- 1
- 2
- 9
2
votes
1 answer
Why can't Nginx reuse connection to upstream while serving sequential requests from clients?
As mentioned in http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
It should be particularly noted that the keepalive directive does not limit the total number of connections to upstream servers that a Nginx worker process can…
![](../../users/profiles/363759.webp)
Aarti
- 629
- 1
- 7
- 6
2
votes
0 answers
socket_keepalive configuration for mod_jk
I have Apache httpd with mod_jk. I have issue with killed connections after long idling period: Apache stops to respond and each HTTP request hangs for 15 minutes. I tried turn off mod_jk connection pooling (with DisableReuse) and the issue…
![](../../users/profiles/344123.webp)
Dmitrii Stebliuk
- 21
- 1
2
votes
1 answer
Linux GRE keep alive
What are possibilities in Linux kernel (?) to work with Cisco endpoint encorporating GRE keep-alives? We have GRE IPsec tunnel set up with another company. We would like to have backup tunnel which should be active when main one dies. So they enable…
![](../../users/profiles/328969.webp)
unhit
- 21
- 3
2
votes
2 answers
KeepAlive in Apache 2.4 interfering with form submissions
I have just upgraded a server to Debian Jessie, which includes Apache 2.4.10 (was 2.2), and PHP 5.6.
Now, SSL sites won't submit forms in some circumstances on IE11 and iPad Safari (not sure about desktop Safari). Firefox and Chrome are both OK.…
![](../../users/profiles/124409.webp)
user1247280
- 146
- 1
- 3
2
votes
0 answers
HAProxy resetting backend connections
I'm in the process of setting up a series of servers as proxies to our application server, primarily to obscure the application server's IP as part of a suite of anti-DDOS measures.
My goal is to have HAProxy accept short-lived HTTP/1.0 connections…
![](../../users/profiles/106373.webp)
Lachlan Pease
- 121
- 1
- 1
- 4
2
votes
1 answer
HTTP Keep-Alive puzzle with EC2 Linux, Nginx and Chrome
Please, help to solve HTTP keep-alive problem.
Basically, I have amazon-ami linux (v2012.09) on EC2 running nginx (v1.2.6).
Chrome (v25.0.1364.99) accesses HTTP page normally, then after about 30 seconds connection dropped (unknown why) as monitored…
![](../../users/profiles/158067.webp)
Ievgen Lukash
- 131
- 1
- 4
2
votes
3 answers
mod_rewrite+proxy closes connections to backend (keepalive)
We have a fairly typical setup: client <-> apache2 (2.2.22) <-> backend (*).
Initially we were using mod_rewrite with the [P] flag in the simplest form:
RewriteEngine On
ProxyPreserveHost On
RewriteRule ^(.*)$…
![](../../users/profiles/134485.webp)
adamw
- 135
- 1
- 5
2
votes
1 answer
Does apaches keep alive time-out reset every time a request is received?
The title of this question is pretty self explanatory, but:
Does apaches keep alive timeout reset (as in, start again) every time a request is received?
So for example, assume we have a 60 second keep alive timeout:
Second 0 - First request…
![](../../users/profiles/95749.webp)
anonymous-one
- 958
- 4
- 26
- 43