Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

HAPROXY send 2 requests at time (roundrobin strange behavior )

$
0
0

@AMAUSER wrote:

Hello,

I’m novice in HAPROXY, i’am using 1.8 V
bellow my roundrobin configuration :

=========================
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
stats timeout 30s
user haproxy
group haproxy
daemon

defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
errorfile 500 /etc/haproxy/errors/500.http
errorfile 502 /etc/haproxy/errors/502.http
errorfile 503 /etc/haproxy/errors/503.http
errorfile 504 /etc/haproxy/errors/504.http
option forwardfor
option http-server-close

frontend Loadbalancer_Prod
bind *:80
mode http
default_backend Nodes_Prod

backend Nodes_Prod
mode http
balance roundrobin
option forwardfor
server SERVER1 x.x.x.x:port1 check
server SERVER2 x.x.x.x:port2 check

frontend Loadbalancer_Test
bind *:8080
mode http
default_backend Nodes_Test

backend Nodes_Test
mode http
balance roundrobin
option forwardfor
server SERVER1 x.x.x.x:port1 check
server SERVER2 x.x.x.x:port2 check

listen stats
bind *:88
mode http
stats enable
stats uri /stats
stats realm HAProxy\ Statistics
stats auth admin:admin

=============================
The problem is when i use my Haproxy’s link one time and i see at stats i found that my proxy send tow requests at time for both servers 1 & 2 not in turns as should be in roundrobin mode

Did you have any solution for me ?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>