I have an haproxy 1.5 server set up in tcp mode connecting to three backend 
postfix servers.  The trouble is some of our groupmail clients are experiencing 
sudden jumps in Tt:

Jun  2 08:01:44 localhost haproxy[976]: 139.182.111.139:58685 
[02/Jun/2017:08:01:43.123] ft_smtp bk_postfix/mailcampaign2 1/0/971 1253 -- 
6/6/6/1/0 0/0
Jun  2 08:01:44 localhost haproxy[976]: 139.182.111.139:58663 
[02/Jun/2017:08:01:43.200] ft_smtp bk_postfix/mailcampaign3 1/0/925 1253 -- 
5/5/5/2/0 0/0
Jun  2 08:02:30 localhost haproxy[976]: 139.182.111.139:58688 
[02/Jun/2017:08:01:43.997] ft_smtp bk_postfix/mailcampaign2 1/0/46106 441 -- 
8/8/8/2/0 0/0
Jun  2 08:02:30 localhost haproxy[976]: 139.182.111.139:58689 
[02/Jun/2017:08:01:44.028] ft_smtp bk_postfix/mailcampaign3 1/0/46076 441 -- 
7/7/7/2/0 0/0

Are there any suggestions for improving my HAProxy config?

global
    log         127.0.0.1 local2

    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     4000
    user        haproxy
    group       haproxy
    daemon

    stats socket /var/lib/haproxy/stats

frontend ft_smtp
    bind 0.0.0.0:25
    mode tcp
    no option http-server-close
    timeout client 1m
    log global
    option tcplog
    default_backend bk_postfix

frontend ft_submission
    bind 0.0.0.0:587
    mode tcp
    no option http-server-close
    timeout client 1m
    log global
    option tcplog
    default_backend bk_postfix

backend bk_postfix
    mode tcp
    no option http-server-close
    log global
    option tcplog
    timeout server 1m
    timeout connect 5s
    server mailcampaign1 139.182.75.70:10024 send-proxy
    server mailcampaign2 139.182.75.80:10024 send-proxy
    server mailcampaign3 139.182.75.78:10024 send-proxy



---
Chad Cordero
Information Technology Consultant
Enterprise & Cloud Services
Information Technology Services
California State University, San Bernardino
5500 University Pkwy
San Bernardino, CA 92407-2393
Main Line: 909/537-7677
Direct Line: 909/537-7281
Fax: 909/537-7141
http://support.csusb.edu/

---
Disclaimer: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information protected 
from disclosure. If the reader of this message is not the intended recipient, 
or an employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message 
and deleting it from your computer.

Reply via email to