<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'><style>p { margin: 0; }</style><div style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);">Hi,<br>Im running varnish with 3 load balance directors. The first again two windows IIS and the second against a couple of Apache servers, and the third against a couple of Glassfish Servers. The Apache and Glassfish are on the same machines.<br><br>Yesterday Varnish staterd to behavie <em></em>erractil, the sites stop responding and i had to restart varnish every 5 minutes for make it work again.<br>I saw this in the log, i dont know exactly what it means:<br><br>########################################################<br> 147 TxRequest b GET<br> 147 TxURL b /fcgi-bin/mapserv?map=/var/www/mapcity_2_0/map/chile_tiled.map&LAYERS=Oceano%2Craster_sudamerica%2CBoundaries%2CPark%2Curban%2CElevation%2CLakes%2CHidrography%2CEscaleras%2CCalles%2CAvenidas%2CAutopistas%2CCaminos%2Camerica%2Cbound_limit%2CLocality&FORMAT<br> 147 TxProtocol b HTTP/1.1<br> 147 TxHeader b Accept: */*<br> 147 TxHeader b Referer: http://192.168.1.15:8080/cache/<br> 147 TxHeader b Accept-Language: es-cl<br> 147 TxHeader b UA-CPU: x86<br> 147 TxHeader b Accept-Encoding: gzip, deflate<br> 147 TxHeader b User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2)<br> 147 TxHeader b Host: mapa4.mapcity.com<br> 147 TxHeader b X-Forwarded-For: 172.16.1.20<br> 147 TxHeader b X-Varnish: 1045402604<br> 147 TxHeader b X-Forwarded-For: 172.16.1.20<br> 173 SessionClose c dropped<br> 173 StatSess c (null) (null) 1226247930 0 0 0 0 0 0 0<br> 231 SessionClose c dropped<br> 231 StatSess c (null) (null) 1226247930 0 0 0 0 0 0 0<br> 234 SessionClose c dropped<br> 234 StatSess c (null) (null) 1226247930 0 0 0 0 0 0 0<br> 235 SessionClose c dropped<br> 235 StatSess c (null) (null) 1226247930 0 0 0 0 0 0 0<br> 236 SessionClose c dropped<br> 236 StatSess c (null) (null) 1226247930 0 0 0 0 0 0 0<br> 236 SessionClose c dropped<br> 236 StatSess c (null) (null) 1226247931 0 0 0 0 0 0 0<br> 237 SessionClose c dropped<br> 237 StatSess c (null) (null) 1226247931 0 0 0 0 0 0 0<br> 238 SessionClose c dropped<br> 238 StatSess c (null) (null) 1226247931 0 0 0 0 0 0 0<br><br>##################################################################<br><br>The lines with "SessionClose c dropper and null..." start repeating until i restarted Varnish.<br>I know that some changes occurs on the Apache Web Servers, i dont know exactly what was changed.<br><br><br>Also i got this in the log:<br><br>##################################################################<br> 210 TxRequest b GET<br> 210 TxURL b /fcgi-bin/mapserv?map=/var/www/mapcity_2_0/map/chile_tiled.map&LAYERS=Oceano%2Craster_sudamerica%2CBoundaries%2CPark%2Curban%2CElevation%2CLakes%2CHidrography%2CEscaleras%2CCalles%2CAvenidas%2CAutopistas%2CCaminos%2Camerica%2Cbound_limit%2CLocality&FORMAT<br> 210 TxProtocol b HTTP/1.1<br> 210 TxHeader b Host: mapa1.mapcity.com<br> 210 TxHeader b User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; es-AR; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3<br> 210 TxHeader b Accept: image/png,image/*;q=0.8,*/*;q=0.5<br> 210 TxHeader b Accept-Language: es-ar,es;q=0.8,en-us;q=0.5,en;q=0.3<br> 210 TxHeader b Accept-Encoding: gzip,deflate<br> 210 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br> 210 TxHeader b Referer: http://192.168.1.15:8080/cache/<br> 210 TxHeader b X-Forwarded-For: 172.16.1.20<br> 210 TxHeader b X-Varnish: 1045397913<br> 210 TxHeader b X-Forwarded-For: 172.16.1.20<br>##################################################################<br><br>I dont know if is ok the line: "Referer: http://192.168.1.15:8080/cache/", I also dont know where it came from.<br><br><br><br>The configuration of Varnish is:<br><br>###################################################################<br>director webcl_director round-robin {<br> { .backend = { .host = "webcl1"; .port = "http"; } }<br> { .backend = { .host = "webcl2"; .port = "http"; } }<br>} <br><br>director gfish_director round-robin {<br> { .backend = { .host = "webcl1"; .port = "8080"; } }<br># { .backend = { .host = "webcl2"; .port = "8080"; } }<br>} <br><br>director winvc_director round-robin {<br> { .backend = { .host = "winvc1"; .port = "http"; }}<br> { .backend = { .host = "winvc2"; .port = "http"; }}<br> }<br><br><br>sub vcl_recv {<br><br><br> if (req.http.host ~ "^(mapa.|encuestas.|encuestas.|desarrollo.|webservices.|belcorp.|webcl1.|accor.|webcl3.)?mapcity.(cl|com)$") {<br> set req.backend = webcl_director;<br> }<br><br> if (req.http.host ~ "^(omd.|webservice2.|sodexho.)mapcity.(cl|com)$") {<br> set req.backend = gfish_director;<br> }<br><br> if (req.http.host ~ "www.censodecomercio.cl") {<br> set req.backend = gfish_director;<br> }<br><br><br> if (req.http.host ~ "^(beta.|clasico.|www.)?mapcity.(cl|com|pe)$") {<br> set req.backend = winvc_director;<br> }<br><br> # Add a unique header containing the client address<br> remove req.http.X-Forwarded-For;<br> set req.http.X-Forwarded-For = client.ip;<br>}<br><br>##############################################################################<br><br>Any idea why Varnish stop responding?<br><br><br>------------------------------------<br>Patricio Bruna V.<br>IT Linux Ltda.<br>http://www.it-linux.cl<br>Fono : (+56-2) 333 0578 - Chile<br>Fono: (+54-11) 6632 2760 - Argentina<br>Móvil : (+56-09) 8827 0342<br></div></div></body></html>