From owner-freebsd-bugs Mon Jun 18 12:30: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF54837B403 for ; Mon, 18 Jun 2001 12:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5IJU2U08910; Mon, 18 Jun 2001 12:30:02 -0700 (PDT) (envelope-from gnats) Date: Mon, 18 Jun 2001 12:30:02 -0700 (PDT) Message-Id: <200106181930.f5IJU2U08910@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ian Dowse Subject: Re: i386/28098: mbus leakage in FreeBSD 4.3R somewhere Reply-To: Ian Dowse Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/28098; it has been noted by GNATS. From: Ian Dowse To: freebsd-gnats-submit@FreeBSD.org Cc: conrad@th.physik.uni-bonn.de Subject: Re: i386/28098: mbus leakage in FreeBSD 4.3R somewhere Date: Mon, 18 Jun 2001 20:27:28 +0100 In message <200106121228.f5CCSe678796@freefall.freebsd.org>, conrad@th.physik.u ni-bonn.de writes: >>Description: >There seems to be a mbuf leakage which can be triggered by userland programs ( >i.e.: gtk-gnutella run by our young folk :-) in 4.3R. > >The mbufs remain allocated AFTER THE PROGRAM TERMINATES! Further diagnostic information provided by Jan suggests that this is not an mbuf leak. The gtk-gnutella program seems to be very demanding on mbuf resources; the server process had 100-200 tcp sockets open, and on many socket transmit queue there were chains of 20-30 mbufs containig data (it must be doing lots of small writes). The mbufs are eventually slowly reclaimed, but I think those on the send queues can remain there for some time if the remote client stops responding or stops reading from the connection. I'll leave the PR open for now until the details are confirmed. There is also the issue of the page-faults when mbufs run out, but that is probably covered by another PR. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message