From owner-freebsd-stable@FreeBSD.ORG Sun Oct 2 08:18:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4233C106566B for ; Sun, 2 Oct 2011 08:18:34 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4278FC0A for ; Sun, 2 Oct 2011 08:18:31 +0000 (UTC) Received: by ywp17 with SMTP id 17so3291813ywp.13 for ; Sun, 02 Oct 2011 01:18:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.192.231 with SMTP id i67mr80628596yhn.87.1317543511002; Sun, 02 Oct 2011 01:18:31 -0700 (PDT) Received: by 10.146.86.8 with HTTP; Sun, 2 Oct 2011 01:18:30 -0700 (PDT) In-Reply-To: <4E866A70.8060203@FreeBSD.org> References: <4E865146.8090108@FreeBSD.org> <20111001003735.GA28346@icarus.home.lan> <4E866A70.8060203@FreeBSD.org> Date: Sun, 2 Oct 2011 10:18:30 +0200 Message-ID: From: Damien Fleuriot To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick Subject: Re: 7.3 + kqueue + apache/php + DNS lookup problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2011 08:18:34 -0000 On 1 October 2011 03:18, Doug Barton wrote: > It's a php module doing a lookup for the hostname of the back-end mysql > server. > >> Are the delays always 3 seconds? > > Pretty much. > >> If so, that almost sounds like a timeout of some kind. > > That was my first thought, but the answer always comes eventually. > > To answer Chuck's questions, no threading is involved, and it's not > apache doing the lookups. > > > Doug > Check your bind/unbound logs to ensure the queries are actually successful on their first try. Is your DNS using forwarders ? views ?