Hello varnish list ,<br><br>I got a problem with Content-Disposition: attachment; filename="Activite....<br>with a resulting error<br><b>"Write error, retval = 62780, len = 305169, errno = Success"</b><br><br>
I saw some post about write error and I have modified tcp mem value ins sysctl.conf without any success<br>The backend in the following log is a moodle server but I got the same problem with another type of backend and I have to modify vcl with<br>
if (req.http.Content-Disposition ~ "inline; filename=.*.pdf$") {<br> return(pass);<br> }<br><br>I'm using varnish-2.1.5 SVN 0843d7a on linux centos 5<br>direct acces to apache backend works fine.<br>
the size of file is in Ko not Mo<br><br>un 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Server: Apache/2.2.3 (CentOS)<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c X-Powered-By: PHP/5.1.6<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Expires: Thu, 01 Jan 1970 00:00:00 GMT<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Cache-Control: private, must-revalidate, pre-check=0, post-check=0, max-age=0<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Pragma: no-cache<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Last-Modified: Thu, 05 May 2011 13:44:07 GMT<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Content-Disposition: attachment; filename="Activite_12.docx"<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Accept-Ranges: none<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Content-Length: 304590<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Date: Wed, 01 Jun 2011 11:11:49 GMT<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c X-Varnish: 1757900317<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Age: 0<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Via: 1.1 varnish<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c Connection: keep-alive<br>
Jun 1 14:23:27 v222ent-varnish2 logger: 20 TxHeader c X-Cache: MISSV2<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 Debug c <b>"Write error, retval = 62780, len = 305169, errno = Success"</b><br>
Jun 1 14:23:27 v222ent-varnish2 logger: -1 Length - 304590<br>Jun 1 14:23:27 v222ent-varnish2 logger: 20 ReqEnd c 1757900317 1306926709.079653263 1306926709.155108452 3.159499168 0.07<br><br>any ideas ?<br>
<br>thanks<br>jean-marc<br>