[Varnish] #648: http read error: 11

Varnish varnish-bugs at projects.linpro.no
Mon Feb 22 16:28:58 CET 2010


#648: http read error: 11
----------------------+-----------------------------------------------------
 Reporter:  benliles  |        Owner:  phk       
     Type:  defect    |       Status:  closed    
 Priority:  normal    |    Milestone:            
Component:  varnishd  |      Version:  2.0       
 Severity:  normal    |   Resolution:  worksforme
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by benliles):

 More testing late last week indicates that its the sess_timeout parameter
 that can be set at run time that was the problem. Despite settings in the
 vcl for timeouts on the backend of 1s on first connect, 120s for first
 byte and default (60s I think) for further bytes. The default
 sess_timeout, which is labeled as being an idle client timeout, is 5s. The
 20 seconds came from 4 retries with errors at 5s each time. I increased
 the sess_timeout to 30s and we have not had any more reports of the
 problem from users.

 At this point, I do have some remaining problems. Why would a client
 timeout be affected by a slow backend response? The client obviously isn't
 closing the connection since it receives the error from Varnish.  When
 this sess_timeout is hit, the restart portion of the vcl_error block seems
 to run, but the error response portion isn't working properly like it does
 for other types of errors.

-- 
Ticket URL: <http://www.varnish-cache.org/ticket/648#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list