koexuka <koexuka@...> writes:

> 
> Hello I use Haproxy v1.4.24 on CentOS 5.9, with TCP mode.
> (My configure is nbproc 6 to use multi processes)

Willy will say you should probably not use more than 1 proc

> I found a lots of 'Errors Req' on Haproxy status page. ( /haproxy?hastat )
> This page shows on Frontend section, 
> for example..
>  - Sessions > Total 563,092
>  - Errors > Req 11,469

Something like
echo "show errors" | socat unix-connect:/tmp/hap.sock stdio > \
/dev/shm/myhapshowerrs.out 2> /dev/shm/myhapshowerrs.err
Here is  a shell script that will save each new error into a separate
 file, but will not save files with the same error over and over.
http://ur1.ca/ehdz7
put that is cron and run it every minute or so, you will get all the 
request and response errors detailed in each file.

> So, I have a hypothesis 'errors req count' will increase
> when Haproxy received 'RST' packet on TCP connection from client...?
> 
> Please give me any ideas.
> Thanks.

RST/disconnects show in the log entry for each request/connection
 like "SH" see logging section for details.
http://code.google.com/p/haproxy-docs/wiki/SessionState





Reply via email to