From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10055 invoked by alias); 28 Apr 2013 11:50:55 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 10045 invoked by uid 89); 28 Apr 2013 11:50:54 -0000 X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from relay02.alfahosting-server.de (HELO relay02.alfahosting-server.de) (109.237.142.238) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sun, 28 Apr 2013 11:50:52 +0000 Received: by relay02.alfahosting-server.de (Postfix, from userid 1001) id 62DC832C02C4; Sun, 28 Apr 2013 13:50:49 +0200 (CEST) X-Spam-DCC: : Received: from alfa3017.alfahosting-server.de (alfa3017.alfahosting-server.de [109.237.140.28]) by relay02.alfahosting-server.de (Postfix) with ESMTP id 3D51332C0176; Sun, 28 Apr 2013 13:50:47 +0200 (CEST) Received: from itrrrauch (p578a450a.dip0.t-ipconnect.de [87.138.69.10]) by alfa3017.alfahosting-server.de (Postfix) with ESMTPA id CD4D22934364; Sun, 28 Apr 2013 13:50:46 +0200 (CEST) From: "Richard Rauch" To: "'Laurie Gellatly'" , References: <001201ce4404$f89d4f20$e9d7ed60$@netic.com> In-Reply-To: <001201ce4404$f89d4f20$e9d7ed60$@netic.com> Date: Sun, 28 Apr 2013 11:50:00 -0000 Message-ID: <001501ce4406$9f7a0670$de6e1350$@itrgmbh.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/17106/Sun Apr 28 06:41:04 2013 Subject: AW: [ECOS] FreeBSD not always releasing ACK MBUFs X-SW-Source: 2013-04/txt/msg00031.txt.bz2 Hello, which TCP/IP Stack are you using? FreeBSD or lwIP? Richard ITR GmbH web: http://www.itrgmbh.com email: info@itrgmbh.com =20 > -----Urspr=C3=BCngliche Nachricht----- > Von: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss- > owner@ecos.sourceware.org] Im Auftrag von Laurie Gellatly > Gesendet: Sonntag, 28. April 2013 13:39 > An: ecos-discuss@sourceware.org > Betreff: [ECOS] FreeBSD not always releasing ACK MBUFs >=20 > Hi All, > I'm using eCosPro from pre eCos 3.0 to serve web pages with embedded > images, CSS and javascripts. > Some pages are set to refresh their content and eventually the applicatio= n runs > out of MBUFs and restarts. > I can use my own web server or the CYGPKG_HTTPD server with the same > result. >=20 > I used the CYGPKG_HTTPD server on port 81 to monitor network stats. > What I find is that the =E2=80=98HEADER=E2=80=99 type MBUFs grow and neve= r shrink, eventually > running out of MBUFs completely. > The amount of growth in each iteration varies. > When I dump the data in the HEADER MBUFs (modified support.c to print the= se > short MBUFs) and compared them to the network traffic seen by wireshark I > have confirmed that the HEADERs are correct ACK packets sent at the close= of > various HTTP get sequences. > For some reason they are not being released. >=20 > I also found that the number of timeout entries (NTIMEOUTS) in timeout.c > (default 8) is WAY below what is needed (about 70 being used). >=20 > I'm thinking it's something to do with TIME_WAIT not closing the tcpcb wh= en it > should. >=20 > Has anyone seen this before or can suggest a way to troubleshoot this? >=20 > Thanks ...Laurie:{) >=20 >=20 >=20 >=20 > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss