From fanf2@hermes.cam.ac.uk Thu Mar 10 13:58:39 2016 CC: "Tony Finch" MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-RT-Interface: API X-Cam-Antivirus: no malware found References: Message-ID: content-type: TEXT/PLAIN; charset="utf-8" X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk X-RT-Original-Encoding: utf-8 Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by bugs.isc.org (Postfix) with ESMTP id 6D52A71B5A8 for ; Thu, 10 Mar 2016 13:58:39 +0000 (UTC) Received: from ppsw-43.csi.cam.ac.uk (ppsw-43.csi.cam.ac.uk [131.111.8.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id 582D93493C0 for ; Thu, 10 Mar 2016 13:58:37 +0000 (UTC) Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:38046) by ppsw-43.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpa (EXTERNAL:fanf2) id 1ae16n-0007rN-oq (Exim 4.86_36-e07b163) (return-path ); Thu, 10 Mar 2016 13:58:33 +0000 Received: from fanf2 by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1ae16n-0000Qf-N3 (Exim 4.72) (return-path ); Thu, 10 Mar 2016 13:58:33 +0000 Delivered-To: bind9-bugs@bugs.isc.org Subject: Re: [ISC-Bugs #41908] Running out of ephemeral TCP ports User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Date: Thu, 10 Mar 2016 13:58:33 +0000 Sender: "Tony Finch" X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org To: "BIND9 Bugs via RT" X-Cam-Scannerinfo: http://www.cam.ac.uk/cs/email/scanner/ From: "Tony Finch" RT-Message-ID: Content-Length: 598 I have changed the health check script so it uses dig -b localhost @localhost which makes it set SO_REUSEADDR, and this allows its connections to succeed when they fail without the -b. That sort-of confirms my belief that this is a bug. There might be tuning I can do elsewhere to improve the situation... Tony. -- f.anthony.n.finch http://dotat.at/ Southeast Iceland: Southerly veering southwesterly 6 to gale 8, occasionally severe gale 9 in west. Rough or very rough, becoming very rough or high. Rain or snow, then snow showers. Moderate or good, occasionally very poor.