# HAproxy always got Layer7 timeout error

**URL:** <https://forums.percona.com/t/haproxy-always-got-layer7-timeout-error/5954>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [October 23, 2017, 9:27pm UTC](https://forums.percona.com/t/haproxy-always-got-layer7-timeout-error/5954 "2017-10-23T21:27:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dixon](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dixon](https://forums.percona.com/u/dixon)\
**Post date:** [October 23, 2017, 9:27pm UTC](https://forums.percona.com/t/haproxy-always-got-layer7-timeout-error/5954/1 "2017-10-23T21:27:43Z")

</div>

HI ,all.Today we got haproxy erro.health checking alway got issue.  
Oct 24 10:45:22 localhost haproxy[6645]: Server mysqlcluster\_back/172.29.9.43 is DOWN, reason: Layer7 timeout, check duration: 10000ms. 2 active and 0 backup servers left. 52 sessions active, 0 requeued, 0 remaining in queue.  
Oct 24 10:45:23 localhost haproxy[6645]: 172.29.9.168:52607 [24/Oct/2017:09:44:52.703] mysqlcluster\_front mysqlcluster\_back/172.29.9.43 1/0/3631004 141694 – 126/126/126/51/0 0/0  
Oct 24 10:45:32 localhost haproxy[6645]: Server mysqlcluster\_back/172.29.9.41 is DOWN, reason: Layer7 timeout, check duration: 10001ms. 1 active and 0 backup servers left. 1 sessions active, 0 requeued, 0 remaining in queue.

did the wsrep flow issue? below was noed 1 statu:  
mysql\> SHOW global status LIKE ‘wsrep%’;  
±-----------------------------±-------------------------------------+  
| Variable\_name | Value |  
±-----------------------------±-------------------------------------+  
| wsrep\_local\_state\_uuid | 71ff9701-81a2-11e7-aa25-5f865e134a58 |  
| wsrep\_protocol\_version | 5 |  
| wsrep\_last\_committed | 3856332 |  
| wsrep\_replicated | 1028082 |  
| wsrep\_replicated\_bytes | 15409655941 |  
| wsrep\_repl\_keys | 35038492 |  
| wsrep\_repl\_keys\_bytes | 304259744 |  
| wsrep\_repl\_data\_bytes | 11031049224 |  
| wsrep\_repl\_other\_bytes | 0 |  
| wsrep\_received | 2926806 |  
| wsrep\_received\_bytes | 100038333458 |  
| wsrep\_local\_commits | 1027658 |  
| wsrep\_local\_cert\_failures | 70 |  
| wsrep\_local\_replays | 3 |  
| wsrep\_local\_send\_queue | 0 |  
| wsrep\_local\_send\_queue\_avg | 0.000119 |  
| wsrep\_local\_recv\_queue | 0 |  
| wsrep\_local\_recv\_queue\_avg | 5.928093 |  
| wsrep\_local\_cached\_downto | 3844334 |  
| wsrep\_flow\_control\_paused\_ns | 17185811253435 |  
| wsrep\_flow\_control\_paused | 0.002885 |  
| wsrep\_flow\_control\_sent | 28 |  
| wsrep\_flow\_control\_recv | 48 |  
| wsrep\_cert\_deps\_distance | 25.061500 |  
| wsrep\_apply\_oooe | 0.006056 |  
| wsrep\_apply\_oool | 0.000286 |  
| wsrep\_apply\_window | 1.020095 |  
| wsrep\_commit\_oooe | 0.000000 |  
| wsrep\_commit\_oool | 0.000038 |  
| wsrep\_commit\_window | 1.015331 |  
| wsrep\_local\_state | 4 |  
| wsrep\_local\_state\_comment | Synced |  
| wsrep\_cert\_index\_size | 3700 |  
| wsrep\_causal\_reads | 466723080 |  
| wsrep\_cert\_interval | 0.527902 |  
| wsrep\_incoming\_addresses | , |  
| wsrep\_cluster\_conf\_id | 9 |  
| wsrep\_cluster\_size | 3 |  
| wsrep\_cluster\_state\_uuid | 71ff9701-81a2-11e7-aa25-5f865e134a58 |  
| wsrep\_cluster\_status | Primary |  
| wsrep\_connected | ON |  
| wsrep\_local\_bf\_aborts | 1961 |  
| wsrep\_local\_index | 2 |  
| wsrep\_provider\_name | Galera |  
| wsrep\_provider\_vendor | Codership Oy \<info@codership.com\> |  
| wsrep\_provider\_version | 3.5(r178) |  
| wsrep\_ready | ON |

---

<div class="post-metadata">

**Author:** ![dixon](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dixon](https://forums.percona.com/u/dixon)\
**Post date:** [October 23, 2017, 10:00pm UTC](https://forums.percona.com/t/haproxy-always-got-layer7-timeout-error/5954/2 "2017-10-23T22:00:07Z")

</div>

Oct 24 10:44:45 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21217 duration=0(sec)  
Oct 24 10:44:57 osspclu1 xinetd[2126]: START: mysqlchk pid=21225 from=::ffff:172.29.100.103  
Oct 24 10:44:57 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21225 duration=0(sec)  
Oct 24 10:45:09 osspclu1 xinetd[2126]: START: mysqlchk pid=21233 from=::ffff:172.29.100.103  
Oct 24 10:45:09 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21233 duration=0(sec)  
Oct 24 10:45:21 osspclu1 xinetd[2126]: START: mysqlchk pid=21244 from=::ffff:172.29.100.103  
Oct 24 10:45:43 osspclu1 xinetd[2126]: START: mysqlchk pid=21254 from=::ffff:172.29.100.103  
Oct 24 10:45:51 osspclu1 xinetd[2126]: EXIT: mysqlchk signal=13 pid=21244 duration=30(sec)  
Oct 24 10:46:05 osspclu1 xinetd[2126]: START: mysqlchk pid=21264 from=::ffff:172.29.100.103  
Oct 24 10:46:13 osspclu1 xinetd[2126]: EXIT: mysqlchk signal=13 pid=21254 duration=30(sec)  
Oct 24 10:46:27 osspclu1 xinetd[2126]: START: mysqlchk pid=21274 from=::ffff:172.29.100.103  
Oct 24 10:46:35 osspclu1 xinetd[2126]: EXIT: mysqlchk signal=13 pid=21264 duration=30(sec)  
Oct 24 10:46:49 osspclu1 xinetd[2126]: START: mysqlchk pid=21285 from=::ffff:172.29.100.103  
Oct 24 10:46:57 osspclu1 xinetd[2126]: EXIT: mysqlchk signal=13 pid=21274 duration=30(sec)  
Oct 24 10:47:08 osspclu1 xinetd[2126]: EXIT: mysqlchk signal=13 pid=21285 duration=19(sec)  
Oct 24 10:47:11 osspclu1 xinetd[2126]: START: mysqlchk pid=21296 from=::ffff:172.29.100.103  
Oct 24 10:47:12 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21296 duration=1(sec)  
Oct 24 10:47:24 osspclu1 xinetd[2126]: START: mysqlchk pid=21305 from=::ffff:172.29.100.103  
Oct 24 10:47:24 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21305 duration=0(sec)  
Oct 24 10:47:36 osspclu1 xinetd[2126]: START: mysqlchk pid=21313 from=::ffff:172.29.100.103  
Oct 24 10:47:36 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21313 duration=0(sec)  
Oct 24 10:47:48 osspclu1 xinetd[2126]: START: mysqlchk pid=21321 from=::ffff:172.29.100.103  
Oct 24 10:47:48 osspclu1 xinetd[2126]: EXIT: mysqlchk status=0 pid=21321 duration=0(sec)  
Oct 24 10:48:00 osspclu1 xinetd[2126]: START: mysqlchk pid=21331 from=::ffff:172.29.100.103
