[squid-users] Squid 4.3 assertion failed
Julian Perconti
vh1988 at yahoo.com.ar
Tue Oct 23 12:55:29 UTC 2018
> >> assertion failed: http.cc:1530: "!Comm::MonitorsRead(serverConnection-
> >fd)"
> >
> >> Any idea?
> >
> > Without the stack trace, it is difficult to say much about this bug.
> > Please collect a stack trace from the crash and post it to Squid
> > bugzilla. If the stack trace looks similar to that in Bug 4896, please
> > post it there: https://bugs.squid-cache.org/show_bug.cgi?id=4896
> >
> > If you do not know how to enable core dumps and/or how to collect a
> > stack trace, please search Squid wiki for pointers or consult your
> > local sysadmin.
> >
>
>
> FWIW I'm not seeing any changes in those Squid versions which relate to
> persistent connection or pipeline handling.
>
> There is <https://bugs.squid-cache.org/show_bug.cgi?id=4673> from last
> year which still lacks any hints about what might be causing it.
>
>
> FYI: Details on obtaining backtrace info can be found at <https://wiki.squid-
> cache.org/SquidFaq/BugReporting>. This issue though spans multiple
> transactions. So we will need a detailed (ALL,9 if
> possible) cache.log trace of everything that FD has been used for in addition
> to the trace. The trace itself is useful for identifying the code path and FD
> value to look at within that log.
>
> Amos
Hi Alex/Amos
Since yesterday squid is running via this method in a cron script:
trap "rm -f $$.gdb" 0
cat <<EOF >$$.gdb
handle SIGPIPE pass nostop noprint
handle SIGTERM pass nostop noprint
handle SIGUSR1 pass nostop noprint
handle SIGHUP pass
handle SIGKILL pass
handle SIGSEGV stop
handle SIGABRT stop
run -NYCd3
backtrace
quit
EOF
while sleep 2; do
gdb -x $$.gdb /path/to/squid 2>&1 | tee -a squid.out
done
For now (see below) squid has not generated the error / bug and I see which seems to be the cache.log in squid.out file.
Because sometimes squid works well for several days and other times it stays alive only a few hours, after a restart. (service or server restart)
When this bug happens I will let you know here and upload it to bugzilla
Thank you
More information about the squid-users
mailing list