<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><div id='yahoo__compose_area' style="background-color:white; display:block; font-family:HelveticaNeue-Regular,Helvetica;">Hi,<div><br></div><div>Really appreciate your prompt responses. </div><div>We will reduce the timeouts. </div><div><br></div><div>Meanwhile, we did investigate the issue and found that the problem is with our backend servers although we never have seen the issues before adding Varnish to the architecture. <br><br>Prior to Varnish in the mix, Apache was handling the user requests with Tomcat in the backend. All we did was added Varnish in front of Apache. But the Tomcat runs certain background jobs resulting in heavy resource consumption. We stopped seeing 503s after moving those jobs elsewhere. </div><div><br></div><div>We believe the problem is resolved but  will continue to monitor the system logs. </div><div>I'll report back "if" there are 503s.
 </div><div><br></div><div>Thanks for your active support. Really appreciate!</div><div><br></div><div><br><br><a href="https://yho.com/footer0">Sent from Yahoo Mail for iPhone</a></div></div><div id='yahoo__original_message' class='yQTDBase'><br><blockquote style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex; ">On Sep 2, 2015, 2:54:00 AM, Lasse Karstensen<lkarsten@varnish-software.com> wrote:<div id="msgSandbox_ADfsw0MAACDmVebHOAXroI6n1nM_TEXT" class="msgSandbox" style="padding: 1.5em 0.5em 0.5em 1.2em; word-wrap: break-word;">On Tue, Sep 01, 2015 at 05:32:01PM -0700, Ram Palagummi wrote:<br>> <table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><div id='yahoo__compose_area' style="background-color:white; display:block; font-family:HelveticaNeue-Regular,Helvetica;"><br>We have been using Varnish 4.0.2 and noticing lots of 503s even when back end servers are available and healthy. We don't see any issues with network
 either. <div><br></div><div>FYI, the following are already set in our VCL</div><div><br></div><div>Connect_timeout = 120s</div><div>First_byte_timeout = 120s</div><div>Between_bytes_timeout = 120s</div><div><br></div><div>But we still see 503s, Is there anything else that must be set to resolve this issue?</div><div><br></div><div>Thanks</div><div>Ram</div><div><br><div><br><a href="<a href="https://yho.com/footer0" target="_blank">https://yho.com/footer0</a>">Sent from Yahoo Mail for iPhone</a></div></div></div><div id='yahoo__original_message'></div></html></td></tr></table><br>> <br><br>Please post your email as plain text and not HTML.<br><br>Having timeouts that high is usually a bad idea, as you don't get the<br>log segments back from the worker threads before the timeout goes off.<br>Two minutes is a long time to wait while debuging an issue.<br><br>To get help with this you need to extract varnishlog for the 503s and<br>post that.<br><br>--
 <br>Lasse Karstensen<br>Varnish Software AS<br></div><div></div></blockquote></div></html></td></tr></table>