public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] TCP Transactions
@ 2003-10-20 23:27 Matt Jerdonek
  2003-10-21  7:16 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Matt Jerdonek @ 2003-10-20 23:27 UTC (permalink / raw)
  To: Discussion eCos

Hello again,

I'm developing an application that sends small
transactions via TCP.  The basic flow is 1) Bring up
the connection 2) Send request 3) Get response 4)
Bring down the connection.  Simple enough ...

But, when running any volume of transactions, all my
socket file descriptors get stuck in TIME_WAIT state. 
When this occurs, my application is effectively
disabled until a file descriptor times out.

I see at least 3 possible fixes:
1) Turn on RFC1644 support (TCP extensions for
transactions).  But it appears as if RFC1644 support
in the FreeBSD stack is not complete.  I'm also
skeptical of support of RFC1644 in other OSs that my
application will be taking to.
2) Allocate more than enough sockets
(CYGPKG_NET_MAXSOCKETS) so that I'll always have some
available.  However, this is wasteful of RAM space.
3) Change the MSL timeout from 30sec to something
smaller.  Is there any interest in making the MSL
timer something configurable?

Any other thoughts are greatly appreciated,
-- Matt

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-10-28 12:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 23:27 [ECOS] TCP Transactions Matt Jerdonek
2003-10-21  7:16 ` Andrew Lunn
2003-10-21 15:42   ` Matt Jerdonek
2003-10-21 16:06 ` David Vrabel
2003-10-21 17:49   ` Matt Jerdonek
2003-10-21 19:11 ` Andrew Lunn
2003-10-23 18:32   ` Matt Jerdonek
2003-10-23 20:15     ` Andrew Lunn
2003-10-24 16:38       ` Matt Jerdonek
2003-10-28 12:50         ` Andrew Lunn

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).