Write error, retval = 62780, len = 305169, errno = Success moodle backend

jean-marc pouchoulon jeanmarc.pouchoulon at gmail.com
Wed Jun 1 19:39:32 CEST 2011


Hello varnish list ,

I got a problem with Content-Disposition: attachment; filename="Activite....
with a resulting error
*"Write error, retval = 62780, len = 305169, errno = Success"*

I saw some post about write error and I have modified tcp mem  value ins
sysctl.conf without any success
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
 if (req.http.Content-Disposition ~ "inline; filename=.*.pdf$") {
        return(pass);
    }

I'm using varnish-2.1.5 SVN 0843d7a on linux centos 5
direct acces to apache backend works fine.
the size of file is in Ko not Mo

un  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Server:
Apache/2.2.3 (CentOS)
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c X-Powered-By:
PHP/5.1.6
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Expires: Thu,
01 Jan 1970 00:00:00 GMT
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
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Pragma:
no-cache
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Last-Modified:
Thu, 05 May 2011 13:44:07 GMT
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c
Content-Disposition: attachment; filename="Activite_12.docx"
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Accept-Ranges:
none
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Content-Type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c
Content-Length: 304590
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Date: Wed, 01
Jun 2011 11:11:49 GMT
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c X-Varnish:
1757900317
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Age: 0
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Via: 1.1
varnish
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c Connection:
keep-alive
Jun  1 14:23:27 v222ent-varnish2 logger:    20 TxHeader     c X-Cache:
MISSV2
Jun  1 14:23:27 v222ent-varnish2 logger:    20 Debug        c *"Write error,
retval = 62780, len = 305169, errno = Success"*
Jun  1 14:23:27 v222ent-varnish2 logger:    -1 Length       - 304590
Jun  1 14:23:27 v222ent-varnish2 logger:    20 ReqEnd       c 1757900317
1306926709.079653263 1306926709.155108452 3.159499168 0.07

any ideas ?

thanks
jean-marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110601/45ace297/attachment-0003.html>


More information about the varnish-misc mailing list