Re: Haproxy stats page incomplete (1.4.17)

2011-10-10 Thread kristof . alentijns
Hi Cyril, 

I removed the nolinger option but I still seem to have the same problem. 

Thanks, 




From:   Cyril Bonté 
To: kristof.alenti...@numius.eu
Cc: haproxy@formilux.org
Date:   10/10/2011 12:07
Subject:Re: Haproxy stats page incomplete (1.4.17)



Hi Kristof, 

Le lundi 10 octobre 2011 11:47:19, kristof.alenti...@numius.eu a écrit :
> Hey, 
> 
> I am having some problems with the HAProxy stats page. I often have to 
> refresh a couple of times before it displays. Also it seems like it is 
> incomplete as there is no table beneath the "General process 
information" 
> part and no "Display option" and "External ressources" links. When 
looking 
> at the source code of the page, the html seems to stop in the middle of 
a 
> line before the page is finished. When comparing with another HAProxy 
> server we use, there definitely seems to be some html missing. We are 
> using following settings:

I'd suggest you to remove the "option nolinger" line, which can produce 
such side effects.

> 
> global
> maxconn 4096
> daemon
> pidfile /var/run/haproxy.pid
>stats socket /tmp/haproxy
> defaults
> modehttp
> retries 3
> option  redispatch
> option  httpclose
> option  abortonclose
> maxconn 2000
> contimeout  5000
> clitimeout  5
> srvtimeout  5
> 
> listen  REPLICON_HTTP 172.10.15.43:80
> modehttp
> cookie  Replicon insert
> balanceroundrobin
> optionhttpclose
> optionnolinger
> stats   enable
> stats   auth myuser:mypass
> stats   uri /haproxy?stats
> reqadd  X-Forwarded-Proto:\ http
> serverwebserver1 172.10.15.41:80 cookie w1 check 
inter 
> 2000 rise 2 fall 5
> serverwebserver2 172.10.15.42:80 cookie w2 check 
inter 
> 2000 rise 2 fall 5
> 
> Any ideas?
> 
> Thanks, 
> 
> Kristof
> Kristof Alentijns - consultant 
> 
> Greenhill Campus
> Interleuvenlaan 15D - 3001 Heverlee - Belgium 
> [M] +32 479 09 30 48  [T] +32 16 20 29 05  [F] +32 16 22 58 95 
> 
> [W] www.numius.eu
> 
> Sent by mobile phone
> 
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __

-- 
Cyril Bonté

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Kristof Alentijns - consultant 

Greenhill Campus
Interleuvenlaan 15D - 3001 Heverlee - Belgium 
[M] +32 479 09 30 48  [T] +32 16 20 29 05  [F] +32 16 22 58 95 

[W] www.numius.eu

Sent by mobile phone

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

Re: Haproxy stats page incomplete (1.4.17)

2011-10-10 Thread kristof . alentijns
No, the other server (for a different environment) uses 1.4.10. 



From:   Baptiste 
To: kristof.alenti...@numius.eu
Cc: haproxy@formilux.org
Date:   10/10/2011 12:04
Subject:Re: Haproxy stats page incomplete (1.4.17)




Hi,

Are both HAProxy to the same version?

cheers

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

Kristof Alentijns - consultant 

Greenhill Campus
Interleuvenlaan 15D - 3001 Heverlee - Belgium 
[M] +32 479 09 30 48  [T] +32 16 20 29 05  [F] +32 16 22 58 95 

[W] www.numius.eu

Sent by mobile phone

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

Re: Haproxy stats page incomplete (1.4.17)

2011-10-10 Thread Cyril Bonté
Hi Kristof, 

Le lundi 10 octobre 2011 11:47:19, kristof.alenti...@numius.eu a écrit :
> Hey, 
> 
> I am having some problems with the HAProxy stats page. I often have to 
> refresh a couple of times before it displays. Also it seems like it is 
> incomplete as there is no table beneath the "General process information" 
> part and no "Display option" and "External ressources" links. When looking 
> at the source code of the page, the html seems to stop in the middle of a 
> line before the page is finished. When comparing with another HAProxy 
> server we use, there definitely seems to be some html missing. We are 
> using following settings:

I'd suggest you to remove the "option nolinger" line, which can produce such 
side effects.

> 
> global
> maxconn 4096
> daemon
> pidfile /var/run/haproxy.pid
>stats socket /tmp/haproxy
> defaults
> modehttp
> retries 3
> option  redispatch
> option  httpclose
> option  abortonclose
> maxconn 2000
> contimeout  5000
> clitimeout  5
> srvtimeout  5
> 
> listen  REPLICON_HTTP 172.10.15.43:80
> modehttp
> cookie  Replicon insert
> balanceroundrobin
> optionhttpclose
> optionnolinger
> stats   enable
> stats   auth myuser:mypass
> stats   uri /haproxy?stats
> reqadd  X-Forwarded-Proto:\ http
> serverwebserver1 172.10.15.41:80 cookie w1 check inter 
> 2000 rise 2 fall 5
> serverwebserver2 172.10.15.42:80 cookie w2 check inter 
> 2000 rise 2 fall 5
> 
> Any ideas?
> 
> Thanks, 
> 
> Kristof
> Kristof Alentijns - consultant 
> 
> Greenhill Campus
> Interleuvenlaan 15D - 3001 Heverlee - Belgium 
> [M] +32 479 09 30 48  [T] +32 16 20 29 05  [F] +32 16 22 58 95 
> 
> [W] www.numius.eu
> 
> Sent by mobile phone
> 
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __

-- 
Cyril Bonté



Re: Haproxy stats page incomplete (1.4.17)

2011-10-10 Thread Baptiste
Hi,

Are both HAProxy to the same version?

cheers


Haproxy stats page incomplete (1.4.17)

2011-10-10 Thread kristof . alentijns
Hey, 

I am having some problems with the HAProxy stats page. I often have to 
refresh a couple of times before it displays. Also it seems like it is 
incomplete as there is no table beneath the "General process information" 
part and no "Display option" and "External ressources" links. When looking 
at the source code of the page, the html seems to stop in the middle of a 
line before the page is finished. When comparing with another HAProxy 
server we use, there definitely seems to be some html missing. We are 
using following settings:

global
maxconn 4096
daemon
pidfile /var/run/haproxy.pid
   stats socket /tmp/haproxy
defaults
modehttp
retries 3
option  redispatch
option  httpclose
option  abortonclose
maxconn 2000
contimeout  5000
clitimeout  5
srvtimeout  5

listen  REPLICON_HTTP 172.10.15.43:80
modehttp
cookie  Replicon insert
balanceroundrobin
optionhttpclose
optionnolinger
stats   enable
stats   auth myuser:mypass
stats   uri /haproxy?stats
reqadd  X-Forwarded-Proto:\ http
serverwebserver1 172.10.15.41:80 cookie w1 check inter 
2000 rise 2 fall 5
serverwebserver2 172.10.15.42:80 cookie w2 check inter 
2000 rise 2 fall 5

Any ideas?

Thanks, 

Kristof
Kristof Alentijns - consultant 

Greenhill Campus
Interleuvenlaan 15D - 3001 Heverlee - Belgium 
[M] +32 479 09 30 48  [T] +32 16 20 29 05  [F] +32 16 22 58 95 

[W] www.numius.eu

Sent by mobile phone

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__