public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem when lots of sockets open.
@ 2001-03-08 17:28 Grant Edwards
  2001-03-09  5:30 ` Lewin A.R.W. Edwards
  2001-03-12  8:22 ` Grant Edwards
  0 siblings, 2 replies; 7+ messages in thread
From: Grant Edwards @ 2001-03-08 17:28 UTC (permalink / raw)
  To: ecos-discuss

I've got an eCos app that listens for TCP connections on 16
different ports.  

I can connect to any 8 of them, but usually the 9th TCP
connection opens and is then immediately closed by the eCos
stack: the eCos system sends a FIN exactly 50ms after the 2nd
SYN is ack'ed.  I've added some diag_printfs to figure out
where the socket is getting closed, and pretty sure it's not me
calling close().

I've also seen situations where there are 8 open sockets, and
the 9th connect succeeds but kills one of 8 previously open
sockets.

I did have to increase the number of open files allowed from 16
to 32. Since I never get to socket 31, I don't think that's the
problem this time.

Is there another limit somewhere I need to increase to get more
than 8 open TCP connections?  I don't see anything in ecos.ecc
that looks like a limit on TCP connections.

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-03-12 12:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-08 17:28 [ECOS] Problem when lots of sockets open Grant Edwards
2001-03-09  5:30 ` Lewin A.R.W. Edwards
2001-03-09  7:13   ` Grant Edwards
2001-03-12  8:22 ` Grant Edwards
2001-03-12 10:42   ` Grant Edwards
2001-03-12 12:27     ` Gary Thomas
2001-03-12 12:35       ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).