SOLVED: 2.2.13 mod_proxy: backend connection reused long after ttl expired

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver Schoett wrote:
Some more info: the backend server sends a "TLSv1 Encrypted Alert" spontaneously when a connection is idle for approx. 17s. The error in the log file (with a 502 error code sent to the client) occurs when this alert happens in response to another request being sent over the connection after approx. 17s idle time. We even set ttl=5 now and still see these events.

The problem appeared on our backend server connections, but was caused by a bad client: the client sent HTTP/1.1 requests, but could not understand the chunked response that he received. So he did not know when a response was finished and kept waiting for the connection to close. This timed out after 10s, and then the worker process was returned into the pool. During the time that the client was waiting, the server connection had already been idle, so that its idle time was at least 10s longer than specified with the ttl parameter.

So any time that the worker waits for a client contributes toward the idle time of its server connection.

Regards,

Oliver Schoett



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux