This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RE:Not accepting the More than 95 connections in eCos 2.0
- From: "Vedaraman Sethuraman (IE10)" <Vedaraman dot Sethuraman at honeywell dot com>
- To: nickg at ecoscentric dot com, ecos-discuss at sources dot redhat dot com
- Date: Fri, 16 Jul 2004 02:06:25 -0700
- Subject: [ECOS] RE: RE:Not accepting the More than 95 connections in eCos 2.0
> Hi Nick,
>
> >How rapidly do you make these connections? Closed sockets do not release
> all their memory immediately. It is a requirement of the TCP protocol that
> it linger for
> >some time to retransmit its last packet in case it got lost. If you wait
> a couple of minutes you will see all the memory get released and you will
> be able to make more
> >connections.
> I am doing testing so I kept 1 second gap between the Connection..
> Even though I waited for 12hrs It's not able to reclaim the memory.From
> the tests I came to know that
> it loses 16 bytes of memory for every accept on the socket (Even though I
> close the socket.)
>
> >In a BSD installation, with megabytes of RAM, this doesn't matter much,
> and the RAM usage will find a level consistent with the turnover rate of
> the connections. In a
> >restricted RAM environment you will hit the limits earlier.
> I tried Incresing the Memory to 261244 (i.e 256kb) from 128kb. The number
> of connections incresed but it stops after 1000 connection.
> It's not able to reclaim the memory.
>
Thanks,
Vedaraman.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss