Hello all,
We have a configuration of 1 harproxy server and 4 http application(PHP)
servers..
We are seeing some behavior we are having trouble explaining and was wondering
if anyone here on this list might have some suggestions where to look.
We see some requests come into haproxy, route to an application server, but it
seems as though the response never gets back to haproxy as it is reporting a
gateway timeout.
here is an example log line from haproxy log.
May 24 17:05:49 localhost haproxy[8977]: 68.171.234.82:60394
[24/May/2010:17:04:49.223] app-frontend api_current/hall 0/0/0/-1/60001 504 194
- - sH-- 25/25/20/10/0 0/0 {557730992|1274720695558} "POST /0.5/stats/detail
HTTP/1.0"
When we track that request on the application server, it is received and based
on PHP timing of the process it completes in about .02 seconds. The access
log for the application server reports it returned a 200 response..
However haproxy timesout at 60 seconds(as it is supposed to), because it never
got the response.
I don't think it is a problem with a specific machine, as I have seen this
behavior on each of the application servers, and is it not specific to that
particular path either.
It is unclear why the response does not make it back to haproxy and am curious
how one should go about debugging this issue.
Thanks for any help or insights.
Naveen Ayyagari
@knight9