From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24900 invoked by alias); 2 Dec 2003 13:03:32 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 24890 invoked from network); 2 Dec 2003 13:03:30 -0000 Received: from unknown (HELO calvin.codito.com) (203.199.140.162) by sources.redhat.com with SMTP; 2 Dec 2003 13:03:30 -0000 Received: from blackmagic (sandeep.codito.co.in [192.168.100.37]) by calvin.codito.com (8.12.10/) with SMTP id hB2D3QdD012032; Tue, 2 Dec 2003 18:33:26 +0530 Message-ID: <000b01c3b8d5$1d9dc6d0$2564a8c0@blackmagic> From: "sandeep" To: "Michael Sig Birkmose" Cc: References: <20031202131549.Y54717@server.gisp.dk> Date: Tue, 02 Dec 2003 13:03:00 -0000 Organization: Codito Technologies Pvt. Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: [ECOS] Problems with sockets after 1132 requests X-SW-Source: 2003-12/txt/msg00028.txt.bz2 Hi Michael, Your mail vaguely reminds of something similar we had observed here (perhaps more than an year back) on a different platform and in slightly different context. It could be possible mbuff leakage problem (perhaps mbuffs not getting freed). Here is what you can try (I am not a networks expert) - enabling "Network MBUF diagnostics" - play around with the "Memory designated for networking buffers" to see if numbers change from 1132 / 15 - increasing/decreasing the value of "Max number of open sockets" and see if that bears any relations to the figures you observe peace sandeep > I have some problems handling many requests to a tcp server in eCos 2.0. > > I am using the code found in net/common/v2_0/tests/server_test.c (I don't > modify it at all) > > I have no problems connecting to the server on that port. However, when I > continuosly send tcp requests to the eCos tcp server, reads the response, > and then closes the socket, the server always stops responding after 1132 > requests has been handled. > > Furthermore I tried running gdb remote and debugging the server. Then it > stop responding after 15 requests, and I was not able to figure out why. -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss