John (and list),

Thanks for your last reply, it indeed solved the problem. I followed the
docs for enabling stats, and got that:

'stats' statement ignored for proxy 'RMI' as it requires HTTP mode

Can stats be enabled for mode tcp?

Thanks.

On Thu, Jul 15, 2010 at 4:34 PM, John Marrett <[email protected]>wrote:

> Barak,
>
> > listen  RMI 10.80.0.55:3305
> >
> >         mode tcp
> >
> >         option  httpchk
>
> I doubt that your RMI server is responding that well to your httpchk.
>
> If you enable the stats page and access it (or perhaps the control
> socket), I suspect that you'll see that your backend server is marked as
> down. Once you have the backend server up things may work a little
> better.
>
> You'll need to set up the stats socket on another port from your RMI
> port. You should check out the docs [1], search for the string stats uri
> and you'll find a little configuration example.
>
> [1] http://haproxy.1wt.eu/download/1.4/doc/configuration.txt
>
> -JohnF
>
>

Reply via email to