Re: [squid-users] r14088 crash on FreeBSD 11
Hi,Amos, It's 54M file big after "grep" command. How can I continue truncate it for useful info? Simon 20161223 ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
On 23/12/2016 4:59 a.m., Alex Rousskov wrote: > On 12/22/2016 12:13 AM, k simon wrote: >>Here's the debug_options 11,5 output. > > Please post that to bugzilla. It is less likely to be lost there. > http://bugs.squid-cache.org/show_bug.cgi?id=4606 > Most of those lines appear to be not useful. The relevant call sequence is for "FD 1087", so please include in that bug update the output of: grep --context=20 "FD 1087" /var/log/squid/cache.log Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
On 12/22/2016 12:13 AM, k simon wrote: >Here's the debug_options 11,5 output. Please post that to bugzilla. It is less likely to be lost there. http://bugs.squid-cache.org/show_bug.cgi?id=4606 Alex. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
Hi,lists, Here's the debug_options 11,5 output. 2016/12/22 14:12:48.556 kid1| ctx: exit level 0 2016/12/22 14:12:48.556 kid1| 11,2| client_side.cc(1408) sendStartOfMessage: HTTP Client local=192.168.130.1:3128 remote=192.168.130.54:25625 FD 668 flags=1 2016/12/22 14:12:48.556 kid1| 11,2| client_side.cc(1409) sendStartOfMessage: HTTP Client REPLY: - HTTP/1.1 200 OK Content-Type: image/jpeg X-Delay: 5275 us X-Info: real data X-BCheck: 0_1 X-Cpt: filename=0 User-ReturnCode: 0 Size: 71819 chid: 0 fid: 0 Date: Thu, 22 Dec 2016 05:50:17 GMT Server: ImgHttp3.0.0 Cache-Control: max-age=15 Last-Modified: Mon, 28 Mar 2016 13:22:29 GMT Content-Length: 0 X-RtFlag: 1 X-Cache: MISS from sqd-l2-dx2-j4-b Age: 1351 X-Cache: HIT from backend-j1 Via: 1.1 sqd-l2-dx2-j4-b (squid), 1.1 backend-j1 (squid) Connection: keep-alive -- 2016/12/22 14:12:48.556 kid1| 11,5| http.cc(2428) abortAll: aborting transaction for store entry aborted while storing reply; local=192.168.133.13:38878 remote=192.168.133.31:1800 FD 585 flags=1, this 0x83cf47b18 2016/12/22 14:12:48.556 kid1| 11,5| http.cc(1586) closeServer: closing HTTP server local=192.168.133.13:38878 remote=192.168.133.31:1800 FD 585 flags=1 this 0x83cf47b18 2016/12/22 14:12:48.556 kid1| 11,5| http.cc(143) ~HttpStateData: HttpStateData 0x83cf47b18 destroyed; local=192.168.133.13:38878 remote=192.168.133.31:1800 flags=1 2016/12/22 14:12:48.556 kid1| 11,5| AsyncCallQueue.cc(57) fireNext: leaving HttpStateData::readReply(local=192.168.133.13:38878 remote=192.168.133.31:1800 flags=1, data=0x83cf47b18, size=263, buf=0x8529b2000) 2016/12/22 14:12:48.556 kid1| 11,5| AsyncCallQueue.cc(55) fireNext: entering HttpStateData::readReply(local=192.168.133.13:38882 remote=192.168.133.31:1800 FD 298 flags=1, data=0x851677e18, size=1876, buf=0x857ff2800) 2016/12/22 14:12:48.556 kid1| 11,5| AsyncCall.cc(38) make: make call HttpStateData::readReply [call103139655] 2016/12/22 14:12:48.557 kid1| 11,5| AsyncJob.cc(123) callStart: HttpStateData status in: [ job7708653] 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1138) readReply: local=192.168.133.13:38882 remote=192.168.133.31:1800 FD 298 flags=1: len 1876. 2016/12/22 14:12:48.557 kid1| 11,3| http.cc(1061) persistentConnStatus: local=192.168.133.13:38882 remote=192.168.133.31:1800 FD 298 flags=1 eof=0 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1081) persistentConnStatus: persistentConnStatus: content_length=13705 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1085) persistentConnStatus: persistentConnStatus: clen=13705 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1098) persistentConnStatus: persistentConnStatus: body_bytes_read=13705 content_length=13705 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1451) processReplyBody: processReplyBody: COMPLETE_PERSISTENT_MSG from local=192.168.133.13:38882 remote=192.168.133.31:1800 FD 298 flags=1 2016/12/22 14:12:48.557 kid1| 11,5| Client.cc(174) serverComplete: serverComplete 0x851677e18 2016/12/22 14:12:48.557 kid1| 11,5| Client.cc(198) serverComplete2: serverComplete2 0x851677e18 2016/12/22 14:12:48.557 kid1| 11,5| Client.cc(226) completeForwarding: completing forwarding for 0x850346718*2 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(143) ~HttpStateData: HttpStateData 0x851677e18 destroyed; 2016/12/22 14:12:48.557 kid1| 11,5| AsyncCallQueue.cc(57) fireNext: leaving HttpStateData::readReply(local=192.168.133.13:38882 remote=192.168.133.31:1800 FD 298 flags=1, data=0x851677e18, size=1876, buf=0x857ff2800) 2016/12/22 14:12:48.557 kid1| 11,5| AsyncCallQueue.cc(55) fireNext: entering HttpStateData::readReply(local=192.168.133.13:38891 remote=192.168.133.31:1800 FD 56 flags=1, data=0x83ed5eb18, size=49, buf=0x85a1ac0c0) 2016/12/22 14:12:48.557 kid1| 11,5| AsyncCall.cc(38) make: make call HttpStateData::readReply [call103139387] 2016/12/22 14:12:48.557 kid1| 11,5| AsyncJob.cc(123) callStart: HttpStateData status in: [ job7708690] 2016/12/22 14:12:48.557 kid1| 11,5| http.cc(1138) readReply: local=192.168.133.13:38891 remote=192.168.133.31:1800 FD 56 flags=1: len 49. 2016/12/22 14:12:48.557 kid1| ctx: enter level 0: 'http://a.x.baidu.com/' 2016/12/22 14:12:48.557 kid1| 11,3| http.cc(694) processReplyHeader: processReplyHeader: key '2195D900F0B02BE163B3750D3D800FF1' 2016/12/22 14:12:48.557 kid1| 11,2| http.cc(735) processReplyHeader: HTTP Server local=192.168.133.13:38891 remote=192.168.133.31:1800 FD 56 flags=1 2016/12/22 14:12:48.557 kid1| 11,2| http.cc(736) processReplyHeader: HTTP Server REPLY: - HTTP/1.1 100 Continue Connection: keep-alive -- 2016/12/22 14:12:48.558 kid1| 11,2| http.cc(803) handle1xx: forwarding 1xx to client 2016/12/22 14:12:48.558 kid1| 11,3| AsyncCall.cc(26) AsyncCall: The AsyncCall HttpStateData::proceedAfter1xx constructed, this=0x817b996b0 [call103139775] 2016/12/22 14:12:48.558 kid1| 11,4| AsyncCall.cc(26) AsyncCall: The AsyncCall ConnStateData::ConnStateData::sendControlMsg constructed, this=0x84ae4ad00
Re: [squid-users] r14088 crash on FreeBSD 11
Hey Simon, Just to clear out things for me since the bug report is a bit confusing in the Bugzilla. What should I do to replicate the bug in my lab? 1. install FreeBSD 11 stable 2. Compile squid latest And what then? Just use the proxy? Thanks, Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of k simon Sent: Friday, December 16, 2016 8:34 AM To: squid-users@lists.squid-cache.org Subject: [squid-users] r14088 crash on FreeBSD 11 Hi,lists, r14087 is quite stable on FB 11. But r14088 crashed frequently with "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= tailSize && tailSize <= cSize" ". The config file is almost the default except listening port and http_access modification. Simon 20161216 P.S. # uname -a FreeBSD unkn-j9 11.0-STABLE FreeBSD 11.0-STABLE #0 r309724: Fri Dec 9 11:01:51 CST 2016 root@cache-farm-n1:/usr/obj/usr/src/sys/11-ule-r309209 amd64 # squid -vv Squid Cache: Version 3.5.21 Service Name: squid configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/squid' '--with-logdir=/var/log/squid' '--with-pidfile=/var/run/squid/squid.pid' '--with-swapdir=/var/squid/cache' '--without-gnutls' '--enable-auth' '--enable-build-info' '--enable-loadable-modules' '--enable-removal-policies=lru heap' '--disable-epoll' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-translation' '--disable-arch-native' '--disable-eui' '--disable-cache-digests' '--disable-delay-pools' '--disable-ecap' '--disable-esi' '--enable-follow-x-forwarded-for' '--disable-htcp' '--disable-icap-client' '--disable-icmp' '--disable-ident-lookups' '--enable-ipv6' '--enable-kqueue' '--with-large-files' '--enable-http-violations' '--without-nettle' '--enable-snmp' '--disable-ssl' '--disable-ssl-crtd' '--disable-stacktraces' '--disable-forw-via-db' '--disable-wccp' '--disable-wccpv2' '--without-heimdal-krb5' '--without-mit-krb5' '--without-gss' '--disable-ipf-transparent' '--enable-ipfw-transparent' '--disable-pf-transparent' '--without-nat-devpf' '--enable-auth-basic=DB SMB_LM MSNT-multi-domain NCSA PAM POP3 RADIUS fake getpwnam' '--enable-auth-digest=file' '--enable-external-acl-helpers=file_userip time_quota unix_group' '--enable-auth-negotiate=none' '--enable-auth-ntlm=fake smb_lm' '--enable-storeio=aufs diskd rock ufs' '--enable-disk-io=DiskThreads DiskDaemon AIO Blocking IpcIo Mmapped' '--enable-log-daemon-helpers=file' '--enable-url-rewrite-helpers=fake' '--enable-storeid-rewrite-helpers=file' '--prefix=/usr/local' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd11.0' 'build_alias=amd64-portbld-freebsd11.0' 'CC=cc' 'CFLAGS=-O2 -pipe -m64 -fno-strict-aliasing -fno-omit-frame-pointer -march=penryn -fstack-protector' 'LDFLAGS=-L/usr/local/lib -Wl,--eh-frame-hdr' 'LIBS=-lthr -lpcreposix -lpcre -ltcmalloc_minimal' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-std=c++11 -fPIC -DPIC -I/usr/local/include' 'CPP=cpp' ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
Hi, Garri, I've tested 3.5-r14128, it crashed again with the same error. 2016/12/20 16:23:22 kid1| assertion failed: MemBuf.cc:216: "0 <= tailSize && tailSize <= cSize" Simon 20161220 在 2016/12/16 17:47, Garri Djavadyan 写道: > On Fri, 2016-12-16 at 14:38 +0500, Garri Djavadyan wrote: >> On Fri, 2016-12-16 at 06:34 +, k simon wrote: >>> Hi,lists, >>>r14087 is quite stable on FB 11. But r14088 crashed frequently >>> with >>> "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= >>> tailSize && tailSize <= cSize" ". The config file is almost the >>> default >>> except listening port and http_access modification. >> >> Hi, >> >> I believe you faced bug 4606 [1]. Do you use 'collapsed_forwarding' >> option? If you have any new details please add a comment to the bug >> report. >> >> [1] http://bugs.squid-cache.org/show_bug.cgi?id=4606 > > Sorry, actually, 'collapsed_forwarding' should not be enabled to facethe bug. > > Garri > ___ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users > ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
Hi, Thank you ,Garri. It's it, but I have no new detail. Simon 在 2016/12/16 17:47, Garri Djavadyan 写道: > On Fri, 2016-12-16 at 14:38 +0500, Garri Djavadyan wrote: >> On Fri, 2016-12-16 at 06:34 +, k simon wrote: >>> Hi,lists, >>>r14087 is quite stable on FB 11. But r14088 crashed frequently >>> with >>> "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= >>> tailSize && tailSize <= cSize" ". The config file is almost the >>> default >>> except listening port and http_access modification. >> >> Hi, >> >> I believe you faced bug 4606 [1]. Do you use 'collapsed_forwarding' >> option? If you have any new details please add a comment to the bug >> report. >> >> [1] http://bugs.squid-cache.org/show_bug.cgi?id=4606 > > Sorry, actually, 'collapsed_forwarding' should not be enabled to facethe bug. > > Garri > ___ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users > ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
On Fri, 2016-12-16 at 14:38 +0500, Garri Djavadyan wrote: > On Fri, 2016-12-16 at 06:34 +, k simon wrote: > > Hi,lists, > > r14087 is quite stable on FB 11. But r14088 crashed frequently > > with > > "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= > > tailSize && tailSize <= cSize" ". The config file is almost the > > default > > except listening port and http_access modification. > > Hi, > > I believe you faced bug 4606 [1]. Do you use 'collapsed_forwarding' > option? If you have any new details please add a comment to the bug > report. > > [1] http://bugs.squid-cache.org/show_bug.cgi?id=4606 Sorry, actually, 'collapsed_forwarding' should not be enabled to facethe bug. Garri ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] r14088 crash on FreeBSD 11
On Fri, 2016-12-16 at 06:34 +, k simon wrote: > Hi,lists, > r14087 is quite stable on FB 11. But r14088 crashed frequently > with > "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= > tailSize && tailSize <= cSize" ". The config file is almost the > default > except listening port and http_access modification. Hi, I believe you faced bug 4606 [1]. Do you use 'collapsed_forwarding' option? If you have any new details please add a comment to the bug report. [1] http://bugs.squid-cache.org/show_bug.cgi?id=4606 Garri ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
[squid-users] r14088 crash on FreeBSD 11
Hi,lists, r14087 is quite stable on FB 11. But r14088 crashed frequently with "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= tailSize && tailSize <= cSize" ". The config file is almost the default except listening port and http_access modification. Simon 20161216 P.S. # uname -a FreeBSD unkn-j9 11.0-STABLE FreeBSD 11.0-STABLE #0 r309724: Fri Dec 9 11:01:51 CST 2016 root@cache-farm-n1:/usr/obj/usr/src/sys/11-ule-r309209 amd64 # squid -vv Squid Cache: Version 3.5.21 Service Name: squid configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/squid' '--with-logdir=/var/log/squid' '--with-pidfile=/var/run/squid/squid.pid' '--with-swapdir=/var/squid/cache' '--without-gnutls' '--enable-auth' '--enable-build-info' '--enable-loadable-modules' '--enable-removal-policies=lru heap' '--disable-epoll' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-translation' '--disable-arch-native' '--disable-eui' '--disable-cache-digests' '--disable-delay-pools' '--disable-ecap' '--disable-esi' '--enable-follow-x-forwarded-for' '--disable-htcp' '--disable-icap-client' '--disable-icmp' '--disable-ident-lookups' '--enable-ipv6' '--enable-kqueue' '--with-large-files' '--enable-http-violations' '--without-nettle' '--enable-snmp' '--disable-ssl' '--disable-ssl-crtd' '--disable-stacktraces' '--disable-forw-via-db' '--disable-wccp' '--disable-wccpv2' '--without-heimdal-krb5' '--without-mit-krb5' '--without-gss' '--disable-ipf-transparent' '--enable-ipfw-transparent' '--disable-pf-transparent' '--without-nat-devpf' '--enable-auth-basic=DB SMB_LM MSNT-multi-domain NCSA PAM POP3 RADIUS fake getpwnam' '--enable-auth-digest=file' '--enable-external-acl-helpers=file_userip time_quota unix_group' '--enable-auth-negotiate=none' '--enable-auth-ntlm=fake smb_lm' '--enable-storeio=aufs diskd rock ufs' '--enable-disk-io=DiskThreads DiskDaemon AIO Blocking IpcIo Mmapped' '--enable-log-daemon-helpers=file' '--enable-url-rewrite-helpers=fake' '--enable-storeid-rewrite-helpers=file' '--prefix=/usr/local' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd11.0' 'build_alias=amd64-portbld-freebsd11.0' 'CC=cc' 'CFLAGS=-O2 -pipe -m64 -fno-strict-aliasing -fno-omit-frame-pointer -march=penryn -fstack-protector' 'LDFLAGS=-L/usr/local/lib -Wl,--eh-frame-hdr' 'LIBS=-lthr -lpcreposix -lpcre -ltcmalloc_minimal' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-std=c++11 -fPIC -DPIC -I/usr/local/include' 'CPP=cpp' ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users