Re: connect() returns EADDRINUSE during massive host->host conn rate
- From: Ivan Voras <ivoras@xxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 19:36:29 +0100
Jan Srzednicki wrote:
Hello,
I have a pair of hosts. One of them performs a massive amount of
TCP connections to the other one, all to the same port. This setup
mostly works fine, but from time to time (that varies, from once a
minute to one a half an hour), the connect(2) syscall fails with
EADDRINUSE. The connection rate tops to 50 connection
initiations/second.
This looks like the old (and probably well known) problem "ab" has.
("ab" is "apache benchmark", a utility which is bundled with apache and
which does repeated connections to the specified address, does
transactions and computes some statistics). AFAIK this behaviour was
present since at least 5.2, maybe earlier. No known fixes.
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: connect() returns EADDRINUSE during massive host->host conn rate
- From: Daniel Eischen
- Re: connect() returns EADDRINUSE during massive host->host conn rate
- References:
- connect() returns EADDRINUSE during massive host->host conn rate
- From: Jan Srzednicki
- connect() returns EADDRINUSE during massive host->host conn rate
- Prev by Date: Re: connect() returns EADDRINUSE during massive host->host conn rate
- Next by Date: Re: connect() returns EADDRINUSE during massive host->host conn rate
- Previous by thread: Re: connect() returns EADDRINUSE during massive host->host conn rate
- Next by thread: Re: connect() returns EADDRINUSE during massive host->host conn rate
- Index(es):
Relevant Pages
|
|