]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3329: Quieten orphan Comm::Connection messages
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Mar 2013 11:05:08 +0000 (04:05 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Mar 2013 11:05:08 +0000 (04:05 -0700)
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.

src/comm/Connection.cc

index 88c9aa758a83de8919a3800e230e85e8ca9d5743..82b56cae1c3f9ceea380491afa4c96e698c2a34c 100644 (file)
@@ -27,8 +27,8 @@ static int64_t lost_conn = 0;
 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();
     }