Questions tagged [keep-alive]
29 questions
1
vote
1 answer
Ubuntu concurrent connections
I'm behind a proxy that is "Enterprise DDoS Protected". On a normal day with normal connections to all my servers the concurrent connections on the proxy is 17,000. Yes 17,000 is normal for the nature of my sites. 90% of the traffic is requesting…

Tabatha M
- 27
- 4
1
vote
1 answer
Is it better to disable Keep-Alive in IIS 7 for high traffic web applications?
The advice below applies to Apache, but it seems generic enough to apply regardless of system. My architecture is 3 web servers behind a load balancer. My IIS servers currently have keep-alive enabled with the default connection timeout of 2…

dan
- 426
- 7
- 21
1
vote
2 answers
Apache Config for High Page View, Long Session Users - KeepAlive and MaxRequest variables
I am currently running a web app that sees several (~15) users logging in once each day, and then leaving the web app open where it automatically refreshes with new content every 5 minutes. Each user tends to have it open for about 15-18…

JiminyCricket
- 133
- 1
- 7
1
vote
0 answers
On Debian system, keepalived is consuming full cpu usage on both kibana nodes
I have master/slave kibana machines on Debian 10. From few days, cpu usage of keepalived daemon on both nodes are reaching to 100%. After keepalived restart it goes to normal, and this loops forever.
I am not sure, what exactly is wrong with my…

Roushan Jha
- 55
- 1
- 1
- 5
1
vote
0 answers
AWS ALB and HAProxy Keep-Alive header
Has any one come across this behavior?
AWS ALB is sending traffic to HaProxy.
HaProxy sets keep-alive header to 29 seconds.
Client connected to ALB does not see this header.
It can only see "Connection: keep-alive" header.
Basically, ALB is…

Sameer Naik
- 218
- 2
- 8
0
votes
1 answer
keepalive_disable parameters nginx for particular useragent/browsers
I am using keepalive_disable in nginx conf
this requires for
Syntax: keepalive_disable none | browser ...;
Default: keepalive_disable msie6;
Context: http, server, location
Now i have two problems
other than safari, msie6 i was not able to…

Shoaib
- 1
0
votes
1 answer
Why does Amazon recommends reading 'all data' as soon as possible during S3 download?
While reading up official documentation on Amazon S3 Java SDK, I found an interesting note:
Your network connection remains open until you read all of the data or close the input stream. We recommend that you read the content of the stream as…

Juzer Ali
- 149
- 5
0
votes
1 answer
HTTP client leaking connections when keep-alive is enabled
I have set up an HTTP server for an embedded system to communicate with a known non-malicious remote client application.
I have had to disable keep-alive support on my server, as the remote client application always requests keep-alive but never…

Nathan Owen
- 21
- 7
0
votes
2 answers
how to emulate a browser that doesn't have "Keep alive"
I have a remote webserver listening on port 80, which serves a page which loads 100 individual .png files (from the same server and hostname) via 100
tags. On that remote server I do watch -n 1 "netstat -na | fgrep ":80 " | fgrep…

cherouvim
- 794
- 3
- 21
- 37
0
votes
1 answer
Can keep alive be enabled over secure https?
I've been trying to enable Keep Alive on my https site with no luck. Is it possible? Sometimes I see on my test page it says "connection closed."
Here's what I have in my htaccess right now that doesn't seem to work:
Header set Connection…

Freejoy
- 123
- 2
0
votes
0 answers
Scriptable FTPS client able to send Keep Alive to control port?
We need a FTP client that satisfies the following constraints:
Windows
Command-line scriptable, so we can automate it...sorry, FileZilla (?)
FTPS, as it seems to perform better than SFTP
The ability to send KeepAlive commands to the FTPS control…

iokevins
- 274
- 2
- 18
0
votes
2 answers
keepAlive in Apache causing apache to reach its max_clients
I have an Apache 2.2 running on ubuntu 11.4 with 16Gb RAM, for image hosting from mobile phones through GPRS,since connection is slow i have enabled keepalive and set time out to 6,**based on average loading time.But usually even with 10-20 users…

ananthan
- 1,510
- 1
- 18
- 28
0
votes
2 answers
How to add persistent connection support to a load-balanced HTTP webservice
We are working on an HTTP webservice load-balanced using haproxy. The webservice is accessed via SSL. It is a RESTful HTTP service and simply accepts JSON, does some work, and returns JSON. There is no notion of a session.
We have redundant…

jkndrkn
- 105
- 1
- 4
0
votes
0 answers
What's the difference between Nginx 'keepalive_time' and 'keepalive_timeout'?
In official Nginx docs a new directive added since v1.19.10 named keepalive_time 1h:
Nginx keepalive_time Doc
Limits the maximum time during which requests can be processed through one keep-alive connection. After this time is reached, the…

Mohamad Reza
- 1
- 1