Dear Team,

We upgraded myhaproxyfrom 1.5dev21 to 1.5.11 stable version with same configuration. At the backend, we are using jBoss. As soon as we upgraded, we encountered serious issue regarding jBoss thread counts. It has been increased tremendously.
After rollback to 1.5dev21, everything works fine.
Please find my below configuration file ofhaproxy. Kindly suggest any changes required to migrate/upgrade to 1.5.11.

-----------------------------------------------------------------------------------------------------------------------------------------

global
        daemon
        maxconn 20000

defaults
        mode http
        timeout connect 15000ms
        timeout client 50000ms
        timeout server 50000ms
        timeout queue 60s
        stats enable
        stats refresh 5s

backend backend_http
        mode http
        cookie JSESSIONID prefix
        balance leastconn
        option forceclose
        option persist
        option redispatch
        option  forwardfor
server server3192.168.58.211:80 <http://192.168.58.211/>cookie server3_cokkie maxconn 1024 check server server4192.168.58.212:80 <http://192.168.58.212/>cookie server4_cookie maxconn 1024 check
        acl force_sticky_server3 hdr_sub(server3_cookie) TEST=true
        force-persist if force_sticky_server3
        acl force_sticky_server4 hdr_sub(server4_cookie) TEST=true
        force-persist if force_sticky_server4
        rspidel  ^Server:.*
        rspidel  ^X-Powered-By:.*
        rspidel  ^AMF-Ver:.*

listen frontend_http *:80
       mode http
       maxconn 20000
       default_backend backend_http

listen frontend_https
       mode http
       maxconn 20000
       bind *:443 ssl crt /opt/haproxy-ssl/conf/ssl/testsite.pem
       reqadd X-Forwarded-Proto:\ https
       reqadd X-Forwarded-Protocol:\ https
       reqadd X-Forwarded-Port:\ 443
       reqadd X-Forwarded-SSL:\ on
acl valid_domains hdr_end(host) -igateway.testsite.com <http://gateway.testsite.com/>www.testsite.com <http://www.testsite.com/>m.testsite.com <http://m.testsite.com/>
       redirect scheme http  if !valid_domains
       default_backend backend_http if valid_domains


------------------------------------------------------------------------------------------------------------------------------------------


NOTE: The jboss thread count went high very fast (as if connections were not closed anymore).


Thanks & Regards,
Sarvesh

Disclaimer: This e-mail and any documents, files, or previous e-mail messages 
appended or attached to it may contain confidential and/or privileged 
information. If you are not the intended recipient (or have received this 
e-mail in error) please notify the sender immediately and delete this e-mail. 
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.

Reply via email to