<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
Core dumps is configured after OS installation - over 4 years ago.
For another processes they produces ok.<br>
<br>
System has modular mebugger (MDB), but this is production system and
undesirable to run key service under debugger.<br>
<br>
The same time this case is difficult to reproduce on test system.<br>
<br>
Looks like assertion produces one of clients within irregular
intervals.<br>
<br>
I'll try to use DTrace to catch assertion live.<br>
<br>
15.01.2015 19:14, Amos Jeffries пишет:<br>
<span style="white-space: pre;">> On 16/01/2015 1:50 a.m., Yuri
Voinov wrote:<br>
><br>
> > Hi gents,<br>
><br>
> > Sometimes I have too much assertions:<br>
><br>
> > 2015/01/08 09:40:39 kid1| assertion failed: comm.cc:178:<br>
> > "fd_table[conn->fd].halfClosedReader != NULL"<br>
><br>
> > Core dump not produced but Squid restarts. So, I can't
get stack<br>
> > trace.<br>
><br>
> > When I set hals_closed_clients to on, I've got much more<br>
> > assertions:<br>
><br>
> > 2015/01/15 18:41:31 kid1| assertion failed:
comm.cc:1823:<br>
> > "isOpen(fd) && !commHasHalfClosedMonitor(fd)"<br>
><br>
> > What can be wrong? This is very annoying behaviour. Also
memory<br>
> > cache is often cold after restarts and hit ratio is
degrades.<br>
><br>
> > This looks similar adaptation bug 4057, but it is closed
in 3.4.11.<br>
> > This behaviour depends half-closed connections, but how?<br>
><br>
> > And how to troubleshoot?<br>
><br>
> A) running Squid under GDB. There are instructions in<br>
> <a class="moz-txt-link-rfc2396E" href="http://wiki.squid-cache.org/SquidFaq/BugReporting"><http://wiki.squid-cache.org/SquidFaq/BugReporting></a> on
how to do that<br>
> even if you are debugging a production server that needs no
downtime.<br>
><br>
> OR,<br>
><br>
> B) finding out how to enable core dumps in your OS. The
assertion<br>
> handling calls abort() which will generate a core file if the
OS<br>
> allows them to be created.<br>
><br>
> Amos<br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBAgAGBQJUt79kAAoJENNXIZxhPexGu3wH/28qhMz9SRRdv4M/NnZascGH
<br>
J2pgn03D7RI7C/rHY0fn9TeojoTFE1WLNEBkj+n3ufU7jp44eBZ1X1ZImS1Of/jc
<br>
5qmKaWc9vAIfRjX1J5Wvyn0Z6p5P0HqBO7WLE6kSBK6M+s9JkcCC49zZS0qp+pOd
<br>
U5tuNT1CqX3B1VkdDLbBMDxxGDKTTTt76CRhiF5bn/8GfdTL2/aPrhEpiKzRBK3W
<br>
b0azWyIKs39QzWwPTbkFk47Xidz3xFFXAl0bGuWnJg38fgRW/S6tlHUu8J0n+PCO
<br>
e4rXODf/X1EADWIZJMe7tUoKgk5o3AUSm4ZgnggMQj4y+MQFw//xrkczSVoJCOM=
<br>
=RvbX
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>