HAProxy - 504 Gateway Timeout error.

2011-07-06 Thread Gi Dot
Hi, We have recently migrated our game servers from Linux to FreeBSD. We have 8 web servers running in jails, with HAProxy as load balancer. We also have CARP configured in case of network failover. carp is running as master on the 1st server(webm01), and backup on the 2nd server(webm02).

Redirection based on source URL (using parameters)?

2011-07-06 Thread RODRIGUEZ Unai
Dear All, I am trying to set up redirection rules that use part of the source URL on the destination URL. Example: /(..)/home.htm - /home/$1 Is it possible to do this in HAProxy? Would you please throw some pointers on how? Thank you so much. -- Kind Regards, RODRIGUEZ Unai Senior

Re: HAProxy - 504 Gateway Timeout error.

2011-07-06 Thread Hank A. Paulson
Try adding: optionhttplog under your listen, I am not sure what haproxy does if you say tcplog after saying httplog, so you want to make sure have httplog since those log entries provide more info. Run with option httplog on the listen during the busy time and post some examples of the

Re: HAProxy - 504 Gateway Timeout error.

2011-07-06 Thread Baptiste
hi, Your maxconn seems a bit low if you have a lot of clients... Maybe you should try increasing it or at lease increase the queue timeout. As hank said, turn on http log, it will provide you very interesting information about your issue. cheers

Redirection based on source URL (using parameters)?

2011-07-06 Thread RODRIGUEZ Unai
Dear All, I am trying to set up redirection rules that use part of the source URL on the destination URL. Example: /(..)/home.htm - /home/$1 Is it possible to do this in HAProxy? Would you please throw some pointers on how? Thank you so much. -- Kind Regards, RODRIGUEZ Unai