Are you able to find some logs in varnishlog (-g session, filtering by port) to see what varnish is doing?
-- Guillaume Quintard On Thu, Jan 31, 2019 at 9:45 AM <[email protected]> wrote: > Am 31.01.2019 um 17:38 schrieb Guillaume Quintard < > [email protected]>: > > > > On Thu, Jan 31, 2019 at 6:22 AM <[email protected]> wrote: > >> > >> I have following stack: hitch-1.5 - varnish-5.2.0 - httpd-2.2/2.4 > >> > >> On a high traffic node I am observing a lot of "Socket error: > Connection reset by peer" log entries coming from hitch. > >> > >> I am trying to locate the cause of the issue (hitch or varnish site). > >> > >> So far I can say; that disabling h2 on hitch the "Connection resets" > doesn't appear anymore. > >> > >> Does this have to do with varnish-5.2.'s h2 implementation? > >> > >> Jan 30 19:02:37 srv-s01 hitch[4006]: ww.xx.yy.zz:59395 :0 10:11 > NPN/ALPN protocol: h2 > >> Jan 30 19:02:37 srv-s01 hitch[4006]: ww.xx.yy.zz:59395 :0 10:11 ssl end > handshake > >> Jan 30 19:02:37 srv-s01 hitch[4006]: ww.xx.yy.zz:59395 :42884 10:11 > backend connected > >> Jan 30 19:02:39 srv-s01 hitch[4006]: {backend} Socket error: Connection > reset by peer > >> Jan 30 19:02:39 srv-s01 hitch[4006]: ww.xx.yy.zz:59395 :42884 10:11 > proxy shutdown req=SHUTDOWN_CLEAR > >> Jan 30 19:02:39 srv-s01 hitch[4006]: {backend} Socket error: Broken pipe > >> Jan 30 19:02:39 srv-s01 hitch[4006]: ww.xx.yy.zz:59395 :42884 10:11 > proxy shutdown req=SHUTDOWN_CLEAR > >> Jan 30 19:02:39 srv-s01 hitch[4006]: ww.xx.yy.zz:59399 :0 10:11 proxy > connect > > > > Have you activated h2 support in Varnish? (it's not on by default) > > > > Sure, DAEMON_OPTS has -p feature=+http2 passed. The content is delivered > via h2 (verified in browsers) > but sometimes lot of assets (client view) produce ERR_CONNECTION_CLOSED > errors in the browser and on > server site the mentioned "connection reset by peer" log entries appears > ... > > -- > Leon
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
