Questions tagged [keepalive]

121 questions
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…
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…
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…
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
2
votes
0 answers

A tool to measure overhead of establishing TCP connections

I need a tool which would while doing port forwarding measure how much time was spent establishing TCP connections vs total time passed. Charles debugging proxy has the port forwarding feature and shows the total time from the beginning of the first…
axk
  • 267
  • 1
  • 6
  • 14
2
votes
1 answer

How to find the connection time-out value in linux?

I am setting up a nginx webserver with php-fpm and (d)dos deflate to ban attacks. Now currently there is no traffic to my server at all, as i'm testing things. With this command i can see who is connected to my server, and how many connections…
Mr.Boon
  • 1,471
  • 4
  • 24
  • 43
2
votes
1 answer

Keeping a Python Script alive after leaving SSH Client?

I have a while loop in my Python Script and its independent script so I can't run it as a daemon. Also I have tryed using nohup, but I'm having this error: root@ubuntu:~/Desktop/starthere-group-ok# nohup python yApp.py & [1]…
MrCskncn
  • 23
  • 5
2
votes
1 answer

HP switch 'mirror port' makes a Cisco switch port err-disabled due to keepalive loop-back

I'm trying to connect an HP ProCurve 5304xl switch to a Cisco 2950. The HP port I'm connecting to is described as a 'mirror port', which appears to be like a SPAN port except that it also allows ingress traffic. What I want is to push the traffic…
Matt Bennett
  • 143
  • 7
2
votes
2 answers

TIME_WAIT Info (reduce)

I have a ajax application that makes a request every 3 seconds, the requested page sets the header to (header("Connection: Keep-Alive, close");) then performs a database query and returns the latest data. The value for TIME_WAIT is 60 seconds, so…
Akash
  • 229
  • 3
  • 7
2
votes
2 answers

How to enable `Keep Alive` in a shared hosting environment?

I have only acces to the php.ini file and my good old .htaccess file. Where do I enable the Keep Alive setting? ( Im on a plesk 8.2 )
Sam
  • 423
  • 3
  • 7
  • 23
2
votes
1 answer

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 system it doesnt provide any advantage. However when…
Codek
  • 203
  • 2
  • 9
2
votes
0 answers

How to know the source of certain TCP traffic on AIX

We have two AIX boxes, one for production system and another for testing. both systems are running ATM machine switches, where the ATM device is connected via TCP socket. we had an issue on production system where the machine would power off or get…
A.Rashad
  • 293
  • 1
  • 5
  • 18
2
votes
1 answer

Nginx upstream keepalive with SNI

I've got Nginx setup to proxy two subdomains. SNI is used so each subdomain has a different SSL certificate. Nginx setup is roughly: upstream a_example_443 { server 1.2.3.4:443; keepalive 128; keepalive_timeout 180s; } upstream…
Nate
  • 204
  • 2
  • 3
  • 8
1
vote
2 answers

Can TCP Keepalive technique be used to prevent DDOS?

I am learning about DDOS and the techniques to mitigate it. TCP Keepalive is used to check if the other host is still up and if the host does not acknowledge the tcp keep alive message, the connection is terminated. I am wondering if these messages…
Ayush Goyal
  • 131
  • 6
1
vote
1 answer

Amazon ELB doesn't clean up KeepAlive connections

AWS documentation mentions the following: To ensure that the load balancer is responsible for closing the connections to your instance, make sure that the value you set for the HTTP keep-alive time is greater than the idle timeout setting on…
1
vote
0 answers

How to make nginx mail auth connection persistent?

We are using nginx 1.7.3 as a reverse proxy for our Mail SMTP service. For authentication of each SMTP connection, we have configured nginx to connect with a http based service for authentication. Here is a snippet of our nginx config: mail { #…
1 2 3
8 9