Hi Jie Jin,

On Fri, Jun 20, 2014 at 11:55:54AM +0800, Jie Jin wrote:
> Hi, all
> 
> Finally, I got some log and screenshot from the haproxy.
> 
> We use haproxy 1.4.25. But recently we met a problem: so many 4xx requests,
> nearly 6% - 8%.
> 
> I want to know why so many 400 requests, and fix it.
> 
> I have analyze the log, most of the 4xx requests are 400 requests which
> marked as BADREQ
> below is the sample of log, ip address has been anonymized. (Our clients
> continuously send a heartbeat every 30 seconds)

Then I suspect that your client's heartbeats are bogus. When you get a
BADREQ, you should issue "show errors" on the stats socket to get a full
dump of it. It will contain a full dump of the exact request it received
and indicate what was found wrong there.

Regards,
Willy


Reply via email to