i using haproxy in front of 2 webapps deployed in tomcat. when testing high availability, made 10000 requests , @ point kill 1 of tomcat instances. 1 or 2 requests errors. request sent using spring's resttemplate. here exception: "org.springframework.web.client.resourceaccessexception: i/o error on post request "http://:8080/myservice/_doaction":unexpected end of file server; nested exception java.net.socketexception: unexpected end of file server" the haproxy stats says in "errors" section, "resp" subsection, when hover on number shown there, 2 : "connection resets during transfers:1 client, 2 servers". means? also, on "warnings" section have "retr":29 , "redis":1. tells me request being redispatched "living" server. assumption correct? here haproxy.cfg: listen tomcat_frontend bind *:8080 timeout client 5000ms timeout server 5000ms mode http option httpclose op...
Comments
Post a Comment