RE: help with long connect times and timeout

2013-09-11 Thread Lukas Tribus
Hi!


> Thank you Lukas 

Please always answer to the list also; otherwise other people don't see
the new informations.



>> I'm using the current defaults and added this to the config: 
> 
> Can you post the full configuration? The part about timeouts 
> is important in this case. 
> 
> global 
> log 127.0.0.1 local0 
> log 127.0.0.1 local1 notice 
> #log loghost local0 info 
> maxconn 4096 
> #chroot /usr/share/haproxy 
> user haproxy 
> group haproxy 
> daemon 
> debug 
> #quiet 
> defaults 
> log global 
> mode http 
> option httplog 
> option dontlognull 
> retries 3 
> option redispatch 
> maxconn 2000 
> contimeout 5000 
> clitimeout 5 
> srvtimeout 5 
> listen stats :8080 
> balance 
> mode http 
> stats enable 
> stats auth me:password 
> 
> listen smtp :25 
> mode tcp 
> # option tcplog 
> balance roundrobin 
> server smtp 54.213.213.252:25 check 
> server smtp1 54.213.173.99:25 check 
> server smtp2 50.112.191.201:25 check 




> How do I find the version? Even running it in debug mode I don't see a 
> version output 
> I just installed it on Ubuntu 13.04 

Post the output of "haproxy -vv". Also you did not post the output of
the debug logs.



And please do also verify this:
> That sounds like simple packet loss issue to me. 
> 
> Can you tcpdump frontend and backend traffic of such a broken session? 
> Could you start haproxy in debug mode, reproduce the issue and post the 
> log? 




Regards,

Lukas 


RE: help with long connect times and timeout

2013-09-10 Thread Lukas Tribus
Hi Ricardo,


> I'm using the current defaults and added this to the config: 

Can you post the full configuration? The part about timeouts
is important in this case.

Also, please specify what release you are using.



> However once I startup haproxy, and I attempt to connect to the proxy 
> from the outside server, it usually (>95% of the time) takes a few 
> seconds for the connect to establish and sometimes it even times out 
> and the connection is closed. 
> 
> However, even though going from the outside server through haproxy I 
> get delays and timeouts, I can still go directly from the outside 
> server to any of the 3 servers above without any delays or timeouts. 
> The issue is only when going through the proxy 

That sounds like simple packet loss issue to me.

Can you tcpdump frontend and backend traffic of such a broken session?
Could you start haproxy in debug mode, reproduce the issue and post the
log?



Regards,

Lukas