Ticket #849 (closed defect: invalid)
Session timeout while receiving POST data from client causes multiple broken backend requests
|Reported by:||lew||Owned by:||tfheen|
|Priority:||normal||Milestone:||Varnish 3.0 dev|
|Severity:||normal||Keywords:||503, post, backend write error: 11 (Resource temporarily unavailable)|
The default session timeout of 5s was causing a lot of broken POSTs on our backends, and 503 errors in our varnish logs (showing up as "backend write error: 11 (Resource temporarily unavailable)") - particularly with one of our sites that serves mainly mobile clients.
It appears that during a POST, if the session timeout is exceeded while varnish is waiting for data from the client, an incomplete/invalid POST request is made to the backend, and then tried again after another 5 seconds.
I'm not sure what the 'right' way to handle this would be, but this doesn't seem like good behaviour currently.
For the moment I'm working around the issue by piping POSTs.