On Thu, Aug 20, 2009 at 02:12:58PM -0700, Joe Williams wrote:
> Willy,
> 
> Thanks for the response. I am getting nothing with "show errors"
> however "show stat" is giving showing me the eresp count as I would
> expect from the logs.

OK so the 502 is not caused by an invalid header then as you have no
error.

> Additionally the logs are showing "SD" on the 412
> errors which seems odd considering the backend server shouldn't be
> having any connection issues. So I am still trying to nail down what
> the issue is, it seems that that either the http client lib or the
> backend server may be doing something funny.

Hmmm what's your haproxy version ? In 1.3.19, we fixed a case where
a short response from the server could be turned into a 502 if the
server terminated with a TCP reset (eg, during a POST or if the
server rejected haproxy's ACK). Some people were affected on 302.

> By the way, is there any performance hit to leaving that socket open?

no, not at all. However, to keep your FS well organised, I suggest
that you put it in the same directory as the pidfile, and that you
limit the permissions on this socket so that no unauthorized person
may access it.

> Is there a list of commands somewhere in the docs?

yes, in the doc (section 9.2). And since version 1.3.19, when you
type a bad command, it displays the help.

Willy


Reply via email to