Questions tagged [keepalive]

120 questions
0
votes
1 answer

Apache delays serving an empty html file while processing a concurrent request

I have a website, which queries a Varnish server, which queries an Apache server, which queries a db server. At 07:00:00, a request is send to the Apache server, which triggers a db request that takes over 30 seconds to process. While the db server…
Elvex
  • 217
  • 2
  • 9
0
votes
0 answers

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) with a request also declared as…
Shimi
  • 116
  • 2
0
votes
1 answer

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 handshake; it is an idle connection after the TCP…
curious_george
  • 174
  • 1
  • 8
0
votes
1 answer

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 time of waiting. The application log says that…
alextup
  • 11
0
votes
1 answer

Why aren't connections released by the tomcat AJP connector

I have here a jboss with a web application. The tomcat is configured to use the ajp connector. Incoming connections are tunneled via an apache reverse proxy to the connector. Now I recognized that under heavy load the connector keeps a bunch of…
Chris
  • 143
  • 1
  • 1
  • 8
0
votes
1 answer

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 to the request before it reaches my web server,…
HappyCoder86
  • 103
  • 3
0
votes
3 answers

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 images, etc... Do you have some recommend…
lickmycode
  • 167
  • 3
  • 9
0
votes
2 answers

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?
Daniele B
  • 357
  • 4
  • 14
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
  • 275
  • 2
  • 18
0
votes
1 answer

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 server should be able to handle all the connection…
user991710
  • 193
  • 2
  • 9
0
votes
1 answer

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: https://serverfault.com/questions/427296/nginx-php-fpm-strange-issue-when-trying-to-display-images-via-php-gd-readf I was able to track it down to keep…
anonymous-one
  • 958
  • 4
  • 26
  • 43
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,490
  • 1
  • 17
  • 27
0
votes
1 answer

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 MinSpareServers 100 MaxSpareServers …
ananthan
  • 1,490
  • 1
  • 17
  • 27
0
votes
2 answers

Keep-alives are not working for websites with NodeBalancer in Linode

I have following configuration in my linode slice NB <----->web1+web2+web3 Here's the configuration screenshot from linode: We need NB in http mode since we need few things that plain tcp mode does not give. Now my problem is : when i run…
kaji
  • 2,510
  • 16
  • 17
0
votes
2 answers

Keeping connections open

I'm new to cURL and I'm trying to do something reasonably simple. I want to login to a server and download data at regular intervals over a few hours. First, I login to the server - which I've managed by posting the login values like so: curl -v -c…
Gary
  • 3
  • 1