Date: Wed, 28 Nov 2007 19:36:29 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-stable@freebsd.org Cc: freebsd-net@freebsd.org Subject: Re: connect() returns EADDRINUSE during massive host->host conn rate Message-ID: <fikcff$nqd$1@ger.gmane.org> In-Reply-To: <20071127135320.GJ2045@oak.pl> References: <20071127135320.GJ2045@oak.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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 #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHTbUtldnAQVacBcgRAtmnAJ4g5xNa0PcYavYH8reVeIqEG9HlpACg/FyX
wpsRpl/p3OMi1UIbcH9uWQ4=
=3Sqe
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fikcff$nqd$1>
