Ok, it seems that problem was in:
contimeout
clitimeout
I've reduced these parameters and now seems that all is working fine.
I've read haproxy documentation but I can't completly understand the meaning
of "Set the maximum inactivity time on the client side": this mean that
after complete download of the page haproxy leave opened the connection
until...:
1) Client do some operations
2) Timeout reached
Probably my problem was the second point: page was correctly loaded and
haproxy wait for other activity.
Is it correct?
Thanks for your help.
Carlo
-----Messaggio originale-----
Da: Carlo Granisso [mailto:[email protected]]
Inviato: lunedì 29 giugno 2009 14.34
A: 'John Lauro'
Cc: [email protected]
Oggetto: R: Delay problem
If I try to see web pages without haproxy I've no problem... I'm trying to
tune haproxy first
Thanks for your help.
Carlo
-----Messaggio originale-----
Da: John Lauro [mailto:[email protected]]
Inviato: lunedì 29 giugno 2009 14.25
A: 'Carlo Granisso'
Oggetto: RE: Delay problem
Reloading just haproxy, or reloading the jsp server? If jsp, I think it's
to be expected, although you might be able to do some tuning in haproxy to
minimize the amount of traffic to a server coming online. JSP has to
compile pages as it encounters them the first time after a reload, making
each page slow at first.
Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.12.93/2206 - Release Date: 06/29/09
05:54:00