On 5/2/2013 5:46 AM, Godbach wrote:

On 5/1/2013 8:39 AM, Bryan Talbot wrote:
Looks like you've listed the same IP address twice.

-Bryan

Typo, Thanks.
How have I missed that??

Eliezer


Hi, Elizer

You can use roundrobin instead of leastconn as below:

listen tcp 0.0.0.0:225
         mode tcp
         option tcplog
         balance roundrobin
         ...

Then have a try. :-)

Godbach
Thanks,
I have used the roundrobin.
There is another factor in the picture:
##start
listen tcp 0.0.0.0:225
        mode tcp
        option tcplog
        balance leastconn
        maxconn 10000
        server smtp1 192.168.25.1:25 maxconn 10
        server smtp2 192.168.25.1:25 maxconn 10
##end
the maxconn is causing the first to be with high load and the another one to be with lower load which is what we want to achieve.

Eliezer

Reply via email to