[squid-users] assertion failed

L.P.H. van Belle belle at bazuin.nl
Fri Aug 3 07:40:29 UTC 2018


Hello Alex, 

Thank you for the reply and the bug report link. 
Totaly forgot to check the bugzilla, sorry for that. 

I did read it and that exact what it is. 

I also can confirm that the assertion only happens with the logrotate. 
Squid does not crash so that looks all ok to me, i just dont like the messages in my logs. 
So for now i changed the logrotate, which eliminated the message. 
>From the default debian logrotate, and yes, i would preffer squid -k rotate also. 
But for now, i'll restart. 

I changed logrotate to: 

prerotate
   test ! -x /usr/sbin/sarg-reports || /usr/sbin/sarg-reports daily
Endscript

postrotate
if [ -d /run/systemd/system ] && command systemctl >/dev/null 2>&1 && systemctl is-active --quiet squid.service; then
   systemctl restart squid.service
elif [ -f /var/run/squid.pid ]; then
   test ! -e /var/run/squid.pid || test ! -x /usr/sbin/squid || /usr/sbin/squid -k rotate
fi
endscript

Best regards, 

Louis



> -----Oorspronkelijk bericht-----
> Van: Alex Rousskov [mailto:rousskov at measurement-factory.com] 
> Verzonden: donderdag 2 augustus 2018 17:43
> Aan: L.P.H. van Belle; squid-users at squid-cache.org
> Onderwerp: Re: [squid-users] assertion failed
> 
> On 08/02/2018 07:46 AM, L.P.H. van Belle wrote:
>   
> > If i google for "assertion failed: comm.cc:428: "!isOpen(conn->fd)" 
> > i get only 3 hits, is someone knows what this is, because i 
> cant figure
> > this out.
> 
> When facing an assertion, one should check Squid bugzilla:
> https://bugs.squid-cache.org/show_bug.cgi?id=4796
> 
> Alex.
>  
> > 2018/08/02 06:25:01 kid1| storeDirWriteCleanLogs: Starting...
> > 2018/08/02 06:25:01 kid1| logfileRotate: 
> daemon:/var/log/squid/access.log
> > 2018/08/02 06:25:01 kid1| logfileRotate: 
> daemon:/var/log/squid/access.log
> > 2018/08/02 06:25:01 kid1| assertion failed: comm.cc:428: 
> "!isOpen(conn->fd)"
> 
> 
> 



More information about the squid-users mailing list