This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MBUF leak


> > Re: the mbuf/cluster leak message...
> >
>
>
> Let me update this one more time....
>

yet, another update.....

> So far, I have written a small server/client using UDP sockets. The ecos
> target is a server receiving the packets. It does not seem to leak, even
> though many packets are dropped. That might be OK. My development
> is order of magnitudes faster than the ecos target.
>
> The test is: the server creates one socket only, binds it, and recvfrom
> on the same socket over and over again. I ran the test many times,
> and at the end, the mbufs is always ok. So, receiving UDPs does not
> seen to leak.
>
> I'll try the TX path now.
>
> If anybody is interested in the code, I can post it here. The client is
Java
> because is easy to test with many development systems.
>

I have created a test where the ecos target is "TX" udp packets. It does
run forever ( 3 hours ) now, and it does not leak at all.

As far as I can tell, the problem is "TCP" only type of socket that is
leaking mbufs.

Andrew, any other idea of where I should be looking ?

Rosimildo.







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]