Hi,
I have a benchmark program that uses connect() to create TCP/IP connctions
between two Linux boxes as fast as it can. After a connection is open,
some data is transferred, the socket is closed, the next socket is
created, and so on.
This works fine between slow machines. But when I run it on faster machines
(where sockets are created and closed something like 250 times a second),
after a while (about 3500 socket open/close operations) connect() fails
with a "resource temporarily unavailable" error message. Other services
like ftp stop working too.
Is my program as fault here, or is this a kernel limitation? Can I avoid
this problem without having to limit the number of connections in my
benchmark program?
Any help is appreciated.
-Kamran
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]