From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13878 invoked by alias); 21 Sep 2012 12:57:21 -0000 Received: (qmail 13864 invoked by uid 22791); 21 Sep 2012 12:57:20 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from outbound003.roc2.bluetie.com (HELO outbound003.roc2.bluetie.com) (208.89.132.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Sep 2012 12:57:05 +0000 Received: from web007.roc2.bluetie.com ([10.200.2.101]) by outbound003.roc2.bluetie.com with bizsmtp id 1ox51k0022Alkky01ox5uW; Fri, 21 Sep 2012 08:57:05 -0400 X-CMAE-OUT-Analysis: v=2.0 cv=K7+g7lqI c=1 sm=1 a=rIl8gC5iOh4A:10 a=i-wQWBNYtOgA:10 a=FmX3VfpdAAAA:8 a=QoHJ8kPOAAAA:8 a=4w6QM504O3wA:10 a=TSbVqHtbAAAA:8 a=OeRzGkJlAzUm0JUgNEoA:9 a=QEXdDO2ut3YA:10 a=f-OXjC_dffxiCEF6sPYA:9 a=wPNLvfGTeEIA:10 a=7X69+Egs4aEeFnNAy6RSag==:117 X-CMAE-OUT-Score: 0.00 Received: from web007.roc2.bluetie.com (localhost.localdomain [127.0.0.1]) by web007.roc2.bluetie.com (Postfix) with ESMTP id ED1C116013A for ; Fri, 21 Sep 2012 08:57:04 -0400 (EDT) Message-ID: <20120921085704.11170@web007.roc2.bluetie.com> X-HTTP-Received: from kenkyee.excite [64.145.41.116] by web007.roc2.bluetie.com (BlueTie WebMail ); Fri, 21 Sep 2012 08:57:04 -0400 Date: Fri, 21 Sep 2012 12:57:00 -0000 Cc: To: ecos-discuss@ecos.sourceware.org From: "Ken Yee" Content-Type: multipart/mixed; boundary="1145473236-1348232224=:11170" MIME-Version: 1.0 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 Subject: RE: [ECOS] any way to reset the TCP/IP network buffers in ecos? X-SW-Source: 2012-09/txt/msg00025.txt.bz2 --1145473236-1348232224=:11170 Content-transfer-encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Content-length: 997 Bernd Edlinger wrote: > However I fixed a fiew memory leaks with my enhancement patch for the Fre= eBSD > See Bug# 1001656. Maybe you try to use this first. > One major flaw was, when you do a IF_DOWN the unsent buffers must be clea= ned up too. Thanks, that could be it. One test I'm running is pinging (I ported the ppp_test.c test app in the no= -longer-tested archive into a class for our app) various hosts and internet= sites to make sure routing works properly over the PPP link and there are = a lot of receive timeouts and I'm sure some of them take long enough to tim= e out that PPP is brought down in the tail end of them. > By the way, how did you compile your target with PPP in the first place? > This does somehow not compile, as far as I know. Lots of swearing and fixing cryptic auth.c compile errors. I posted about it on the list in late August: http://comments.gmane.org/gmane.os.ecos.general/28914 Looks like someone broke the code base a little after 2004.... ken --1145473236-1348232224=:11170 Content-Type: message/rfc822; charset=UTF-8; name="0riginal_message" Content-Disposition: attachment; filename="0riginal_message" x-btFieldFwd: Yes Content-length: 2069 Return-Path: X-Original-To: kenkyee.excite@masc002.roc2.bluetie.com Delivered-To: kenkyee.excite@masc002.roc2.bluetie.com Received: from inbound005.roc2.bluetie.com (inbound005.roc2.bluetie.com [10.200.2.205]) by mas002.roc2.bluetie.com (Postfix) with ESMTP id 5C01DB38001 for ; Fri, 21 Sep 2012 01:11:18 -0400 (EDT) Received: from bay0-omc1-s19.bay0.hotmail.com ([65.54.190.30]) by inbound005.roc2.bluetie.com with inbound001 id 1hBH1k05N0fnsq901hBJgi; Fri, 21 Sep 2012 01:11:18 -0400 X-BT-Recipient: kenkyee@excite.com Received: from BAY146-W7 ([65.54.190.59]) by bay0-omc1-s19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 20 Sep 2012 22:11:15 -0700 Message-ID: X-Originating-IP: [84.57.45.131] From: Bernd Edlinger To: , Subject: RE: [ECOS] any way to reset the TCP/IP network buffers in ecos? Date: Fri, 21 Sep 2012 07:11:15 +0200 Importance: Normal In-Reply-To: <20120920135429.21498@web005.roc2.bluetie.com> References: <20120920135429.21498@web005.roc2.bluetie.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 21 Sep 2012 05:11:15.0697 (UTC) FILETIME=[869EB610:01CD97B7] X-BtMT: Fri, 21 Sep 2012 01:11:18 -0400 (EDT) Content-length: 637 Hi Ken, > On our system, we bring PPP up and down to minimize connection time costs= , but after running a while, we seem to get this error: > > socket returned: No buffer space available OK. This must be a memory leak somewhere. However I fixed a fiew memory leaks with my enhancement patch for the FreeB= SD See Bug# 1001656. Maybe you try to use this first. One major flaw was, when you do a IF_DOWN the unsent buffers must be cleane= d up too. By the way, how did you compile your target with PPP in the first place? This does somehow not compile, as far as I know. Regards Bernd Edlinger=20=09=09=20=09=20=20=20=09=09=20=20 --1145473236-1348232224=:11170 Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --1145473236-1348232224=:11170--