[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-cvs
Subject:    /bzr/squid3/trunk/ r12708: Bug 3329: Quieten orphan Comm::Connection messages
From:       Amos Jeffries <squid3 () treenet ! co ! nz>
Date:       2013-02-28 23:13:53
Message-ID: 20130228232007.40849.qmail () squid-cache ! org
[Download RAW message or body]

--===============0588039579==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------
revno: 12708
fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3329
committer: Amos Jeffries <squid3@treenet.co.nz>
branch nick: trunk
timestamp: Thu 2013-02-28 16:13:53 -0700
message:
  Bug 3329: Quieten orphan Comm::Connection messages
  
  The cases which were earlier causing a lot of RAM 'leaks' have been
  resolved already and the remaining causes appear to all be in components
  with short packet handling pathways where the orphan is not wasting much
  in the way of RAM bytes or FD time.
  
  The trace is left at level-4 for future debugging if necessary.
modified:
  src/comm/Connection.cc

--===============0588039579==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; name="r12708.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

=== modified file 'src/comm/Connection.cc'
--- a/src/comm/Connection.cc	2012-11-12 02:21:18 +0000
+++ b/src/comm/Connection.cc	2013-02-28 23:13:53 +0000
@@ -29,8 +29,8 @@
 Comm::Connection::~Connection()
 {
     if (fd >= 0) {
-        debugs(5, DBG_CRITICAL, "BUG #3329: Orphan Comm::Connection: " << *this);
-        debugs(5, DBG_CRITICAL, "NOTE: " << ++lost_conn << " Orphans since last started.");
+        debugs(5, 4, "BUG #3329: Orphan Comm::Connection: " << *this);
+        debugs(5, 4, "NOTE: " << ++lost_conn << " Orphans since last started.");
         close();
     }
 


--===============0588039579==--
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic