Questions tagged [keepalive]

120 questions
0
votes
1 answer

Apache Timeout/KeepAlive

I run several apache web servers on CentOS 5.x and they all seem to have the same problem. It is typically fast but at times the browser will just sit there waiting forever and it never fails or goes through. Typically if you open a new tab and try…
0
votes
1 answer

Is this normal? Multiple httpd process

I'm testing a new Server. This isnt really a peak time for my server (2pm), but still its running a bit slow, I was checking the ESTABLISHED connections using the following command: # netstat -ntu | grep :80 | awk '{print $5}' | cut -d: -f1 | sort |…
ilcreatore
  • 21
  • 1
  • 3
0
votes
1 answer

how do i turn on the Keep Alive and HTTP Compression in Apache server 2.2( centos)

how do I turn on the KeepAlive and HTTP Compression in Apache server 2.2(centos)
gourav
  • 1
  • 1
0
votes
1 answer

Load Balanced Apache keeps browser/user on same server until restart

So we have a load balancer setup to pass off our http connections to an array of six servers .. I have disabled KeepAlive and for some reason, only after I restart apache, does my additional connections/requests get routed to a different server…
0
votes
3 answers

How to make Apache keep the connection after the request is finished?

So that subsequent request can still use the current connection.
apache
  • 3,027
  • 6
  • 25
  • 25
0
votes
2 answers

apache2 server keepalivetimeout is getting ignored and client always gets close_notify at consistent time

My client requires the server connection to be persistent for long durations to support old software. I have tried changing the Apache2 KeepAliveTimeout to 0, 5, 30, 100 for testing, but the connection is always closed at ~20seconds. This is how the…
0
votes
0 answers

configure inactivity timeout while handling keepalive probes

I am developing a TCP echo server using python and the socket library. I'd like to have a timeout configured for each incoming connection. So to drop and close them if there is inactivity for a SOCK_TIMEOUT value. This is achieve with the specific…
rebatoma
  • 101
  • 2
0
votes
2 answers

Risks of enabling nginx upstream keepalive

Using nginx as HTTP reverse proxy for Apache with PHP backend (I need .htaccess flexibility for webmasters). Seeing http/1.0 used in Apache logs made me look up on how to enable keep-alive connection. Upon my search I found this blog post from Nginx…
logut
  • 1
  • 2
0
votes
0 answers

Is it possible to improve shared-cpu-vps hosting performance with a keep-alive? Or something else?

Taking the leap from dedicated to shared-cpu-vps and have just one major concern: I will no longer have a dedicated CPU. In past tries with vps hosting, I've noticed my servers sometimes don't respond for a second or two, even though the dc is only…
Jeff
  • 1,406
  • 3
  • 26
  • 46
0
votes
0 answers

Keepalived tracking script - Am I able to reduce the time interval to millisecond?

im new here! Ive just set up a cluster which use keepalived to maintain vIP, and haproxy as a loadbalancer proxy. In my keepalived track script configuration, i let keepalived decise the master node by checking haproxy process: vrrp_script…
0
votes
1 answer

Nginx upstream server - client broken connection not timeouting

I have a long poll clients that connect to nginx and upstream to kestrel dot net. Clients have keepalive set that after 2 minutes connection breaks. On nginx side i have listen 0.0.0.0:xxx ssl so_keepalive=5m:10:5; So roughly 6 minutes I pull the…
Lonko
  • 115
  • 5
0
votes
1 answer

keepalived - "notifiy_master"/ "notify_backup" does not start/stop application

I want to start/stop a freeradius depending on the master (start) or the backup (stop) state of the keepalived instance. The freeradius is listening for accounting messages on the shared virtual ip. I tried to reach this with notify_master and…
ryudo
  • 1
0
votes
1 answer

Apache - Loading is very slow after inactivity. Most states of connections are in K - KeepAlive

I enabled the apache status module, and saw that most of the connections on the apache scoreboard are showing a "K" value. On my server, when I enable KeepAlive, during inactivity it takes a while to access the pages, then it gets fast. I checked…
0
votes
1 answer

How to tweak nginx keep-alive settings when you can't guarantee routing to the same host?

I have a scenario where a number of servers are running an nginx instance. For what it's worth, these are mostly just proxied requests. These hosts all sit behind a hardware load balancer and it's not necessarily possible (or desirable, for various…
a p
  • 121
  • 8
-1
votes
1 answer

HTTP connection keepalive logic

I am fairly new to HTTP and pardon me if the question looks stupid. I cant get my head around the HTTP keepalive logic. I am studying HTTP definitive guide. We send multiple requests , response over a single tcp connection is clear , but how this…
Priyanka
  • 7
  • 2
1 2 3 4 5 6 7
8