]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3329: Quieten orphan Comm::Connection messages
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 28 Feb 2013 23:13:53 +0000 (16:13 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 28 Feb 2013 23:13:53 +0000 (16:13 -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 4bb65defd6001e332d8494a621316766fa7f9e75..02477f98932c3da2f7e5d36d6095cec6b3f5934c 100644 (file)
@@ -29,8 +29,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();
     }