Questions tagged [keep-alive]
The keep-alive tag has no usage guidance.
29
questions
0
votes
0
answers
2k
views
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 ...
1
vote
0
answers
293
views
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.
...
1
vote
0
answers
618
views
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 "...
2
votes
1
answer
1k
views
nginx: log which requests where done over the same keep-alive connection
Is there any way to create a custom log file, that allows to see which requests were handled in the same keep-alive session?
I'd like to create some logs and to estimate how often new sessions are ...
0
votes
1
answer
953
views
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 ...
0
votes
1
answer
561
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
2
answers
4k
views
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 <img /> tags. On that remote server I do ...
1
vote
2
answers
3k
views
Is there a way to keep internet connection alive?
Im running linux and I have a task which runs only after midnight. The internet connection I use for this, goes offline if there's a period of inactivity and I want to keep the internet connection ...
0
votes
1
answer
819
views
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 ...
2
votes
1
answer
5k
views
Reducing HTTPS handshake by http-keepalive behind a load balancer - possible?
I have an api into which ill get quite a few requests in https. Since its restful, each time the api is sent , it requires a full ssl handshake. On enabling http-keepalive , the latency of the request ...
2
votes
2
answers
9k
views
Configuring nginx reverse proxy to send TCP keep alive packets to server
We have IIS servers in Azure behind load balancer. Load balancer has unconfigurable timeout of 4 minutes after which inactive connection is killed.
We're trying to setup nginx as a reverse proxy to ...
1
vote
2
answers
7k
views
HAProxy doesn't keep-alive http connection
I've switched on the option http-keep-alive in the defaults, as well as tried it in the frontend definition.
But the Response Headers in the browser never show up keep-alive, although its there in ...
12
votes
1
answer
40k
views
Haproxy - timeout http-request vs timeout http-keep-alive vs timeout server
I'm trying to wrap my head around how the haproxy options
timeout http-request <timeout>
timeout http-keep-alive <timeout>
timeout server <timeout>
interact with each other. I'm ...
0
votes
0
answers
732
views
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 ...
1
vote
1
answer
1k
views
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 ...
2
votes
1
answer
4k
views
Tuning tcp_keepalive_time for Node.js leak
I'm currently having a socket leak with my Node.js application.
This bug is also posted here.
I hope to fix this soon. CLOSE_WAIT and FIN_WAIT2 seem to be the major problem.
Connections: 1662
...
4
votes
2
answers
3k
views
Is it possible to tell nginx over fastcgi to pass a Connection: close header through unaltered?
TL;DR: How can I tell nginx from my php-fpm backend to a) send a "Connection: close" header and b) to not buffer my response?
I have a set up running php-fpm behind nginx. In general, this works very ...
2
votes
1
answer
2k
views
Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive
I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends.
I compute the name of the backend from the path given by the user.
e.g: https://myhostname.com/myaccount translates ...
1
vote
2
answers
6k
views
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 ...
7
votes
2
answers
23k
views
How filter only keep-alive packet with tcpdump
I need to analyze a traffic-dump on my network to check if all the PCs have enabled tcp keep-live features.
I'm using tcpdump for that purpose.
What I need to know is if there is a possibility to ...
3
votes
1
answer
11k
views
Configure keep alive timeout on Jetty 6.1.19
How do you set the timeout on keep alive connections to the Jetty web server (in my case v6.1.19)?
I would like to configure how long Jetty keeps connections open when a client requests keep alive. ...
1
vote
1
answer
290
views
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 ...
0
votes
2
answers
3k
views
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 ...
1
vote
1
answer
6k
views
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 ...
0
votes
2
answers
3k
views
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 ...
4
votes
1
answer
4k
views
How do I confirm whether a particular Apache configuration directive is set?
How do I dynamically check/list a particular Apache configuration directive? I know that this can be checked manually from httpd.conf file, but is there any other way this can be confirmed/found from ...
1
vote
2
answers
3k
views
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 ...
2
votes
1
answer
6k
views
Keep-Alive header not sent from Tomcat 5.5 http connector?
We're currently using a hardware load balancer, which then goes to Apache and that then goes to Tomcat 5.5 via the AJP connector.
We've decided to dump apache for various reasons - In our current ...