4.4 after -k rotate

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

4.4 after -k rotate

Heiler Bemerguy

We have a "/usr/sbin/squid -k rotate" on logrotate.d and everyday it seems to give this "assetion failed" right after it..

And this seems to make squid completely unstable because this kid6 is a disker... (SMP - 5 workers, 3 diskers...)

2018/11/20 00:25:11 kid6| storeDirWriteCleanLogs: Starting...
2018/11/20 00:25:11 kid6|   Finished.  Wrote 0 entries.
2018/11/20 00:25:11 kid6|   Took 0.00 seconds (  0.00 entries/sec).
2018/11/20 00:25:11 kid6| logfileRotate: daemon:/var/log/squid/access.log
2018/11/20 00:25:11 kid6| logfileRotate: daemon:/var/log/squid/access.log
2018/11/20 00:25:17 kid6| assertion failed: comm.cc:1918: "!isOpen(new_socket)"


root@proxy:/var/log/squid# grep -i assertion cache*.log
cache6.log:2018/11/20 00:25:17 kid6| assertion failed: comm.cc:1918: "!isOpen(new_socket)"
cache7.log:2018/11/20 00:42:24 kid7| assertion failed: comm.cc:1918: "!isOpen(new_socket)"
cache8.log:2018/11/20 00:25:12 kid8| assertion failed: comm.cc:1918: "!isOpen(new_socket)"
cache9.log:2018/11/20 00:25:12 kid9| assertion failed: comm.cc:1918: "!isOpen(new_socket)"

-- 
Atenciosamente,

Heiler Bensimon Bemerguy - CINBESA
Analista de Redes, Wi-Fi,
Virtualização e Serviços Internet
(55) 91 98151-4894

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: 4.4 after -k rotate

Amos Jeffries
Administrator
On 21/11/18 5:36 am, Heiler Bemerguy wrote:

> We have a "/usr/sbin/squid -k rotate" on logrotate.d and everyday it
> seems to give this "assetion failed" right after it..
>
> And this seems to make squid completely unstable because this kid6 is a
> disker... (SMP - 5 workers, 3 diskers...)
>
> 2018/11/20 00:25:11 kid6| storeDirWriteCleanLogs: Starting...
> 2018/11/20 00:25:11 kid6|   Finished.  Wrote 0 entries.
> 2018/11/20 00:25:11 kid6|   Took 0.00 seconds (  0.00 entries/sec).
> 2018/11/20 00:25:11 kid6| logfileRotate: daemon:/var/log/squid/access.log
> 2018/11/20 00:25:11 kid6| logfileRotate: daemon:/var/log/squid/access.log
> *2018/11/20 00:25:17 kid6| assertion failed: comm.cc:1918:
> "!isOpen(new_socket)"*
>


Please report this to our bugzilla. This looks very similar to
<https://bugs.squid-cache.org/show_bug.cgi?id=4796> but is definitely a
different bug.

If you can replicate the problem on a proxy not actually handling
traffic please supply a cache.log produced with debug_options ALL,9.

Otherwise if ALL,8 is too large please supply a cache log made with
ALL,6 - or at minimum "ALL,2 5,5 50,5 51,5 92,5". We need to know what
FD number is being allocated with the socket and everything Squid has
previously been doing with that FD number.

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users