From owner-freebsd-bugs Fri Mar 22 3:10: 8 2002 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 20CBE37B400 for ; Fri, 22 Mar 2002 03:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2MBA3421947; Fri, 22 Mar 2002 03:10:03 -0800 (PST) (envelope-from gnats) Date: Fri, 22 Mar 2002 03:10:03 -0800 (PST) Message-Id: <200203221110.g2MBA3421947@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/36183: natd: cpu usage gets sky high Reply-To: "Crist J. Clark" 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 bin/36183; it has been noted by GNATS. From: "Crist J. Clark" To: emmanuel Duros Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/36183: natd: cpu usage gets sky high Date: Fri, 22 Mar 2002 03:02:31 -0800 On Thu, Mar 21, 2002 at 03:56:25PM -0800, emmanuel Duros wrote: [snip] > I read the natd code and I am not sure the bug is due to natd... > During the transfer, the TCP ack packets fill up the pipe completely. > As soos as we are in this situation (pipe full) natd enters in a bad loop and the cpu uasge increases. > > According to the comments in the source, the main loop will take care of the packets which could not be written. Unfortunately, the select does not behave as we would like it to behave: This code was removed in revision 1.25.2.5 which did not make 4.5-RELEASE. Try 4.5-STABLE to see if this is still a problem for you. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message