This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Mbufs leak- inputs
- From: "Saritha Yellanki" <ysaritha at broadcom dot com>
- To: "Alok Singh" <alok dot singh at broadcom dot com>, "ecos-discuss at ecos dot sourceware dot org" <ecos-discuss at ecos dot sourceware dot org>, "laurie dot gellatly at netic dot com" <laurie dot gellatly at netic dot com>
- Date: Thu, 26 Mar 2009 02:28:43 -0700
- Subject: RE: [ECOS] Mbufs leak- inputs
- References: <641013.18100.qm@web94614.mail.in2.yahoo.com> <3B0AC7A3DE042D478300B74F7E21C128101BDC1A8F@SJEXCHCCR01.corp.ad.broadcom.com> <005c01c97c04$b744e9b0$25cebd10$@gellatly@netic.com>
Hi,
Thanks to all them , who have responded.
The issue is resolved. The bsd tcp/ip timers were not working on our code base ( hence the ip-reassembly freeing timer was not kicking in ).
We have updated our file from ecos cvs , hence with the patch in ( ecos-2.0--src\packages\net\bsd_tcpip\v2_0\src\ecos\timeout.c ) file our problem is resolved.
Thanks
Saritha.
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Laurie Gellatly
Sent: Thursday, January 22, 2009 1:43 AM
To: ecos-discuss@ecos.sourceware.org; Alok Singh
Subject: RE: [ECOS] Mbufs leak- inputs
Hi Saritha,
I've been having the 'out of MBUFs' problem as well.
I had not been able to determine why. When my system reports it though
it does not recover. I can reproduce your problem as you describe.
It only takes about 10 pings for me to see it appear but at least
the system does not lock up in this case.
...Laurie:{)
> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-
> owner@ecos.sourceware.org] On Behalf Of Saritha Yellanki
> Sent: Thursday, 22 January 2009 4:46 AM
> To: ecos-discuss@ecos.sourceware.org; Alok Singh
> Subject: [ECOS] Mbufs leak- inputs
>
> Hi All,
>
> Did any come across this kind of issue with ecos stack.
>
> We are having a system running ecos. And we do a icmp ping to that
> device with size of 32000 from a windows PC, the requests are timed out
> after sometime we are running of mbufs
>
>
> Any inputs or insights into this?
>
> Thanks,
> saritha
>
>
>
> ================================================================
>
>
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
> warning: eth_recv out of MBUFs
>
> =======================================================================
> ======
>
>
> Dump
> =======================================================================
> =
> Network stack mbuf stats:
> mbufs 288, clusters 127, free clusters 0
> Failed to get 0 times
> Waited to get 0 times
> Drained queues to get 0 times
> VM zone 'ripcb':
> Total: 32, Free: 32, Allocs: 0, Frees: 0, Fails: 0
> VM zone 'tcpcb':
> Total: 32, Free: 24, Allocs: 24, Frees: 16, Fails: 0
> VM zone 'udpcb':
> Total: 32, Free: 32, Allocs: 20, Frees: 20, Fails: 0
> VM zone 'socket':
> Total: 32, Free: 24, Allocs: 44, Frees: 36, Fails: 0
> Misc mpool: total 131056, free 79344, max free block 76980
> Mbufs pool: total 130944, free 112384, blocksize 128
> Clust pool: total 262144, free 0, blocksize 2048
>
>
>
>
> --
> 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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss