The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
19 views

optimize apache for high latency satellital internet connections

I have an Apache server delivering a web app, the clients are in remote areas using satellite connections, this connections are in the range of 3mb downlink, 1mb uplink, but they have high latency (...
0
votes
0answers
49 views

Unable to get Nginx/Apache + FastCGI + PHP-FPM + HTTP/1.0 to use Keep-Alive

For a reason beyond my control (an app that cannot be modified), I need to get a server that processes HTTP requests for PHP pages over FastCGI, to honour "Connection: Keep-alive" (sent by said client)...
1
vote
0answers
23 views

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 ...
1
vote
1answer
92 views

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 ...
0
votes
0answers
45 views

Max HTTP request time for requests and downloads

What is the maximum http request time for the following: A. a Request that the server sends a few bytes of a Response every 5 seconds for 1 hour B. a Request that the server does not begin sending a ...
2
votes
2answers
700 views

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 ...
1
vote
2answers
225 views

Keeping TCP connections alive to track which clients are online

I am developing an application where a server needs to stay in touch with lots of simple IoT devices. Nearly no information exchange is needed between the server and each device, but devices need to ...
0
votes
1answer
163 views

TCP Keepalive: Why does an idled ESTABLISHED connection end after 60 seconds, instead of tcp_keepalive_time?

I am investigating ways to mitigate a server against DoS-type attacks. In one scenario, I've opened several hundred TCP connections to my webserver. I do not send any data after the initial TCP ...
0
votes
1answer
38 views

WebSphere breaks connection while servlet continues to work

We have an application running on WebSphere. Requests are often running for a long time (tens of minutes). Our users report that Internet Explorer breaks connection and shows blank screen after some ...
1
vote
1answer
425 views

Keepalived + Haproxy performance, apache or nginx? [duplicate]

I have a question about Keepalived + Haproxy. At work I am assigned to deploy a redundant web server with Keepalived and Haproxy. Our setup at the moment is as follows: Apache (as load balancer) + ...
5
votes
2answers
538 views

(Why) does FreeBSD 'net.inet.tcp.always_keepalive' violate RFC1122?

While working on a server application that runs on FreeBSD and uses TCP, I noticed that TCP keepalive probes get sent even though my application explicitly disables SO_KEEPALIVE on TCP sockets. ...
1
vote
0answers
1k views

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 ...
1
vote
0answers
515 views

Keepalive best practices for Nginx-Haproxy-Apache chain

I am using Nginx to serve static content, and Haproxy to proxy requests to multiple Apache2 backends discovered via Zookeeper. Nginx -> Haproxy -> Apache2 According to the official Nginx website, it ...
2
votes
1answer
678 views

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 ...
0
votes
1answer
464 views

Configure Server to Initiate Http Keep-Alive

I have a set of clients that aren't including an http keep-alive header in their requests to my server. If I use something like Varnish to filter the incoming requests and add the keep-alive header ...
2
votes
1answer
10k 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 ...
-2
votes
1answer
221 views

HTTP connection keepalive logic [closed]

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 ...
2
votes
1answer
1k views

Relationship between tcp state TIME_WAIT & HTTP keep-alive

What is the relationship between keep-alive on a HTTP request and a tcp socket in TIME_WAIT - should they be correlated? Furthermore, should system and web server settings be aligned e.g. server.max-...
1
vote
0answers
308 views

How to force/fake linux eth0 in 'up' status even without cable connected?

One of my testing script is eth0 status related, when eth0 goes down(cable unplugged), the script exit, and i need to unplug and plug cable many times due to test needs. is there anyway can fake ...
0
votes
1answer
936 views

Tuning Apache KeepAlive Timeout for HTTPS

My website forces HTTPS everywhere and has an average first load time of 3-5 seconds. Thanks to caching, repeat load time is 0.8 seconds. The SSL negotiation takes 150-300ms on my server, so I want ...
9
votes
3answers
9k views

nginx connection timeout & client closed connection issue

I have this nginx server running on AWS & it was working all fine until recently when couple of users started complaining about the website not opening until they made some 10 attempts to access ...
2
votes
1answer
4k views

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 ...
0
votes
3answers
1k views

Which settings schould be changed to lower apache CPU usage and use more RAM?

On our CentOS 6 server, we have now a lot of CPU overload, while our RAM is almost not used. KeepAlive is set to "on" because we have some AJAX elements on your website and serving many files such as ...
2
votes
1answer
1k views

Apache: Force HTTP 1.1 or Persistent/KeepAlive connections for HTTP 1.0 requests

I want to force Keep Alive or Persistent connections for all HTTP requests on my Apache 2.2.3 server running on RHEL 5.8. A lot of web crawlers are using HTTP 1.0 for some reason, and I would like to ...
1
vote
0answers
109 views

tcpdump expression to show zero-byte ACKs?

I want to show zero-byte TCP keepalives sent and received. While this could be generally useful, in this particular case I want to prove that a change I made to the JDBC driver (adding tcpKeepAlive=...
6
votes
1answer
11k views

Should `keepalive_timeout` be removed from Nginx config?

Which is the better configuration/optimization: to explicitly limit the keepalive_timeout or to allow Nginx to kill keepalive connections on its own? I have seen two conflicting recommendations ...
0
votes
2answers
636 views

Http Persistent Connection (keep-alive) and port numbers

Is a persistent http connection (keep-alive), always bound to a specific port, or can it use a range of ports?
0
votes
1answer
312 views

How do I know that my TCP connection is safe from the Firewalls/NAT?

Being on the Azure cloud, I found that the firewalls there drop connections between the Web server and the database quite often. Mostly when there was some inactivity, I think something between 5 and ...
-1
votes
1answer
766 views

How do I change my ubuntu keepalive to infinity?

http://www.golinuxhub.com/2013/03/setting-up-custom-tcpip-keep-alive.html Once I connect to my development server, I don't want it to automatically disconnect unless I quit my terminal. What ...
0
votes
0answers
315 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 ...
4
votes
2answers
3k views

Large keepalive_requests values are severely slowing-down Nginx

When running a bacon (43-byte transparent pixel) load test on Nginx, we have tried several keepalive_requests values (from 10 to 100,000) and the optimal value seems to be 10. Here are the server ...
1
vote
1answer
452 views

Do keepalives to socket connections exist?

Pre briefing: Although my question is broad on purpose, I am dealing with nginx connecting to php-fpm (fcgi), which is served via a local socket (/tmp/somesocket.socket). Nginx has a setting to ...
0
votes
1answer
387 views

Making Dovecot keep its TCP connections alive?

I'm trying to run a benchmarking application which connects to my IMAP server and has a "warm up" phase during which IMAP connections are being established. I've set my limits properly and the mail ...
4
votes
2answers
1k views

Trying to understand how keep-alive works

Today we encountered a problem on the server, when files/scripts took more that 3 seconds to load. The solution was simple - just increasing MaxClients to the estimated memory limit. But I am worried ...
1
vote
1answer
449 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 ...
1
vote
1answer
1k views

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 ...
1
vote
2answers
1k 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 ...
1
vote
2answers
640 views

Spawning HTTPD processes

Can any confirm how Apache spawns new children ? As in if I connect to a webserver (HTTP 1.0 / no keep alive) and issue a HTTP /GET I will be spawned a new HTTPD child. If then issue another HTTP /...
2
votes
3answers
769 views

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-...
0
votes
1answer
3k views

NGINX : Keep alive requests to static content ok - Keep alive requests to php-fpm requests hang until keepalive_timeout is reached

FYI, the initial question I have posted is here, no need to read it as I was way off initially: NGINX + PHP-FPM - Strange issue when trying to display images via php-gd / readfile - Connection wont ...
1
vote
1answer
2k views

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 ...
1
vote
2answers
2k views

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: <VirtualHost *:80> ...
4
votes
0answers
8k views

TCP Keepalive and firewall killing idle sessions

In a customer site, the network team added a firewall between the client and the server. This is causing idle connections to get disconnected after about 40 minutes of idle time. The network people ...
2
votes
1answer
736 views

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 ...
3
votes
7answers
4k views

keep ssh connection alive and persistant while switching network interface connections

Scenario: At my desk with laptop plugged in to ethernet and connected to remote server over SSH Want to move to other side of office with laptop and change to WiFi without interrupting SSH ...
2
votes
0answers
1k views

Is it possible to use local web.config to enable keep-alive?

Is there any way to enable keep-alive on IIS 7 in a hosted scenario? I attempted to use the answer to this SO question Where (or how) is the keep-alive setting in web.config?. I added the following ...
6
votes
7answers
5k views

How can I avoid heroku stopping my dyno?

I build MVP's for clients regularly. Often I deploy on Heroku so they can see if the product works and demo it to prospects and investors. Then I have an application deployed on heroku, and it works ...
0
votes
2answers
1k 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
1answer
799 views

netstat reports ESTABLISHED connection even after I've pulled the cord

I'm experimenting with lost connections between my java application and my mysql server. The application and the server are on two different machines and I'm pulling the physical cord between the ...
0
votes
1answer
248 views

Keep alive and Max_client issue in Apache

I have installed Apache/2.2.17 on ubuntu 11.4(64bit) ,with 48 GB of RAM, and set KeepAlive ON MaxKeepAliveRequests 100 keepalivetimeout to 6 (since lot of dynamic images) StartServers 100 ...