From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17196 invoked by alias); 15 Aug 2004 14:37:15 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 17130 invoked from network); 15 Aug 2004 14:37:04 -0000 Received: from unknown (HELO mail.wavionnetworks.com) (212.179.15.115) by sourceware.org with SMTP; 15 Aug 2004 14:37:04 -0000 Received: from srv001.wavionnetworks.com (mail [192.168.10.10]) by mail.wavionnetworks.com (8.12.5/8.12.5) with ESMTP id i7FEwFkS009421 for ; Sun, 15 Aug 2004 17:58:16 +0300 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable Date: Sun, 15 Aug 2004 14:37:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Amir Yiron" To: X-Spam-Status: No, hits=0.3 required=5.0 tests=AWL autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.wavionnetworks.com Subject: [ECOS] Re: eCos + goAhead probelm X-SW-Source: 2004-08/txt/msg00245.txt.bz2 Hello Hao! I've got the same problem! The target has eCos 2.0, and I use GoAhead 2.1.8 as well. I'm using an improved kernel, with: CYGPKG_NET_MEM_USAGE set to 512K (instead of 256K) where NET_MEMPOOL_SIZE is 5/8 of CYGPKG_NET_MEM_USAGE (instead of 1/4) CYGPKG_NET_MAX_SOCKETS set to 192 (instead of 16) I increased 'bufsize' for bopen() to 192K, 256K, and more (instead of 60K). I also tried to create a separate thread with a stack size of 80K (and later 120K) and put the original main code inside ... ... But in all cases the web server was unstable, and crashed after some play... Any suggestion? b.t.w. When I load the default GoAhead web site (home.asp), it doesn't handle with the left side menu applet (classes/treeapp.jar) - it just leaves it black (no error message!) The same applet works fine on Linux. Why does it behave like that? Have you got this problem as well? Thanks in advance, -- Amir --------------------------------------------------------------- Hao wrote: I build a target system that use eCos + goAhead web server. When I run goAhead , and try to open a page from browser. My target is failed at malloc() reutrn NULL. But the ping function still work. I set CYGNUM_MEMALLOC_FALLBACK_MALLOC_POOL_SIZE from 16384 to 1638400. But, it doesn't help. Then I try to use 'Simple variable block implementation' instead of 'Doug Lea's malloc implementatioin'. It still don't work. My target system already pass all eCos tests include memalloc. And the on board memory is 16MB. I think it's enough for eCos + goAhead. It seems goAhead eat all of memory. why ? Does anybody has same problem as I ? I use goAhead 2.18 + eCos (2004/06/24 got from CVS). (I already try goAhead 2.14 ~ 2.18. All that have same problem) Regards Hao -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss